This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Exceptions in 1.4 include a method StackTraceElement[] getStackTrace Rather than post and parse the stack trace, any exception internal to the IDE's JVM could be handled using this method - less work, faster, and opportunities for a much nicer UI. This is also useful for logging calls to deprecated methods and such, e.g. public void myDeprecatedMethod () { Exception e = new Exception(); try { throw e } catch (Exception e) {} StackTraceElement caller = e.getStackTrace()[1]; //output the warning, plus the class and line number of //the caller }
Internal execution is dead