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
[WFCORE-6346] Module java.base must open java.net package to all unnamed modules #5498
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -273,9 +273,11 @@ private void testJPMSArguments(final Collection<String> command, final int expec | |
assertArgumentExists(command, "--add-exports=java.naming/com.sun.jndi.url.ldap=ALL-UNNAMED", expectedCount); | ||
assertArgumentExists(command, "--add-exports=java.naming/com.sun.jndi.url.ldaps=ALL-UNNAMED", expectedCount); | ||
assertArgumentExists(command, "--add-exports=jdk.naming.dns/com.sun.jndi.dns=ALL-UNNAMED", expectedCount); | ||
assertArgumentExists(command, "--add-opens=java.base/java.lang=ALL-UNNAMED", expectedCount); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Seems as out of scope of this change. Double checking if this is intentional. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this is fine; this test is testing that the expected JVM modular options are also used when launching jar files or the server for the tests There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, this was just a missing assert that Rio took the opportunity to correct. |
||
assertArgumentExists(command, "--add-opens=java.base/java.lang.invoke=ALL-UNNAMED", expectedCount); | ||
assertArgumentExists(command, "--add-opens=java.base/java.lang.reflect=ALL-UNNAMED", expectedCount); | ||
assertArgumentExists(command, "--add-opens=java.base/java.io=ALL-UNNAMED", expectedCount); | ||
assertArgumentExists(command, "--add-opens=java.base/java.net=ALL-UNNAMED", expectedCount); | ||
assertArgumentExists(command, "--add-opens=java.base/java.security=ALL-UNNAMED", expectedCount); | ||
assertArgumentExists(command, "--add-opens=java.base/java.util=ALL-UNNAMED", expectedCount); | ||
assertArgumentExists(command, "--add-opens=java.base/java.util.concurrent=ALL-UNNAMED", expectedCount); | ||
|
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.
Is this intentional? Different open than java.net
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.
@mchoma This one should be fine, it was already there and down from L53 to keep it in the same order as it was declared in the other files