Skip to content
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/foreign/TestRestricted AssertionError @Restricted annotation not found for methods System.loadLibrary, System.load #20353

Closed
pshipton opened this issue Oct 15, 2024 · 2 comments · Fixed by #20367

Comments

@pshipton
Copy link
Member

https://openj9-jenkins.osuosl.org/job/Test_openjdknext_j9_sanity.openjdk_aarch64_mac_Personal_testList_1/6
jdk_foreign_1
java/foreign/TestRestricted.java

14:45:05  test TestRestricted.testRestricted(): failure
14:45:05  java.lang.AssertionError: @Restricted annotation not found for methods: [RestrictedMethod[owner=class java.lang.System, name=loadLibrary, type=(String)void], RestrictedMethod[owner=class java.lang.System, name=load, type=(String)void]]
14:45:05  	at org.testng.Assert.fail(Assert.java:99)
14:45:05  	at TestRestricted.testRestricted(TestRestricted.java:103)
Copy link

Issue Number: 20353
Status: Open
Recommended Components: comp:vm, comp:test, comp:jclextensions
Recommended Assignees: pshipton, jasonfengj9, chengjin01

pshipton added a commit to pshipton/openj9 that referenced this issue Oct 16, 2024
pshipton added a commit to pshipton/openj9 that referenced this issue Oct 16, 2024
pshipton added a commit to pshipton/openj9 that referenced this issue Oct 16, 2024
Copy link

Issue Number: 20353
Status: Closed
Actual Components: comp:vm, test failure, jdk24
Actual Assignees: No one :(
PR Assignees: pshipton

rmnattas pushed a commit to rmnattas/openj9 that referenced this issue Oct 18, 2024
rmnattas pushed a commit to rmnattas/openj9 that referenced this issue Nov 1, 2024
zl-wang pushed a commit to zl-wang/openj9 that referenced this issue Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant