-
Notifications
You must be signed in to change notification settings - Fork 76
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
Support Java 17 #246
Comments
@chengfang are you aware of this? |
Not sure if removing WildflySecurityManager will fully fix it. In WildFly, we use the workaround with jdk 17: <modular.jdk.args>
--add-exports=java.desktop/sun.awt=ALL-UNNAMED
--add-opens=java.base/java.io=ALL-UNNAMED
--add-opens=java.base/java.lang=ALL-UNNAMED
--add-opens=java.base/java.lang.invoke=ALL-UNNAMED
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED
--add-opens=java.base/java.security=ALL-UNNAMED
--add-opens=java.base/java.util=ALL-UNNAMED
--add-opens=java.base/java.util.concurrent=ALL-UNNAMED
--add-opens=java.management/javax.management=ALL-UNNAMED
--add-opens=java.naming/javax.naming=ALL-UNNAMED
</modular.jdk.args> https://github.com/wildfly/wildfly/blob/main/pom.xml#L169 It has not come up in JBeret till now. Is it possible to apply this workaround in quarkus-jberet? |
Already did and it works as expected. Actually, it only required the security module, but we may have runtime code not being hit requiring additional stuff. Are we fine with this, or do we want to eventually remove the need of opening these modules? |
I think using the above |
Any add opens is not a sensible workaround. Its a working workaround but let’s not consider it sensible :) |
It will be fixed via https://issues.redhat.com/browse/JBERET-570 and https://issues.redhat.com/browse/JBERET-572 |
Wondering if we should just remove the |
SecurityManager is still used in WildFy, EAP and many user apps, so will be preserved in jberet for now. |
+1 the security manager related stuff cannot be removed. In some environments the security manager is mandated. The spec itself even uses it. |
FYI, jberet 1.4.8.Final is released on 2022-07-27, which contains the fix for this issue, along with other improvements. |
One of the main issues right now is with the
WildflySecurityManager
.Maybe we should remove it altogether?
The text was updated successfully, but these errors were encountered: