United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-6759795 : test/tools/apt/Basic/print.sh may fail depending on jtreg options

Details
Type:
Bug
Submit Date:
2008-10-15
Status:
Closed
Updated Date:
2011-05-18
Project Name:
JDK
Resolved Date:
2011-05-18
Component:
tools
OS:
generic
Sub-Component:
apt
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports
Backport:

Sub Tasks

Description
test/tools/apt/Basic/print.sh is a golden file test.   It uses jtreg @build to compile a file Aggregate.java, and then uses apt to print it. The result is compared against a golden file.  The problem is that @build will use jtreg compiler options and so may or may not include -g. This affects the debugging info written to the class file, and so affects the apt outut.

The test should be rewritten to compile the file directly, and not use @build.

                                    

Comments
EVALUATION

Yes.
                                     
2008-10-15



Hardware and Software, Engineered to Work Together