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: 4109963
Votes 0
Synopsis REQ: ability to change permissions on a local file.
Category java:classes_io
Reported Against 1.2beta2
Release Fixed
State 11-Closed, duplicate of 4089881, request for enhancement
Priority: 4-Low
Related Bugs 4089881
Submit Date 06-FEB-1998
Description




I found the File.canWrite() and File.canRead() methods but there were no setWrite() or setRead() counterparts. I was hoping the 
new FilePermission class would solve this problem but it does not.
(Review ID: 24650)
======================================================================
Work Around




Write native code and use JNI.
======================================================================
Evaluation
N/A
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang