mbien commented on PR #8482: URL: https://github.com/apache/netbeans/pull/8482#issuecomment-2888400308
javac of JDK 25 ea b23 (also tested on b19-23) fails compiling ```java public class Mavenproject1 { public static boolean testOp36c() { return (Runtime.getRuntime() instanceof java.lang.Iterable); } } ``` ``` javac --release 25 Mavenproject1.java Mavenproject1.java:11: error: incompatible types: Runtime cannot be converted to Iterable return (Runtime.getRuntime() instanceof java.lang.Iterable); ``` note: it passes with `--release 24`. cc @lahodaj -- 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