DevCharly commented on PR #5337:
URL: https://github.com/apache/netbeans/pull/5337#issuecomment-1429755168

   > I hadn't seen the StackWalker API before; does it have advantages over 
Exception.getStackTrace?
   
   It should be faster: 
https://www.sitepoint.com/deep-dive-into-java-9s-stack-walking-api/
   But don't think that this would make a difference because it is not invoked 
very often here.
   
   I'm using StackWalker in FlatLaf for similar purposes here: [StackUtilsImpl 
for Java 
9+](https://github.com/JFormDesigner/FlatLaf/blob/main/flatlaf-core/src/main/java9/com/formdev/flatlaf/ui/StackUtilsImpl.java)
   Here is [StackUtilsImpl for Java 
8](https://github.com/JFormDesigner/FlatLaf/blob/main/flatlaf-core/src/main/java/com/formdev/flatlaf/ui/StackUtilsImpl.java)
 and base class 
[StackUtils](https://github.com/JFormDesigner/FlatLaf/blob/main/flatlaf-core/src/main/java/com/formdev/flatlaf/ui/StackUtils.java)


-- 
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