matthiasblaesing commented on PR #7983:
URL: https://github.com/apache/netbeans/pull/7983#issuecomment-2495993015
The warnings that cause this for the sample case @mbien described are:
```
"NodesAnnotationProcessor.java:119: Warnung: [deprecation]
SimpleAnnotationValueVisitor6() in
javax.lang.model.util.SimpleAnnotationValueVisitor6 ist veraltet
String clsName = type.accept(new
SimpleAnnotationValueVisitor6<String, Object>() {
^"
"NodesAnnotationProcessor.java:119: Warnung: [deprecation]
SimpleAnnotationValueVisitor6() in
javax.lang.model.util.SimpleAnnotationValueVisitor6 ist veraltet
String clsName = type.accept(new
SimpleAnnotationValueVisitor6<String, Object>() {
^"
"NBClassReader.java:123: Warnung: [unchecked] Nicht geprüfter Aufruf von
ForwardingJavaFileObject(F) als Mitglied des Raw-Typs
javax.tools.ForwardingJavaFileObject
c.classfile = new
ForwardingJavaFileObject(origFile) {
^"
"JavaHintsAnnotationProcessor.java:142: Warnung: [deprecation]
ElementScanner6() in javax.lang.model.util.ElementScanner6 ist veraltet
new ElementScanner6<Void, Void>() {
^"
"TestBase.java:409: Warnung: [deprecation] MIMEResolver() in
org.openide.filesystems.MIMEResolver ist veraltet
static class MIMEResolverImpl extends MIMEResolver {
^"
```
For these cases the new code path is hit, so from my POV this fixes the
issue. Thank you.
--
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