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: 6723138
Votes 0
Synopsis Change LocalRepositoryTest to not check read-only-ness on Windows
Category java:module
Reported Against
Release Fixed
State 7-Fix in Progress, bug
Priority: 2-High
Related Bugs 6728842 , 4939819
Submit Date 07-JUL-2008
Description
The fix for 4939819 causes a portion of LocalRepositoryTest to fail:
        boolean readOnlyChangeOK = (srcDir.setWritable(false) == true);
        repo.reload();
        if (readOnlyChangeOK) {
            check(repo.isReadOnly());
        }

The repo is not read-only, because setWritable's semantics have been changed on Windows.
Posted Date : 2008-07-07 17:21:20.0
Work Around
N/A
Evaluation
A fine idea.  Though the change in semantics of I/O methods is a little surprising.
Posted Date : 2008-07-07 17:43:38.0

http://webrev.invokedynamic.info/bristor/jrepo.02/
Posted Date : 2008-08-19 19:28:54.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang