rmuller opened a new issue, #8546: URL: https://github.com/apache/netbeans/issues/8546
### Apache NetBeans version Apache NetBeans 25 ### What happened Using Netbeans 26 with Java 23 and this code snippet: ``` public interface TenantContext { private static final Map<String, TenantContext> CACHE = new ConcurrentHashMap<>(); ``` This compiles fine (also from Netbeans), however the editor is showing an issue: "modifier private not allowed here" ### Language / Project Type / NetBeans Component _No response_ ### How to reproduce See above ### Did this work correctly in an earlier version? No / Don't know ### Operating System Ubuntu 22.o4 ### JDK openjdk 23.0.2 2025-01-21 / Zulu23.32+11-CA ### Apache NetBeans packaging Apache NetBeans binary zip ### Anything else _No response_ ### Are you willing to submit a pull request? No -- 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.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