JDK-4244032 : java.io.File.getAbsolutePath does not behave the same in JDK 1.1.7 and JDK 1.2
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.io
  • Affected Version: 1.2.0
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 1999-06-04
  • Updated: 1999-06-04
  • Resolved: 1999-06-04
Related Reports
Relates :  
Description

Name: rlT66838			Date: 06/04/99


java.File.getAbsolutePath() does not return a File.separator, i.e '/' or '\' on JDK2 (for Windows). 

java.File.getAbsolutePath() returns a File.separator in the end of the string in JDK 1.1.7B (for solaris)
(Review ID: 83879) 
======================================================================

Comments
WORK AROUND Name: rlT66838 Date: 06/04/99 Add a File.separator in the end of the string returned by the java.File.getAbsolutePath() . ======================================================================
11-06-2004

EVALUATION Will not fix. This incompatibility is a consequence of the general rewrite of java.io.File that was done in 1.2, and was documented on the 1.2 compatibility page at the time 1.2 was released. -- mr@eng 1999/6/4
06-07-0170