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: 6759810
Votes 0
Synopsis bad regression test causes source file to be deleted
Category java:compiler
Reported Against
Release Fixed 7(b39)
State 10-Fix Delivered, bug
Priority: 3-Medium
Related Bugs
Submit Date 15-OCT-2008
Description
From Maurizio:

*) My sanity script usually begins with a:
hg revert test/tools/javac/links/b/B.java

This is because of a buggy regression test - I think we discussed this a couple of time before; the essence is that if you clean through ant, ant will follow symbolic links and will end up in deleting B.java from the test/ folder! This is why I check for the presence of B.java before executing regression tests.
Posted Date : 2008-10-15 17:33:36.0
Work Around
N/A
Evaluation
Tests should not cause source files to be deleted
Posted Date : 2008-10-15 17:33:36.0

The fix is simply to move the target of the symbolic link to a new tmp directory
in the jtreg scratch directory.
Posted Date : 2008-10-15 23:47:32.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang