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

Proxy doesn't work without module system initialization #260

Closed
yuvaraj-anbarasan opened this issue Aug 18, 2020 · 1 comment
Closed

Proxy doesn't work without module system initialization #260

yuvaraj-anbarasan opened this issue Aug 18, 2020 · 1 comment

Comments

@yuvaraj-anbarasan
Copy link
Contributor

The following is the exception thrown by proxy tests, testBasicProxy and testAnnoProxy,

gov.nasa.jpf.vm.NoUncaughtExceptionsProperty
java.lang.InternalError: Proxy is not supported until module system is fully initialized
	at java.lang.reflect.Proxy$ProxyBuilder.<init>(Proxy.java:616)
	at java.lang.reflect.Proxy$ProxyBuilder.<init>(Proxy.java:635)
	at java.lang.reflect.Proxy.lambda$getProxyConstructor$0(Proxy.java:415)
	at java.lang.reflect.Proxy$0.apply
	at jdk.internal.loader.AbstractClassLoaderValue$Memoizer.get(AbstractClassLoaderValue.java:329)
	at jdk.internal.loader.AbstractClassLoaderValue.computeIfAbsent(AbstractClassLoaderValue.java:205)
	at java.lang.reflect.Proxy.getProxyConstructor(Proxy.java:413)
	at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:1006)
	at gov.nasa.jpf.test.vm.reflection.ProxyTest.testAnnoProxy(ProxyTest.java:88)
	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)

#259

@quadhier
Copy link
Collaborator

quadhier commented Jul 13, 2023

Hi @cyrille-artho and @pparizek, Proxy has been supported since #356. Maybe we could close this issue now.

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

3 participants