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

Failure attempting to build with latest AOJDK JDK9+OJ9 release #248

Closed
ben-walsh opened this issue Apr 9, 2019 · 3 comments
Closed

Failure attempting to build with latest AOJDK JDK9+OJ9 release #248

ben-walsh opened this issue Apr 9, 2019 · 3 comments
Labels

Comments

@ben-walsh
Copy link

Build fails with following ...

build-javah:
    [mkdir] Created dir: /home/walshbp/system_test_work/git/openjdk-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink/native/lib
     [echo] Building JNI header files for JniTest to /home/walshbp/system_test_work/git/openjdk-systemtest/openjdk.test.modularity/bin/tests/com.test.jlink/native/lib
     [exec] 
     [exec] Warning: The javah tool is planned to be removed in the next major
     [exec] JDK release. The tool has been superseded by the '-h' option added
     [exec] to javac in JDK 8. Users are recommended to migrate to using the
     [exec] javac '-h' option; see the javac man page for more information.
     [exec] 
     [exec] Error: Could not find class file for 'adoptopenjdk.test.modularity.jlink.JniTest'.

BUILD FAILED
/home/walshbp/system_test_work/git/openjdk-systemtest/openjdk.build/build.xml:58: The following error occurred while executing this line:
/home/walshbp/system_test_work/git/openjdk-systemtest/openjdk.test.modularity/build.xml:333: exec returned: 1

Total time: 1 minute 50 seconds
makefile:556: recipe for target 'build' failed
makefile:555: *** [build] Error 1

#0  build at /home/walshbp/system_test_work/git/openjdk-systemtest/openjdk.build/makefile:555

Java version info ...

walshbp@bendev:~/system_test_work/git/openjdk-systemtest/openjdk.build$ $JAVA_HOME/bin/java -version
openjdk version "9.0.4-adoptopenjdk"
OpenJDK Runtime Environment (build 9.0.4-adoptopenjdk+12)
Eclipse OpenJ9 VM (build openj9-0.9.0, JRE 9 Linux amd64-64-Bit Compressed References 20180814_248 (JIT enabled, AOT enabled)
OpenJ9   - 24e53631
OMR      - fad6bf6e
JCL      - feec4d2ae based on jdk-9.0.4+12)
@Mesbah-Alam
Copy link
Contributor

In your job output, what's the value shown for the property java9_java_specification_version?

@karianna karianna added the bug label Apr 10, 2019
@Mesbah-Alam
Copy link
Contributor

@ben-walsh - is it still an issue? If not, can we close it?

@Mesbah-Alam
Copy link
Contributor

Closing this issue at this point since we are not running test on JDK 9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants