hg: jdk7/tl/langtools: 6900037: javac should warn if earlier -source is used and bootclasspath not set

jonathan.gibbons at oracle.com jonathan.gibbons at oracle.com
Mon Nov 29 14:16:10 PST 2010


Changeset: c44234f680da
Author:    jjg
Date:      2010-11-29 14:15 -0800
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/c44234f680da

6900037: javac should warn if earlier -source is used and bootclasspath not set
Reviewed-by: darcy

! src/share/classes/com/sun/tools/javac/code/Lint.java
! src/share/classes/com/sun/tools/javac/file/JavacFileManager.java
! src/share/classes/com/sun/tools/javac/file/Paths.java
! src/share/classes/com/sun/tools/javac/main/JavaCompiler.java
! src/share/classes/com/sun/tools/javac/main/Main.java
! src/share/classes/com/sun/tools/javac/nio/JavacPathFileManager.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
! src/share/classes/com/sun/tools/javac/util/BaseFileManager.java
! test/tools/javac/6341866/T6341866.java
! test/tools/javac/ClassFileModifiers/MemberModifiers.java
+ test/tools/javac/T6900037.java
+ test/tools/javac/T6900037.out
! test/tools/javac/TryWithResources/PlainTry.java
! test/tools/javac/annotations/neg/Dep.java
! test/tools/javac/diags/examples/AnnotationsNotSupported.java
! test/tools/javac/diags/examples/AssertAsIdentifier.java
! test/tools/javac/diags/examples/DiamondNotSupported.java
! test/tools/javac/diags/examples/EnumAsIdentifier.java
! test/tools/javac/diags/examples/EnumsNotSupported.java
! test/tools/javac/diags/examples/Expected2.java
! test/tools/javac/diags/examples/ForeachNotSupported.java
! test/tools/javac/diags/examples/GenericsNotSupported.java
! test/tools/javac/diags/examples/MulticatchNotSupported.java
! test/tools/javac/diags/examples/NeitherConditionalSubtype.java
+ test/tools/javac/diags/examples/SourceNoBootclasspath.java
! test/tools/javac/diags/examples/StaticImportNotSupported.java
! test/tools/javac/diags/examples/StringSwitchNotSupported.java
! test/tools/javac/diags/examples/TryResourceNotSupported.java
! test/tools/javac/diags/examples/TryWithoutCatchOrFinally.java
! test/tools/javac/diags/examples/UnsupportedBinaryLiteral.java
! test/tools/javac/diags/examples/UnsupportedFpLit.java
! test/tools/javac/diags/examples/UnsupportedUnderscoreLiteral.java
! test/tools/javac/diags/examples/VarargsNotSupported.java
! test/tools/javac/enum/6384542/T6384542.java
! test/tools/javac/enum/6384542/T6384542a.java
! test/tools/javac/literals/BadBinaryLiterals.java
! test/tools/javac/literals/BadUnderscoreLiterals.java
! test/tools/javac/processing/warnings/TestSourceVersionWarnings.java
! test/tools/javac/varargs/warning/Warn1.java




More information about the security-dev mailing list