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.

Bug 258727

Summary: Understand and interpret new JDK9 stacktrace format
Product: projects Reporter: Martin Balin <mbalin>
Component: AntAssignee: Tomas Zezula <tzezula>
Status: RESOLVED FIXED    
Severity: normal CC: michaelxmcmahon, tzezula
Priority: P2 Keywords: JDK_9
Version: 8.2   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Martin Balin 2016-04-08 13:28:20 UTC
JDK9 introduced new format of stack traces which contains also modulename. It is in format: 
fully.qualified.class.name(module_name/classname.java:<line_number>
E.g.
Exception in thread "main" java.lang.NullPointerException: Test
	at org.lib2.JigsawLib2.getName(jigsawlib2/JigsawLib2.java:18)
	at modularjigsaw.ModularJigsaw.main(modularjigsaw/ModularJigsaw.java:32)

Where:
org.lib2.JigsawLib2.getName is package name, class name, method name
(jigsawlib2/JigsawLib2.java:18) is module name/java class name: line number
Comment 1 Tomas Zezula 2016-05-16 13:37:39 UTC
Fixed jet-main 6a395bc399d6
Comment 2 Quality Engineering 2016-10-11 01:58:56 UTC
Integrated into 'main-silver', will be available in build *201610110002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/6a395bc399d6
User: Tomas Zezula <tzezula@netbeans.org>
Log: #258727:Understand and interpret new JDK9 stacktrace format