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: 6487488
Votes 0
Synopsis TEST_BUG: Something in test/java/lang/instrument creates a copy of an SCCS dir
Category java:serviceability
Reported Against
Release Fixed 7(b26)
State 10-Fix Delivered, bug
Priority: 3-Medium
Related Bugs
Submit Date 28-OCT-2006
Description
And putback wants to putback the files in the SCCS dir:

putback -n
 
create: test/java/lang/instrument/AA_regtest.solaris-sparc/JTwork/scratch/bootpath/bootreporter/StringIdCallback.java
create: test/java/lang/instrument/AA_regtest.solaris-sparc/JTwork/scratch/bootpath/bootreporter/StringIdCallbackReporter.java
create: test/java/lang/instrument/AA_regtest.solaris-sparc/JTwork/scratch/ilib/ClassDump.java
create: test/java/lang/instrument/AA_regtest.solaris-sparc/JTwork/scratch/ilib/ClassReaderWriter.java
create: test/java/lang/instrument/AA_regtest.solaris-sparc/JTwork/scratch/ilib/Info.java
create: test/java/lang/instrument/AA_regtest.solaris-sparc/JTwork/scratch/ilib/Inject.java
create: test/java/lang/instrument/AA_regtest.solaris-sparc/JTwork/scratch/ilib/InjectBytecodes.java
create: test/java/lang/instrument/AA_regtest.solaris-sparc/JTwork/scratch/ilib/Injector.java
create: test/java/lang/instrument/AA_regtest.solaris-sparc/JTwork/scratch/ilib/Options.java
create: test/java/lang/instrument/AA_regtest.solaris-sparc/JTwork/scratch/ilib/RuntimeConstants.java

Looks like this is the culprit:

MakeJAR2.sh:cp -r ${TESTSRC}/ilib .
MakeJAR2.sh:cp -r ${TESTSRC}/bootreporter bootpath
Posted Date : 2006-10-28 03:10:46.0

This bug in MakeJAR2.sh affects the following tests:

    java/lang/instrument/NativeMethodPrefixAgent.java
    java/lang/instrument/RetransformAgent.java
Posted Date : 2008-02-21 06:11:39.0
Work Around
N/A
Evaluation
Creating extra SCCS s-dot files is a bad thing. It looks like
for this to happen you have to either "retain" results from
the JavaTest/JTREG run or perhaps interrupt a run in the middle
of the tests that call MakeJAR2.sh. In any case, the "cp -r" is
a bit blunt and should be fixed.
Posted Date : 2008-02-07 18:34:48.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang