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 251501 - AntBridge sets system property "java.class.path"
Summary: AntBridge sets system property "java.class.path"
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-30 10:13 UTC by Tomas Hurka
Modified: 2015-04-03 03:07 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Hurka 2015-03-30 10:13:33 UTC

    
Comment 1 Tomas Hurka 2015-03-30 10:17:46 UTC
AntBridge sets System.property "java.class.path" and breaks profiling of NetBeans.

Steps to reproduce:
1) Start NetBeans #1 and run java project via ant integration.
2) Start NetBeans #2 and profile NetBeans #1 via dynamic attach
3) NetBeans Profiler cannot load classes loaded by system classloader.
Comment 2 Tomas Hurka 2015-03-30 10:21:43 UTC
This was introduced as part of the bug fix #46171. It looks like corresponding issue in Ant was fixed a long time ago and so this workaround can be removed.
Comment 3 Tomas Zezula 2015-04-01 16:37:20 UTC
The fix of the issue #46171 is no more needed to load the custom ant tasks.
Fixed jet-main 7edef149cbb0
Comment 4 Quality Engineering 2015-04-03 03:07:16 UTC
Integrated into 'main-silver', will be available in build *201504030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/7edef149cbb0
User: Tomas Zezula <tzezula@netbeans.org>
Log: #251501:AntBridge sets system property "java.class.path"