jdk10 on macOS

Jonathan Gibbons jonathan.gibbons at oracle.com
Fri Jan 5 20:36:51 UTC 2018


That sounds like a problem using an older build of jtreg, from the Adopt 
OpenJDK group. The tell-tale evidence is the Class-Path entry in the 
jtreg.jar MANIFEST.MF file:  does that entry include asmtools.jar?

There have been build changes for jtreg recently, that should have 
addressed this problem. If nothing else, it is now much easier to build 
jtreg yourself. The only external components you need are Ant and a 
recent JDK, such as JDK 8. Everything else will be downloaded, and built 
if necessary.

-- Jon


On 1/5/18 12:21 PM, Alan Snyder wrote:
> I am trying to build jdk10 on macOS 10.12.6. I got the basic build to work, but some tests fail.
>
> Most of the test failures complain about not finding jasm or jcoder. This is odd because I downloaded jtreg-4.2-b11, which includes these classes, and the classpath appears to be correct in the log.
>
> I got an error from StringPlatformChars, which could find native code. Could be the same jasm problem but not reported as such.
>
> I got an error from NewUnsafeString, did not use provided string.
>




More information about the build-dev mailing list