matthiasblaesing commented on pull request #2761:
URL: https://github.com/apache/netbeans/pull/2761#issuecomment-787094888


   @jtulach @jlahoda I'm not sure, but I think I seen an issue with the module 
path in netbeans with this change (I don't think the change is broken, just 
another adjustment, that is needed).
   
   I can build NetBeans with JDK 8 and JDK 11 and system ant just fine. So it 
is not a general problem, but when opening netbeans modules in the IDE, I see 
issues.
   
   I run a build from current master and open the project 
`openide.util.lookup`. When the IDE is loaded on JDK 8, the modules can be 
rebuild using "Clean and Build" from the context menu. 
   
   ```
   Compiling 31 source files to 
/home/matthias/src/netbeans/platform/openide.util.lookup/build/classes
   Ignoring source, target and bootclasspath as release has been set
   error: release version 8 not supported
   Usage: javac <options> <source files>
   use --help for a list of possible options
   ```
   
   I tracked this down into the java compiler source in (I used git sources 
from jdk-11+28):
   
   
src/jdk.compiler/share/classes/com/sun/tools/javac/platform/PlatformUtils.java
   
   If I understand it correctly, the list of PlatformProviders is empty, while 
it should at least provide `com.sun.tools.javac.platform.JDKPlatformProvider`.
   
   I have some hope that one of you two has an idea how to fix this.


----------------------------------------------------------------
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.

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

Reply via email to