problem building opnJdk 11 at Linux

Moshe Zuisman zuismanm at gmail.com
Thu May 16 16:53:49 UTC 2019


I have a problem building opnJdk 11 at Linux.

When I run :

make test



I get:



*Building target 'test' in configuration
'linux-x86_64-normal-server-release'*

*Warning: No mercurial configuration present and no .src-rev*

*Compiling 27 files for BUILD_FAILURE_HANDLER*

*/data1/controlm/jdk11-1ddf9a99e4ad/test/failure_handler/src/share/classes/jdk/test/failurehandler/jtreg/GatherDiagnosticInfoObserver.java:123:
error: no suitable method found for save(Map<CAP#1,CAP#2>)*

*        rp.save(map);*

*          ^*

*    method InterviewParameters.save(File) is not applicable*

*      (argument mismatch; Map<CAP#1,CAP#2> cannot be converted to File)*

*    method InterviewParameters.save(Map<String,String>) is not applicable*

*      (argument mismatch; Map<CAP#1,CAP#2> cannot be converted to
Map<String,String>)*

*  where CAP#1,CAP#2 are fresh type-variables:*

*    CAP#1 extends Object from capture of ?*

*    CAP#2 extends Object from capture of ?*

*Note: Some input files use or override a deprecated API.*

*Note: Recompile with -Xlint:deprecation for details.*

*Note: Some messages have been simplified; recompile with -Xdiags:verbose
to get full output*

*1 error*

*gmake[3]: ***
[/data1/controlm/jdk11-1ddf9a99e4ad/build/linux-x86_64-normal-server-release/support/test/failure_handler/classes/_the.BUILD_FAILURE_HANDLER_batch]
Error 1*

*gmake[2]: *** [build-test-failure-handler] Error 1*

*gmake[2]: *** Waiting for unfinished jobs....*



*ERROR: Build failed for target 'test' in configuration
'linux-x86_64-normal-server-release' (exit code 2)*

*Stopping sjavac server*



*=== Output from failing command(s) repeated here ===*

** For target
support_test_failure_handler_classes__the.BUILD_FAILURE_HANDLER_batch:*

*/data1/controlm/jdk11-1ddf9a99e4ad/test/failure_handler/src/share/classes/jdk/test/failurehandler/jtreg/GatherDiagnosticInfoObserver.java:123:
error: no suitable method found for save(Map<CAP#1,CAP#2>)*

*        rp.save(map);*

*          ^*

*    method InterviewParameters.save(File) is not applicable*

*      (argument mismatch; Map<CAP#1,CAP#2> cannot be converted to File)*

*    method InterviewParameters.save(Map<String,String>) is not applicable*

*      (argument mismatch; Map<CAP#1,CAP#2> cannot be converted to
Map<String,String>)*

*  where CAP#1,CAP#2 are fresh type-variables:*

*    CAP#1 extends Object from capture of ?*

*    CAP#2 extends Object from capture of ?*

*Note: Some input files use or override a deprecated API.*

*Note: Recompile with -Xlint:deprecation for details.*

*   ... (rest of output omitted)*



** All command lines available in
/data1/controlm/jdk11-1ddf9a99e4ad/build/linux-x86_64-normal-server-release/make-support/failure-logs.*

*=== End of repeated output ===*



*No indication of failed target found.*

*Hint: Try searching the build log for '] Error'.*

*Hint: See doc/building.html#troubleshooting for assistance.*



*make[1]: *** [main] Error 1*

*make: *** [test] Error 2*



More information about the build-dev mailing list