mrj760 commented on issue #8475: URL: https://github.com/apache/netbeans/issues/8475#issuecomment-2843256210
Try this. Sorry, my original cause was incorrect. It is in type switches.  ``` private class Foo { private int field1, field2; private static int stat1, stat2; private void doFoo(int param) { switch(this) { case Foo foo -> { field1 = 5; field2 = 10; } } } private void doFooStat(int param) { switch(this) { case Foo foo -> { stat1 = 5; stat2 = 10; } } } } ``` -- 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
