United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6724327 eliminate use of shell tests for simple golden file tests
JDK-6724327 : eliminate use of shell tests for simple golden file tests

Details
Type:
Bug
Submit Date:
2008-07-09
Status:
Closed
Updated Date:
2011-05-18
Project Name:
JDK
Resolved Date:
2011-05-18
Component:
tools
OS:
generic
Sub-Component:
javac
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports
Backport:

Sub Tasks

Description
The following 18 shell tests appear to be golden file tests, and could be simplified to use jtreg built-in golden file facilities:

tl/langtools/test/tools/javac/InnerNamedConstant_2.sh
tl/langtools/test/tools/javac/NonStaticFieldExpr3.sh
tl/langtools/test/tools/javac/CyclicInheritance.sh
tl/langtools/test/tools/javac/fatalErrors/NoJavaLang.sh
tl/langtools/test/tools/javac/SynchronizedClass.sh
tl/langtools/test/tools/javac/depDocComment/DeprecatedDocComment.sh
tl/langtools/test/tools/javac/NonStaticFieldExpr2.sh
tl/langtools/test/tools/javac/4846262/Test.sh
tl/langtools/test/tools/javac/QualifiedAccess/QualifiedAccess_3.sh
tl/langtools/test/tools/javac/QualifiedAccess/QualifiedAccess_2.sh
tl/langtools/test/tools/javac/QualifiedAccess/QualifiedAccess_1.sh
tl/langtools/test/tools/javac/FloatingPointChanges/BadConstructorModifiers.sh
tl/langtools/test/tools/javac/6302184/T6302184.sh
tl/langtools/test/tools/javac/ExtendsAccess/ExtendsAccess.sh
tl/langtools/test/tools/javac/NestedInnerClassNames.sh
tl/langtools/test/tools/javac/LocalClasses_2.sh
tl/langtools/test/tools/javac/NonStaticFieldExpr1.sh
tl/langtools/test/tools/javac/NameCollision.sh

                                    

Comments
EVALUATION

Rewrite tests to use jtreg /ref= mechanism.
                                     
2008-07-09
EVALUATION

The following tests were fixed:

tl/langtools/test/tools/javac/InnerNamedConstant_2.sh DONE
tl/langtools/test/tools/javac/NonStaticFieldExpr3.sh DONE
tl/langtools/test/tools/javac/CyclicInheritance.sh DONE
tl/langtools/test/tools/javac/SynchronizedClass.sh DONE
tl/langtools/test/tools/javac/depDocComment/DeprecatedDocComment.sh DONE
tl/langtools/test/tools/javac/NonStaticFieldExpr2.sh DONE
tl/langtools/test/tools/javac/QualifiedAccess/QualifiedAccess_3.sh DONE
tl/langtools/test/tools/javac/QualifiedAccess/QualifiedAccess_2.sh DONE
tl/langtools/test/tools/javac/QualifiedAccess/QualifiedAccess_1.sh DONE
tl/langtools/test/tools/javac/FloatingPointChanges/BadConstructorModifiers.sh DONE
tl/langtools/test/tools/javac/ExtendsAccess/ExtendsAccess.sh DONE
tl/langtools/test/tools/javac/NestedInnerClassNames.sh DONE
tl/langtools/test/tools/javac/LocalClasses_2.sh DONE
tl/langtools/test/tools/javac/NonStaticFieldExpr1.sh DONE
tl/langtools/test/tools/javac/NameCollision.sh DONE

These 3 were not done because they are not directly suitable for
jtreg golden file tests:

tl/langtools/test/tools/javac/4846262/Test.sh NOT DONE
tl/langtools/test/tools/javac/fatalErrors/NoJavaLang.sh  NOT DONE
tl/langtools/test/tools/javac/6302184/T6302184.sh NOT DONE
                                     
2008-07-10



Hardware and Software, Engineered to Work Together