-
-
Notifications
You must be signed in to change notification settings - Fork 314
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
JDK 24+ don't enable security manager and disable failing tests #5817
Conversation
ced9f92
to
242b0dd
Compare
The remaining failures are due to use of the SecurityManager library in the system test framework. I opened adoptium/STF#142 and will temporarily disable the failing tests. |
3769dc2
to
cd8c92e
Compare
This is ready for review fyi @llxia |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
system/system.mk
Outdated
@@ -47,14 +47,15 @@ else | |||
OPENJ9_PRAM="" | |||
endif | |||
|
|||
# In JDK 24+ any attempts to enable the security manager will result in an error |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This sentence is missing a period.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
Signed-off-by: Theresa Mammarella <[email protected]>
…from framework Signed-off-by: Theresa Mammarella <[email protected]>
…d from framework Signed-off-by: Theresa Mammarella <[email protected]>
cd8c92e
to
c4d631b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
In JEP 486 for Java 24 any attempt to enable a security manager (such as -Djava.security.manager=allow) will result in an error. This change removes the use of java.security.manager=allow from JDK 24+.
The system test framework also has uses the security manager for load tests that needs to be removed. In the meantime this change disables tests that are failing because of it. See adoptium/STF#142