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

   ### Apache NetBeans version
   
   Apache NetBeans 26
   
   ### What happened
   
   Since version 26 if I want to include a logger into my classfile Netbeans 
creates something like
   
   ```
   private static final System.Logger LOG = 
System.getLogger(MyClass.class.getName());
   ```
   
   in previous versions this was 
   
   ```
   import java.util.logging.Logger;
   ...
   private static final Logger LOG = Logger.getLogger(MyClass.class.getName());
   ```
   
   Is there any reason to change it? Is there a way to get back the old 
behavior?
   
   However, it is quite annoying since we use the standard java.util.logging 
implementation and System.Logger only gives limited access to it.
   
   
   
   ### Language / Project Type / NetBeans Component
   
   _No response_
   
   ### How to reproduce
   
   add Logger to class
   
   ### Did this work correctly in an earlier version?
   
   Apache NetBeans 25
   
   ### Operating System
   
   Windows 11
   
   ### JDK
   
   24 maven runs on 17
   
   ### 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

Reply via email to