Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6891707
Votes 0
Synopsis Eliminate the java.io.FilePermission dependency on PolicyFile
Category java:classes_io
Reported Against
Release Fixed 7(b75)
State 10-Fix Delivered, request for enhancement
Priority: 4-Low
Related Bugs
Submit Date 14-OCT-2009
Description
java.io.FilePermission calls sun.security.provider.PolicyFile.canonPath() to convert a path to canonical path.  This dependency shall be eliminated.

java.io.FilePermission$1     -> sun.security.provider.PolicyFile (null)
Posted Date : 2009-10-14 21:43:48.0
Work Around
N/A
Evaluation
Refactor out the canonPath method in another class.

Since the canonPath method has only 7 lines of code, perhaps we could just duplicate the code in FilePermission.
Posted Date : 2009-10-14 21:46:08.0

http://hg.openjdk.java.net/jdk7/tl/jdk/rev/16e4bbb7488d
Posted Date : 2009-10-16 04:46:33.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang