mbien commented on PR #8572:
URL: https://github.com/apache/netbeans/pull/8572#issuecomment-3046371322
noticed during code scanner smoke test:
```java
public static void main(String[] args) {
new WeakReference<>(null) {
private Object hardRef = null;
};
}
```
will now cause a
```
modifier sealed not allowed here
```
javac error. `WeakReference` is `non-sealed`. Not sure if this is intended,
but its not nb-specific.
--
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