JDK-4105595 : AppletViewer doesn't recognize UNC names
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 1.2.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_95
  • CPU: x86
  • Submitted: 1998-01-21
  • Updated: 2001-08-10
  • Resolved: 1999-10-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.3.0 kestrelFixed
Related Reports
Relates :  
Description
Appletviewer, javac, java, etc (tools in the /bin directory) don't accept UNC pathnames as arguments.  (UNC is a naming convention used by Win95 and WinNT for specifying paths without specifying a mapped drive letter...i.e.  instead of saying e:\jse\files\target.java, you would specify in UNC format...  \\jse\files\target.java.  Currently, 

javac e:\jse\files\target.java		//this works

javac \\jse\files\target.java		//this doesn't work

This functionality should be added in order to provide full support for the Win32 platform.  This is also needed for our test efforts.  We are currently using Solstice PCNFS client (which uses UNC names) to run automated tests over the network

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: generic kestrel FIXED IN: kestrel INTEGRATED IN: kestrel
14-06-2004

EVALUATION It looks like URL is going to need some work before Appletviewer is going to be able to handle UNC names. james.mcilree@Eng 1998-07-02 After mr@eng did the fix to make File understand UNC pathnames, the javac example cited in the description works. Appletviewer still doesn't work -- it tries to add the pwd to the UNC name, dunno why. So I am changing the Synopsis to reflect that this is an appletviewer problem only. anand.palaniswamy@Eng 1998-09-24 The problem here is in URL, not in the appletviewer. The appletviewer takes URLs on the command line, not filenames, and apparently the URL class can't cope with the duplicate leading slashes in UNC filenames. -- mr@eng 1998/9/25 [mayank.upadhyay@eng 1999-09-30] See evaluation and fix for 4180841. It fixed this problem as well.
09-06-0191