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

funtional tests fail to compile on xlinux, package jdk.crac.management is not visible #19786

Closed
pshipton opened this issue Jun 28, 2024 · 4 comments
Labels
comp:test criu Used to track CRIU snapshot related work

Comments

@pshipton
Copy link
Member

https://hyc-runtimes-jenkins.swg-devops.com/job/Test_openjdk17_j9_sanity.functional_x86-64_linux_testList_0/685/

09:27:48      [javac] Compiling 70 source files to /home/jenkins/workspace/Test_openjdk17_j9_sanity.functional_x86-64_linux_testList_0/aqa-tests/functional/JLM_Tests/bin
09:27:50      [javac] /home/jenkins/workspace/Test_openjdk17_j9_sanity.functional_x86-64_linux_testList_0/aqa-tests/functional/JLM_Tests/src/org/openj9/test/java/lang/management/TestCRaCMXBean.java:26: error: package jdk.crac.management is not visible
09:27:50      [javac] import jdk.crac.management.CRaCMXBean;
09:27:50      [javac]                ^
09:27:50      [javac]   (package jdk.crac.management is declared in module jdk.management, which does not export it)
09:27:51      [javac] /home/jenkins/workspace/Test_openjdk17_j9_sanity.functional_x86-64_linux_testList_0/aqa-tests/functional/JLM_Tests/src/org/openj9/test/java/lang/management/TestCRaCMXBean.java:79: error: method does not override or implement a method from a supertype
09:27:51      [javac] 		@Override
09:27:51      [javac] 		^
09:27:51      [javac] /home/jenkins/workspace/Test_openjdk17_j9_sanity.functional_x86-64_linux_testList_0/aqa-tests/functional/JLM_Tests/src/org/openj9/test/java/lang/management/TestCRaCMXBean.java:84: error: method does not override or implement a method from a supertype
09:27:51      [javac] 		@Override
09:27:51      [javac] 		^
09:27:51      [javac] /home/jenkins/workspace/Test_openjdk17_j9_sanity.functional_x86-64_linux_testList_0/aqa-tests/functional/JLM_Tests/src/org/openj9/test/java/lang/management/TestCRaCMXBean.java:89: error: method does not override or implement a method from a supertype
09:27:51      [javac] 		@Override
09:27:51      [javac] 		^
@pshipton pshipton changed the title funtional tests fail to compile on xlinux package jdk.crac.management is not visible funtional tests fail to compile on xlinux, package jdk.crac.management is not visible Jun 28, 2024
@pshipton
Copy link
Member Author

@tajila @JasonFengJ9 @LongyuZhang any ideas what is wrong?

@pshipton pshipton added comp:test criu Used to track CRIU snapshot related work and removed test failure labels Jun 28, 2024
@LongyuZhang
Copy link
Contributor

Might be related to PR #19542 was not cherry-picked into v0.46.0-release. This PR is regarding adding
--add-exports jdk.management/jdk.crac.management=ALL-UNNAMED
But the v0.46.0-release branch code doesn't have it (code link)

@LongyuZhang
Copy link
Contributor

Created cherry-pick PR link for the commits, in case it is needed.

@pshipton
Copy link
Member Author

pshipton commented Jul 3, 2024

#19787 resolved the test compilation problem.

@pshipton pshipton closed this as completed Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:test criu Used to track CRIU snapshot related work
Projects
None yet
Development

No branches or pull requests

2 participants