nmatt opened a new issue, #9474:
URL: https://github.com/apache/netbeans/issues/9474

   ### Apache NetBeans version
   
   Apache NetBeans 30
   
   ### What happened
   
   This is a generalization of issue #9444. Another affected warning is 
"overloads"; in all likelihood there are more. The javac documentation lists 
the suppressable warnings here: 
https://docs.oracle.com/en/java/javase/24/docs/specs/man/javac.html#option-Xlint-custom.
 The corresponding resource keys can be found here: 
https://github.com/openjdk/jdk/blob/master/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties.
   
   ### Language / Project Type / NetBeans Component
   
   Java, Hints
   
   ### How to reproduce
   
   Below is an example for reproducing an "overloads" warning. However, in this 
issue I am aiming for a more general fix to supporting all javac warnings, in 
order to avoid having to create a new issue every time another unsupported 
warning occurs in practice.
   
   ```javac
   import java.util.function.IntConsumer;
   import java.util.function.LongConsumer;
   
   interface Example
   {
       void method(IntConsumer cs);
       void method(LongConsumer a);
   }
   ```
   
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Windows
   
   ### JDK
   
   JDK 21
   
   ### 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: [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

Reply via email to