Bug 214155 - Incorrect "install area" URI when using UNC
Incorrect "install area" URI when using UNC
Product: platform
Classification: Unclassified
Component: Netigso
PC Windows XP
: P3 (vote)
Assigned To: Jaroslav Tulach
Depends on:
Blocks: 213562
  Show dependency treegraph
Reported: 2012-06-13 21:28 UTC by Jesse Glick
Modified: 2012-11-06 11:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT


Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2012-06-13 21:28:18 UTC
Noticed in log file:

INFO [org.netbeans.modules.netbinox]: Install area set to file:///vboxsvr/space/src/nb/main/nbbuild/netbeans/

Clearly this is wrong; File.toURI would have given file:////vboxsvr/space/src/nb/main/nbbuild/netbeans/ and Path.toUri would have given file://vboxsvr/space/src/nb/main/nbbuild/netbeans/, but file:///vboxsvr/space/src/nb/main/nbbuild/netbeans/ corresponds to a nonexistent folder C:\vboxsvr\space\src\nb\main\nbbuild\netbeans.

Not sure what the practical impact would be, but consider whether NetbinoxFactory.toFileURL should be written differently.
Comment 1 Jaroslav Tulach 2012-11-06 11:17:55 UTC
Looks like the practical impact is not huge.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo