mazhen
mazhen
感谢你的喜欢,注明转载出处即可
> Wow, I thought I am the only one who uses that ;-) And yeah, that's what I always have to do, change those env properties. I did learn from...
> @mz1999 Your solution is very similar to what I experimented with here: https://github.com/OmniFish-EE/glassfish-grizzly-virtual-threads-pool > > I was also thinking of adding some limitation on the maximum virtual threads running...
You can package jna-5.12.1.jar in your application. If it is a web application, you can place jna-5.12.1.jar in `WEB-INF/lib` directory. Then add the following configuration to `glassfish-web.xml`: ```xml ... ......
My understanding is that the ideal goal here is to eliminate the need for `--add-opens=java.base/java.lang=ALL-UNNAMED` altogether. And if all defineClass calls were using the anchor-class based lookup.defineClass – the JPMS-compatible...
Thanks for the update! Sounds like a big job, lots to do. I'd be happy to contribute and have some time available to assist if you think it would be...
I ran the test case `org.glassfish.main.extras.embedded.test.all.deployment.webapp.RemoteWebAppDeploymentITest` using the branch [OndroMih:ondromih-jpms-defineClass](https://github.com/OndroMih/glassfish/tree/ondromih-jpms-defineClass), and encountered a `ClassCastException`. This exception is thrown by `PortableRemoteObject.narrow` in the [EJBUtils.lookupRemote30BusinessObject](https://github.com/OndroMih/glassfish/blob/3e8556316990229f141e628eaaf742a8a10bce74/appserver/ejb/ejb-container/src/main/java/com/sun/ejb/EJBUtils.java#L283) method: ```java public static Object lookupRemote30BusinessObject(Object jndiObj,...