errael commented on issue #4651: URL: https://github.com/apache/netbeans/issues/4651#issuecomment-1253151305
There's `userdir/config/Services/Platforms/org-netbeans-api-java-Platform/Zulu_18.0.2.1_1.xml` which is full of data even though it should be considered invalid, consider the ERROR color in the `Java Platforms` dialog because it can't file the file, didn't see where things got set to red. Looks like the In the log there's ``` WARNING [org.netbeans.modules.java.j2seplatform.platformdefinition.J2SEPlatformImpl]: No sun.boot.class.path property in platform Zulu 18.0.2.1+1, broken platform? ``` In `J2SEPlatformImpl` there's `getJ2SEPlatformDefaultSources` which serves up the platforms. Consider that the platform's dialog says ``` Error: The specified folder does not contain a Java platform. If you want to specify a different folder for this platform, remove this platform and create a new one with exactly the same name pointing to the correct platform folder. ``` I'm wondering if stripping everything from a platform xml file that doesn't have an install directory, except a few things that it could display that it's broken. I sure seems like the hint processor thinks it's working with a real jdk installation. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
