mbien commented on PR #6329: URL: https://github.com/apache/netbeans/pull/6329#issuecomment-1857867731
@lahodaj @matthiasblaesing i believe this causes another regression take the following snippet: ```java import java.util.stream.Gatherers; public class SingleFileProgram { public static void main(String[] args) { System.out.println(Gatherers.class); } } ``` open it in NB 20 started on JDK 22ea (build 27+ required) - you should see a hint suggesting to enable preview, run that hint - everything should be fine, errors will go away repeat with master started on JDK 22ea - hint will successfully add the `--enable-preview --source 22` line to the file properties - however, the errors will not go away, even after NB restart - (small followup bug: running the hint again will now add another `--enable-preview` flag to the properties) -- 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: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists