mbien commented on PR #7188: URL: https://github.com/apache/netbeans/pull/7188#issuecomment-2043389595
I tracked it down to this which returns null: https://github.com/apache/netbeans/blob/8cc521507422cad90825088b15aeec23d1c2276b/java/java.source.base/src/org/netbeans/modules/java/source/parsing/JavacParser.java#L960 https://github.com/apache/netbeans/blob/8cc521507422cad90825088b15aeec23d1c2276b/java/java.source.base/src/org/netbeans/modules/java/source/parsing/JavacParser.java#L1098-L1100 because validatedSourceLevel is the same as the requested source level. If I let it return the requested source level instead of null, the javac task will set relaese and there will be error badges, however this causes exceptions somewhere else. Lets not do that. Going to merge, thanks for the reviews. -- 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
