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 214135

Summary: nbjunit not UNC-safe
Product: platform Reporter: Jesse Glick <jglick>
Component: NB JUnitAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED FIXED    
Severity: normal CC: jtulach
Priority: P3    
Version: 7.2   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 213562    

Description Jesse Glick 2012-06-13 13:37:56 UTC
Several classes in nbjunit use File.toURI and/or File.<init>(URI), and tests correspondingly explode when run over UNC. Since it cannot depend on openide.util, needs to copy methods from Utilities.

(For a similar reason, it has its own copy of FileUtil.normalizeFile. Really would be better to have a little module of JDK replacement utilities with no dependencies that could be used anywhere.)
Comment 1 Jesse Glick 2012-06-13 22:02:06 UTC
Not in 7.2.
Comment 2 Jaroslav Tulach 2012-11-27 14:27:28 UTC
ergonomics#5656b02a088d
Comment 3 Quality Engineering 2012-11-30 02:39:30 UTC
Integrated into 'main-golden', will be available in build *201211300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/5656b02a088d
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #214135: More ready for UNC paths