Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect type resolution results in wrong method being called #246

Closed
yuvaraj-anbarasan opened this issue Jul 30, 2020 · 0 comments
Closed

Comments

@yuvaraj-anbarasan
Copy link
Contributor

ClassLoader getResources method fails because of incorrect type resolution

java.lang.NoSuchMethodError: [Ljava.lang.String;.add(Ljava/lang/Object;)Z
	at java.lang.ClassLoader$0.accept
	at java.util.Iterator.forEachRemaining(Iterator.java:133)
	at java.lang.ClassLoader.getResources(ClassLoader.java:110)
	at java.lang.ClassLoader.getResources(ClassLoader.java:112)
	at gov.nasa.jpf.test.java.lang.ClassLoaderTest.testGetResourcesImpl(ClassLoaderTest.java:147)
	at gov.nasa.jpf.test.java.lang.ClassLoaderTest.testGetResources(ClassLoaderTest.java:44)
	at java.lang.reflect.Method.invoke(gov.nasa.jpf.vm.JPF_java_lang_reflect_Method)
	at gov.nasa.jpf.util.test.TestJPF.runTestMethod(TestJPF.java:648)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant