Hi David. 2 questions.
1. I as was told here - downloaded JDK sources from http://hg.openjdk.java.net/jdk-updates/jdk11u/ <http://hg.openjdk.java.net/jdk-updates/jdk11u/> . I can not perform "hg update -r jdk-11.0.2-ga", since I get: " "abort: no repository found in '/cygdrive/c/jdk11u-11.0.2-ga' (.hg not found)!" " And really - in director, that I get after extracting there is not ".hg" 2. When I took jtreg 4.2-b12, most tests passes, but I still fail at: *D rectory "C:\jdk11u-11.0.2-ga\build\windows-x86_64-normal-server-release\testoutput\jaxp_all\JTwork" not found: creating^M Directory "C:\jdk11u-11.0.2-ga\build\windows-x86_64-normal-server-release\testoutput\jaxp_all\JTreport" not found: creating^M Error: Unexpected exception occurred! java.lang.NoSuchMethodError: com.sun.javatest.regtest.agent.JDK_Version.compareTo(Lcom/sun/javatest/regtest/agent/JDK_Version;)I^M java.lang.NoSuchMethodError: com.sun.javatest.regtest.agent.JDK_Version.compareTo(Lcom/sun/javatest/regtest/agent/JDK_Version;)I^M at com.sun.javatest.regtest.config.JDK.getSystemModules(JDK.java:405)^M at com.sun.javatest.regtest.config.RegressionParameters.getModulesFilter(RegressionParameters.java:202)^M at com.sun.javatest.regtest.config.RegressionParameters.getRelevantTestFilter(RegressionParameters.java:177)^M at com.sun.javatest.InterviewParameters.getFilters(InterviewParameters.java:767)^M at com.sun.javatest.Harness.createTreeIterator(Harness.java:811)^M at com.sun.javatest.Harness.runTests(Harness.java:701)^M at com.sun.javatest.Harness.batch(Harness.java:400)^M at com.sun.javatest.regtest.tool.Tool.batchHarness(Tool.java:1824)^M at com.sun.javatest.regtest.tool.Tool.run(Tool.java:1216)^M at com.sun.javatest.regtest.tool.Tool.run(Tool.java:962)^M at com.sun.javatest.regtest.tool.Tool.main(Tool.java:134)^M at com.sun.javatest.regtest.Main.main(Main.java:58)^M Missing file: C:/jdk11u-11.0.2-ga/build/windows-x86_64-normal-server-release/testoutput/jaxp_all/JTreport/text/summary.txt EXIT CODE: 6* ср, 5 июн. 2019 г. в 02:25, David Holmes <david.hol...@oracle.com>: > On 5/06/2019 2:20 am, Moshe Zuisman wrote: > > Hi. Thank for your recomendation! > > Although I did not success to run "hg update -r jdk-11.0.2-ga" - got : > > "abort: no repository found in '/cygdrive/c/jdk11u-11.0.2-ga' (.hg not > > found)!" > > I don't know how you are "cloning" things but you are not getting an > actual mercurial repository out of the process! > > > But since I from begining cloned jdk-11.0.2 label form site - I suppose > > it gives equavalent result. > > > > And finally I was able to pass compilation (make) > > But "make test" fails any where: > > to get it clear form begening - I donladed latest stabel jtreg and > > configured with it: > > ./configure --with-jtreg=/cygdrive/c/jtreg > > Latest jtreg may not be suitable for 11u. The specified version > (make/conf/jib-profiles.js) is 4.2-b12 > > David > ----- > > > /$ make test > > Building target 'test' in configuration > > 'windows-x86_64-normal-server-release' > > Warning: No mercurial configuration present and no .src-rev > > Compiling 31 files for BUILD_JRTFS > > Compiling 27 files for BUILD_FAILURE_HANDLER > > Creating support/test/failure_handler/timeoutHandler.dll from 1 file(s) > > Creating support/modules_libs/java.base/jrt-fs.jar > > > c:\jdk11u-11.0.2-ga\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 > > make[3]: *** [BuildFailureHandler.gmk:54: > > > /cygdrive/c/jdk11u-11.0.2-ga/build/windows-x86_64-normal-server-release/support/test/failure_handler/classes/_the.BUILD_FAILURE_HANDLER_batch] > > > Error 1 > > make[2]: *** [make/Main.gmk:516: build-test-failure-handler] Error 2 > > make[2]: *** Waiting for unfinished jobs.... > > > > ERROR: Build failed for target 'test' in configuration > > 'windows-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: > > > c:\jdk11u-11.0.2-ga\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 > > > /cygdrive/c/jdk11u-11.0.2-ga/build/windows-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]: *** [/cygdrive/c/jdk11u-11.0.2-ga/make/Init.gmk:305: main] > Error 2 > > make: *** [/cygdrive/c/jdk11u-11.0.2-ga/make/Init.gmk:186: test] Error 2 > > / > > > > пн, 3 июн. 2019 г. в 10:20, David Holmes <david.hol...@oracle.com > > <mailto:david.hol...@oracle.com>>: > > > > On 3/06/2019 5:06 pm, Moshe Zuisman wrote: > > > Hi. > > > Probably I do not understand something in source control system > > of Open > > > JDK projeck. > > > I have gone to : > > > https://hg.openjdk.java.net/jdk/jdk11 > > > and clicked last label: > > > "9 months ago jwilhelm Added tag jdk-11+28 for changeset > > > 76072a077ee1default tip" > > > arrived to: > > > https://hg.openjdk.java.net/jdk/jdk11/rev/1ddf9a99e4ad > > > and downloaded zip with sources. > > > > Thats JDK 11 GA version. > > > > > How have I to download latest fixed source of JDK 11.0.2? > > > > 11.0.2 is one of the JDK 11 update releases. You previously indicated > > that you were using 11u sources at: > > > > http://hg.openjdk.java.net/jdk-updates/jdk11u/rev/a23d4b4ea281 > > > > which seems to be a somewhat arbitrary point in 11u development. If > you > > want a specific release, rather than latest dev sources then use the > > appropriate tag to update your sources to that level: > > > > http://hg.openjdk.java.net/jdk-updates/jdk11u/tags > > > > So if you clone > > > > http://hg.openjdk.java.net/jdk-updates/jdk11u/ > > > > then do: > > > > hg update -r jdk-11.0.2-ga > > > > that should get you to the final 11.0.2 sources. > > > > That all said, the fix Kim was referring to appears to have gone into > > 11u 3 months before the date of the sources you indicated you were > > using. > > > > Hope that helps. > > > > David > > ----- > > > > > > > > пн, 3 июн. 2019 г. в 00:34, Kim Barrett <kim.barr...@oracle.com > > <mailto:kim.barr...@oracle.com> > > > <mailto:kim.barr...@oracle.com <mailto:kim.barr...@oracle.com>>>: > > > > > > > On Jun 2, 2019, at 4:20 PM, Moshe Zuisman > > <zuism...@gmail.com <mailto:zuism...@gmail.com> > > > <mailto:zuism...@gmail.com <mailto:zuism...@gmail.com>>> > wrote: > > > > > > > > Hi David. > > > > I have updated to Visual studio 2017 15.9.12. > > > > Build still fails, while now works much longer and pass > > much more > > > steps: > > > > > > > > > > > > > > > details.c:/Git_Repos/open_jdk_11/jdk11-1ddf9a99e4ad/jdk11-1ddf9a99e4ad/src/hotspot/share/runtime/flags/jvmFlagRangeList.cpp(341): > > > > error C2220: warning treated as error -o 'object' file > > > > > > > > > > > generatedc:/Git_Repos/open_jdk_11/jdk11-1ddf9a99e4ad/jdk11-1ddf9a99e4ad/src/hotspot/share/runtime/flags/jvmFlagRangeList.cpp(341): > > > > warning C4305: 'argument': truncation fm 'const intx' to > > > 'double'make[3]: > > > > *** [lib/CompileJvm.gmk:151: > > > > > > > > > > > /cygdrive/c/Git_Repos/open_jdk_11/jdk11-1ddf9a99e4ad/jdk11-1ddf9a99e4ad/build/windows-x86_64-normal-server-release/hotspot/riant-server/libjvm/objs/jvmFlagRangeList.obj] > > > > Error 1make[3]: *** Waiting for unfinished > > jobs....make[2]: *** > > > > > > This looks like JDK-8212052, which is marked as fixed in JDK > > 11.0.2. > > > > > > > > >