JDK 24+ don't enable security manager and disable failing tests#5817
Merged
smlambert merged 3 commits intoadoptium:masterfrom Dec 17, 2024
Merged
JDK 24+ don't enable security manager and disable failing tests#5817smlambert merged 3 commits intoadoptium:masterfrom
smlambert merged 3 commits intoadoptium:masterfrom
Conversation
ced9f92 to
242b0dd
Compare
Contributor
Author
|
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
Contributor
Author
|
This is ready for review fyi @llxia |
pshipton
requested changes
Dec 17, 2024
system/system.mk
Outdated
| OPENJ9_PRAM="" | ||
| endif | ||
|
|
||
| # In JDK 24+ any attempts to enable the security manager will result in an error |
Member
There was a problem hiding this comment.
This sentence is missing a period.
Signed-off-by: Theresa Mammarella <Theresa.T.Mammarella@ibm.com>
…from framework Signed-off-by: Theresa Mammarella <Theresa.T.Mammarella@ibm.com>
…d from framework Signed-off-by: Theresa Mammarella <Theresa.T.Mammarella@ibm.com>
cd8c92e to
c4d631b
Compare
pshipton
approved these changes
Dec 17, 2024
This was referenced Jan 28, 2025
judovana
pushed a commit
to judovana/aqa-tests
that referenced
this pull request
Mar 11, 2025
…tium#5817) * Remove java.security.manager=allow from JDK 24 Signed-off-by: Theresa Mammarella <Theresa.T.Mammarella@ibm.com> * Disable failing sanity system tests until SecurityManager is removed from framework Signed-off-by: Theresa Mammarella <Theresa.T.Mammarella@ibm.com> * Disable failing extended system tests until SecurityManager is removed from framework Signed-off-by: Theresa Mammarella <Theresa.T.Mammarella@ibm.com> --------- Signed-off-by: Theresa Mammarella <Theresa.T.Mammarella@ibm.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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