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 259165

Summary: Debug of non-modular app fails on Windows
Product: java Reporter: Martin Balin <mbalin>
Component: ProjectAssignee: Tomas Zezula <tzezula>
Status: RESOLVED FIXED    
Severity: normal Keywords: JDK_9
Priority: P1    
Version: 8.2   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description Martin Balin 2016-05-09 07:42:27 UTC
Using JDK9 branch build 20160509 and JDK9 EA b116 on Win 7.

Debug of non modular app GUIFormExamples does not work. Following error is printed to console:
debug:
Non-existing path "C:\Program Files\NetBeans Dev 201605090404\${modulepath}" provided.
C:\Users\mbalin\AppData\Local\NetBeans\Cache\dev\executor-snippets\debug.xml:182: The following error occurred while executing this line:
C:\Users\mbalin\AppData\Local\NetBeans\Cache\dev\executor-snippets\debug.xml:160: Unknown attributes [modulename, modulepath]
BUILD FAILED (total time: 0 seconds)
============

Build and Run works. 
When module-info.java is added then debugging works.
This NB build has already Ant 1.9.7 integrated.
Comment 1 Tomas Zezula 2016-05-16 08:44:02 UTC
Fixed jet-main f6d8fd0d14b8
Comment 2 Quality Engineering 2016-10-11 01:58:52 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/f6d8fd0d14b8
User: Tomas Zezula <tzezula@netbeans.org>
Log: #259165:Debug of non-modular app fails on Windows