-
Notifications
You must be signed in to change notification settings - Fork 741
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
jdk24 java/security/Security/ConfigFileTest FileNotFoundException scratch/3/ConfigFileTest/properties/extra���.properties #20357
Comments
Issue Number: 20357 |
@theresa-m Assigning it to you since it is related to the Security Manager. |
This looks like a string encoding issue. OpenJDK introduced some changes to reading security properties with Java 24 openjdk/jdk#16483. The The test creates a properties file with a special character in the name and passes it in to a new process as a jvm argument
|
perm issue eclipse-openj9/openj9#21016 temp issues eclipse-openj9/openj9#20357 eclipse-openj9/openj9#21017 eclipse-openj9/openj9#21018 eclipse-openj9/openj9#21019 Signed-off-by: Peter Shipton <[email protected]>
Exclude it via adoptium/aqa-tests#5912 |
perm issue eclipse-openj9/openj9#21016 temp issues eclipse-openj9/openj9#20357 eclipse-openj9/openj9#21017 eclipse-openj9/openj9#21018 eclipse-openj9/openj9#21019 Signed-off-by: Peter Shipton <[email protected]>
This test is failing because J9 is using ASCII as the default encoding for macos and the J9 reads the argument starting https://github.com/eclipse-openj9/openj9/blob/master/runtime/vm/vmprops.c#L1419 and the call to This seems incorrect to me because at least on my machine a standalone call to Adding |
I see that setting @pshipton I see you've worked on encoding issues previously, can you recommend a way to resolve this? I'm wondering if J9 should be using utf8 as the default setting for all platforms (https://github.com/eclipse-openj9/openj9/blob/master/runtime/vm/vmprops.c#L1419) due to JEP 400? |
It seems to be working as designed. Does Adoptium have a different behavior? |
Yes OpenJDK builds pass this test. |
We need to figure out what is different. I looked on Linux instead of Mac, but setting |
I'm getting different results on Mac, I think the problem is only on this platform. It looks like OpenJDK has set |
Ok, we can make that change for OpenJ9 too. |
This issue has been resolved by #21170 and adoptium/aqa-tests#5967 |
perm issue eclipse-openj9/openj9#21016 temp issues eclipse-openj9/openj9#20357 eclipse-openj9/openj9#21017 eclipse-openj9/openj9#21018 eclipse-openj9/openj9#21019 Signed-off-by: Peter Shipton <[email protected]>
https://openj9-jenkins.osuosl.org/job/Test_openjdknext_j9_sanity.openjdk_aarch64_mac_Personal_testList_2/6
jdk_security1_1
java/security/Security/ConfigFileTest.java
The text was updated successfully, but these errors were encountered: