You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to use the virtual box sdk on Java 21, we get the following exception:
Exception in thread "Thread-5" jdk.internal.org.objectweb.asm.MethodTooLargeException: Method too large: jdk/proxy2/$Proxy89.<clinit> ()V
at java.base/jdk.internal.org.objectweb.asm.MethodWriter.computeMethodInfoSize(MethodWriter.java:2120)
at java.base/jdk.internal.org.objectweb.asm.ClassWriter.toByteArray(ClassWriter.java:543)
at java.base/java.lang.reflect.ProxyGenerator.generateClassFile(ProxyGenerator.java:506)
at java.base/java.lang.reflect.ProxyGenerator.generateProxyClass(ProxyGenerator.java:178)
at java.base/java.lang.reflect.Proxy$ProxyBuilder.defineProxyClass(Proxy.java:544)
at java.base/java.lang.reflect.Proxy$ProxyBuilder.build(Proxy.java:657)
at java.base/java.lang.reflect.Proxy.lambda$getProxyConstructor$1(Proxy.java:440)
at java.base/jdk.internal.loader.AbstractClassLoaderValue$Memoizer.get(AbstractClassLoaderValue.java:329)
at java.base/jdk.internal.loader.AbstractClassLoaderValue.computeIfAbsent(AbstractClassLoaderValue.java:205)
at java.base/java.lang.reflect.Proxy.getProxyConstructor(Proxy.java:438)
at java.base/java.lang.reflect.Proxy.newProxyInstance(Proxy.java:1034)
at com.sun.xml.ws.client.WSServiceDelegate$3.run(WSServiceDelegate.java:720)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:319)
at com.sun.xml.ws.client.WSServiceDelegate.createProxy(WSServiceDelegate.java:716)
at com.sun.xml.ws.client.WSServiceDelegate.createEndpointIFBaseProxy(WSServiceDelegate.java:797)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:426)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:392)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:373)
at jakarta.xml.ws.Service.getPort(Service.java:139)
at org.virtualbox_7_0.jaxws.VboxService.getVboxServicePort(VboxService.java:56)
at org.virtualbox_7_0.PortPool.getPort(VirtualBoxManager.java:151)
at org.virtualbox_7_0.PortPool.preinit(VirtualBoxManager.java:120)
at org.virtualbox_7_0.PortPool.access$200(VirtualBoxManager.java:73)
at org.virtualbox_7_0.PortPool$1.run(VirtualBoxManager.java:97)
at java.base/java.lang.Thread.run(Thread.java:1583)
The service endpoint interface it tries to generate the proxy for is very large. It has 1832 methods. However, this used to work fine with Java 17. Note, we transformed the virtualbox sdk jar to make it compatible with Jakarta EE.
The text was updated successfully, but these errors were encountered:
When trying to use the virtual box sdk on Java 21, we get the following exception:
The service endpoint interface it tries to generate the proxy for is very large. It has 1832 methods. However, this used to work fine with Java 17. Note, we transformed the virtualbox sdk jar to make it compatible with Jakarta EE.
The text was updated successfully, but these errors were encountered: