This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 252780 - The jdk.xml.-jdk-preinit does not work on JDK 9
Summary: The jdk.xml.-jdk-preinit does not work on JDK 9
Status: NEW
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 8.1
Hardware: All All
: P2 normal (vote)
Assignee: pgebauer
Keywords: JDK_9, NO81
Depends on:
Reported: 2015-06-03 16:24 UTC by Tomas Zezula
Modified: 2015-09-23 11:00 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Zezula 2015-06-03 16:24:49 UTC
The jdk.xml's target -jdk-preinit does not correctly detect JDK version.
It uses <available> task with boot class path and disabled parent system class loader.
The problem is that JDK 9 has no boot class path. None of searched classes is found and all the properties have-jdk-* are false.
Comment 1 pgebauer 2015-08-05 11:53:06 UTC
Where can I find more info about a successor of the boot class path in JDK 9? In other words where can I find a description of changes regarding the boot class path in JDK 9?
Comment 2 Tomas Zezula 2015-08-21 13:27:27 UTC
Unfortunately it's no so easy. In the JDK 9 there is no boot class path. There is an image file (not jar) with zips. Currently there is no Ant task able to read it.