hg: valhalla/valhalla/langtools: 227 new changesets

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Thu Apr 23 14:35:02 UTC 2015


Changeset: 7193d3fefda6
Author:    rfield
Date:      2014-10-04 10:13 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/7193d3fefda6

8056051: int[]::clone causes "java.lang.NoClassDefFoundError: Array"
Reviewed-by: mcimadamore, vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
+ test/tools/javac/lambda/MethodReferenceArrayClone.java

Changeset: a0125e2a10e8
Author:    alundblad
Date:      2014-10-07 21:15 +0200
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/a0125e2a10e8

8056258: Analysis of public API does not take super classes into account
8048609: simplify sjavac dependence on javac dependency gathering
Summary: Replaces Attr-/ResolveWithDeps with TaskListeners
Reviewed-by: jfranck, ohrstrom

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java
! src/jdk.compiler/share/classes/com/sun/tools/sjavac/Util.java
! src/jdk.compiler/share/classes/com/sun/tools/sjavac/client/SjavacClient.java
- src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/AttrWithDeps.java
- src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/ResolveWithDeps.java
! src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/SjavacImpl.java
+ src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/dependencies/Dependency.java
+ src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/dependencies/DependencyCollector.java
+ src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/dependencies/DependencyScanner.java
+ src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/dependencies/PackageDependency.java
+ src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/dependencies/TypeAndSupertypesDependency.java
+ test/tools/sjavac/DependencyCollection.java
+ test/tools/sjavac/IncCompInheritance.java
+ test/tools/sjavac/SjavacBase.java
+ test/tools/sjavac/test-input/src/nondependency/pkg26/Cls26.java
+ test/tools/sjavac/test-input/src/pkg/Test.java
+ test/tools/sjavac/test-input/src/pkg10/Cls10.java
+ test/tools/sjavac/test-input/src/pkg11/Cls11.java
+ test/tools/sjavac/test-input/src/pkg12/Cls12.java
+ test/tools/sjavac/test-input/src/pkg13/Cls13.java
+ test/tools/sjavac/test-input/src/pkg14/Cls14.java
+ test/tools/sjavac/test-input/src/pkg15/Cls15.java
+ test/tools/sjavac/test-input/src/pkg16/Cls16.java
+ test/tools/sjavac/test-input/src/pkg17/Cls17.java
+ test/tools/sjavac/test-input/src/pkg18/Cls18.java
+ test/tools/sjavac/test-input/src/pkg19/Cls19.java
+ test/tools/sjavac/test-input/src/pkg2/Cls2.java
+ test/tools/sjavac/test-input/src/pkg20/Anno20.java
+ test/tools/sjavac/test-input/src/pkg21/Cls21.java
+ test/tools/sjavac/test-input/src/pkg22/Anno22.java
+ test/tools/sjavac/test-input/src/pkg23/Cls23.java
+ test/tools/sjavac/test-input/src/pkg24/Cls24.java
+ test/tools/sjavac/test-input/src/pkg25/Cls25.java
+ test/tools/sjavac/test-input/src/pkg27/Cls27.java
+ test/tools/sjavac/test-input/src/pkg28/Cls28.java
+ test/tools/sjavac/test-input/src/pkg29/Cls29.java
+ test/tools/sjavac/test-input/src/pkg3/Cls3.java
+ test/tools/sjavac/test-input/src/pkg30/Cls30.java
+ test/tools/sjavac/test-input/src/pkg4/Cls4.java
+ test/tools/sjavac/test-input/src/pkg5/Anno5.java
+ test/tools/sjavac/test-input/src/pkg6/Cls6.java
+ test/tools/sjavac/test-input/src/pkg7/Cls7.java
+ test/tools/sjavac/test-input/src/pkg8/Cls8.java
+ test/tools/sjavac/test-input/src/pkg9/Cls9.java

Changeset: 69d7812dabcc
Author:    alundblad
Date:      2014-10-07 21:21 +0200
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/69d7812dabcc

8059349: Public API scanning should be implemented in the form of a TaskListener
Summary: Replaces JavaCompilerWithDeps with a TaskListener.
Reviewed-by: jfranck

! src/jdk.compiler/share/classes/com/sun/tools/javac/main/JavaCompiler.java
- src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/JavaCompilerWithDeps.java
+ src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/PathAndPackageVerifier.java
- src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/SjavacErrorHandler.java
! src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/SjavacImpl.java
+ src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/dependencies/PublicApiCollector.java
+ test/tools/sjavac/PackagePathMismatch.java

Changeset: 089e1adc7136
Author:    jlahoda
Date:      2014-10-09 10:08 +0200
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/089e1adc7136

8057652: Request to improve error messages for labeled declarations
Summary: Parse labeled statements as block statements to improve error recovery for labeled declarations; related cleanup.
Reviewed-by: jjg

! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java
! test/tools/javac/LabeledDeclaration.java
! test/tools/javac/LabeledDeclaration.out

Changeset: b8e7bbdd8064
Author:    lana
Date:      2014-10-09 12:17 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/b8e7bbdd8064

Merge

- src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/AttrWithDeps.java
- src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/JavaCompilerWithDeps.java
- src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/ResolveWithDeps.java
- src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/SjavacErrorHandler.java

Changeset: bb82b0f45269
Author:    katleman
Date:      2014-10-16 12:02 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/bb82b0f45269

Added tag jdk9-b35 for changeset b8e7bbdd8064

! .hgtags

Changeset: 6a9c87edb6ff
Author:    jjg
Date:      2014-10-09 19:14 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/6a9c87edb6ff

8060043: Rename Locations.Path to Locations.SearchPath
Reviewed-by: ksrini

! src/jdk.compiler/share/classes/com/sun/tools/javac/file/Locations.java

Changeset: 338eb81007d7
Author:    sogoel
Date:      2014-10-10 14:41 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/338eb81007d7

8058410: Group 10b: golden files for tests in tools/javac dir
Reviewed-by: jjg

+ test/tools/javac/7129225/NegTest.out
- test/tools/javac/7129225/NegTest.ref
! test/tools/javac/7129225/TestImportStar.java
+ test/tools/javac/7129225/TestImportStar.out
- test/tools/javac/7129225/TestImportStar.ref
! test/tools/javac/QualifiedAccess/QualifiedAccess_4.java
+ test/tools/javac/QualifiedAccess/QualifiedAccess_4.out
! test/tools/javac/T4848619/T4848619a.java
+ test/tools/javac/T4848619/T4848619a.out
! test/tools/javac/T4848619/T4848619b.java
+ test/tools/javac/T4848619/T4848619b.out
! test/tools/javac/scope/6225935/Estatico4.java
+ test/tools/javac/scope/6225935/Estatico4.out
! test/tools/javac/scope/6225935/T6214959.java
+ test/tools/javac/scope/6225935/T6214959.out
! test/tools/javac/warnings/DepAnn.java
+ test/tools/javac/warnings/DepAnn.out
! test/tools/javac/warnings/Finally.java
+ test/tools/javac/warnings/Finally.out
! test/tools/javac/warnings/Serial.java
+ test/tools/javac/warnings/Serial.out

Changeset: a65be7dd80f8
Author:    pgovereau
Date:      2014-10-13 11:21 -0400
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/a65be7dd80f8

8058243: Reduce size of bytecode for large switch statements
Reviewed-by: jjg, vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java

Changeset: b5d44ecef54d
Author:    jlahoda
Date:      2014-10-13 17:22 +0200
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/b5d44ecef54d

8054956: Javac reports wrong error offset for unknown identifier of annotation element/value pair
Summary: When reporting an error about unresolvable annotation attribute, use the position of the explicit left-hand-side of the assignment if available, otherwise use the position of the right-hand-side.
Reviewed-by: jfranck

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Annotate.java
! test/tools/javac/annotations/neg/Recovery1.out
! test/tools/javac/positions/TreeEndPosTest.java

Changeset: 9e6a9d5a3551
Author:    pgovereau
Date:      2014-10-13 12:12 -0400
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/9e6a9d5a3551

8060234: Fix push for JDK-8058243
Reviewed-by: jjg, vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java
+ test/tools/javac/SwitchMetricTest.java

Changeset: 76b58486b9d5
Author:    pgovereau
Date:      2014-10-13 17:09 -0400
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/76b58486b9d5

8060249: Backout fix for JDK-8058243
Reviewed-by: vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java
- test/tools/javac/SwitchMetricTest.java

Changeset: 103d3df93bbd
Author:    mcimadamore
Date:      2014-10-14 12:00 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/103d3df93bbd

8058199: Code generation problem with javac skipping a checkcast instruction
Summary: TransTypes sometimes ignores inferred signatures when emitting synthetic casts
Reviewed-by: vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransTypes.java
+ test/tools/javac/generics/inference/8058199/T8058199.java

Changeset: 6f666e88a0f4
Author:    mcimadamore
Date:      2014-10-14 12:01 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/6f666e88a0f4

8058511: StackOverflowError at com.sun.tools.javac.code.Types.lub
Summary: Lub crashes when handling typevar with array bound
Reviewed-by: vromero, dlsmith

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
+ test/tools/javac/generics/inference/8058511/T8058511a.java
+ test/tools/javac/generics/inference/8058511/T8058511b.java
+ test/tools/javac/generics/inference/8058511/T8058511c.java

Changeset: 01ea1efef3ea
Author:    jjg
Date:      2014-10-16 14:31 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/01ea1efef3ea

8040131: Implement classfile test for LineNumberTable attribute.
Reviewed-by: jjg, shurailine

+ test/tools/javac/classfiles/attributes/LineNumberTable/Container.java
+ test/tools/javac/classfiles/attributes/LineNumberTable/LineNumberTest.java
+ test/tools/javac/classfiles/attributes/LineNumberTable/LineNumberTestBase.java
+ test/tools/javac/classfiles/attributes/LineNumberTable/TestCase.java

Changeset: b07ff0ef1ba1
Author:    lana
Date:      2014-10-16 14:15 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/b07ff0ef1ba1

Merge

- test/tools/javac/7129225/NegTest.ref
- test/tools/javac/7129225/TestImportStar.ref

Changeset: c536541235e5
Author:    lana
Date:      2014-10-16 14:55 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/c536541235e5

Merge


Changeset: 315237c6b5e4
Author:    katleman
Date:      2014-10-23 11:19 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/315237c6b5e4

Added tag jdk9-b36 for changeset c536541235e5

! .hgtags

Changeset: bf8500822576
Author:    emc
Date:      2014-10-21 09:01 -0400
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/bf8500822576

8054457: Refactor Symbol kinds from small ints to an enum
Summary: Replace bitmap logic in symbol.kind and pkind with an enum-based API
Reviewed-by: mcimadamore, jjg

! make/build.properties
! make/tools/crules/MutableFieldsAnalyzer.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/api/JavacTrees.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/ClassFinder.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Kinds.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Printer.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symbol.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symtab.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Type.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/TypeAnnotations.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Annotate.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/DeferredAttr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Enter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Flow.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Infer.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/MemberEnter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransTypes.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassWriter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/JNIWriter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Pool.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/main/JavaCompiler.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/model/AnnotationProxyMaker.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/model/JavacElements.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/model/JavacTypes.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/sym/CreateSymbols.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeInfo.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeMaker.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/RichDiagnosticFormatter.java
! src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/dependencies/TypeAndSupertypesDependency.java
! src/jdk.javadoc/share/classes/com/sun/tools/javadoc/AnnotationTypeDocImpl.java
! src/jdk.javadoc/share/classes/com/sun/tools/javadoc/ClassDocImpl.java
! src/jdk.javadoc/share/classes/com/sun/tools/javadoc/JavadocEnter.java
! src/jdk.javadoc/share/classes/com/sun/tools/javadoc/JavadocMemberEnter.java
! src/jdk.javadoc/share/classes/com/sun/tools/javadoc/SeeTagImpl.java
! src/jdk.javadoc/share/classes/com/sun/tools/javadoc/SerializedForm.java
! src/jdk.javadoc/share/classes/com/sun/tools/javadoc/TypeVariableImpl.java
! test/tools/javac/6889255/T6889255.java
! test/tools/javac/scope/HashCollisionTest.java
! test/tools/javac/scope/StarImportTest.java

Changeset: e284f560acf6
Author:    jjg
Date:      2014-10-21 13:08 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/e284f560acf6

8060056: replace java.io.File with java.nio.file.Path
Reviewed-by: ksrini, jlahoda

! src/jdk.compiler/share/classes/com/sun/tools/javac/file/BaseFileObject.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/CacheFSInfo.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/FSInfo.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/JavacFileManager.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/Locations.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/RegularFileObject.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/RelativePath.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/SymbolArchive.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/ZipArchive.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/ZipFileIndex.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/ZipFileIndexArchive.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/ZipFileIndexCache.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/main/Main.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/nio/JavacPathFileManager.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/AbstractDiagnosticFormatter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/RichDiagnosticFormatter.java
! src/jdk.compiler/share/classes/com/sun/tools/javah/Gen.java
! src/jdk.compiler/share/classes/com/sun/tools/javah/JavahTask.java
! src/jdk.compiler/share/classes/com/sun/tools/javap/JavapTask.java
! src/jdk.compiler/share/classes/com/sun/tools/sjavac/JavacState.java
! src/jdk.compiler/share/classes/com/sun/tools/sjavac/client/SjavacClient.java
! src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/SmartFileObject.java
! test/tools/javac/T6725036.java
! test/tools/javac/api/6440528/T6440528.java
! test/tools/javac/file/T7018098.java
! test/tools/javac/file/T7068437.java
! test/tools/javac/file/T7068451.java
! test/tools/javac/processing/errors/CrashOnNonExistingAnnotation/Processor.java
! test/tools/javac/processing/errors/StopOnInapplicableAnnotations/Processor.java
! test/tools/javac/warnings/suppress/VerifySuppressWarnings.java
! test/tools/javap/WhitespaceTest.java

Changeset: 4be0e35f385a
Author:    jjg
Date:      2014-10-21 17:50 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/4be0e35f385a

8061723: 8060056 breaks tests on Windows
Reviewed-by: darcy

! src/jdk.compiler/share/classes/com/sun/tools/javac/file/BaseFileObject.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/CacheFSInfo.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/FSInfo.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/JavacFileManager.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/Locations.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/RegularFileObject.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/RelativePath.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/SymbolArchive.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/ZipArchive.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/ZipFileIndex.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/ZipFileIndexArchive.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/ZipFileIndexCache.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/main/Main.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/nio/JavacPathFileManager.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/AbstractDiagnosticFormatter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/RichDiagnosticFormatter.java
! src/jdk.compiler/share/classes/com/sun/tools/javah/Gen.java
! src/jdk.compiler/share/classes/com/sun/tools/javah/JavahTask.java
! src/jdk.compiler/share/classes/com/sun/tools/javap/JavapTask.java
! src/jdk.compiler/share/classes/com/sun/tools/sjavac/JavacState.java
! src/jdk.compiler/share/classes/com/sun/tools/sjavac/client/SjavacClient.java
! src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/SmartFileObject.java
! test/tools/javac/T6725036.java
! test/tools/javac/api/6440528/T6440528.java
! test/tools/javac/file/T7018098.java
! test/tools/javac/file/T7068437.java
! test/tools/javac/file/T7068451.java
! test/tools/javac/processing/errors/CrashOnNonExistingAnnotation/Processor.java
! test/tools/javac/processing/errors/StopOnInapplicableAnnotations/Processor.java
! test/tools/javac/warnings/suppress/VerifySuppressWarnings.java
! test/tools/javap/WhitespaceTest.java

Changeset: 873e58766948
Author:    vromero
Date:      2014-10-23 10:40 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/873e58766948

8059710: javac, the same approach used in fix for JDK-8058708 should be applied to Code.closeAliveRanges
Reviewed-by: jjg

! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Code.java

Changeset: 211903a785f3
Author:    vromero
Date:      2014-10-23 10:42 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/211903a785f3

8057800: Method reference with generic type creates NPE when compiling
Reviewed-by: mcimadamore, dlsmith

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Infer.java
+ test/tools/javac/lambda/T8057800/NPEMethodReferenceAndGenericsTest.java

Changeset: e72e850ffa77
Author:    lana
Date:      2014-10-23 13:43 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/e72e850ffa77

Merge


Changeset: 2e654dfe862e
Author:    mcimadamore
Date:      2014-10-24 10:54 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/2e654dfe862e

8061778: Wrong LineNumberTable for default constructors
Summary: Synthetic empty blocks generated by Lower are erroneously picked up by Gen
Reviewed-by: jjg

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java
+ test/tools/javac/linenumbers/NestedLineNumberTest.java

Changeset: 834b3d80c734
Author:    jfranck
Date:      2014-10-24 08:34 +0200
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/834b3d80c734

8054448: (ann) Cannot reference field of inner class in an anonymous class
Reviewed-by: jlahoda, mcimadamore

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/MemberEnter.java
+ test/tools/javac/annotations/FinalStringInNested.java

Changeset: 14e1d2a15822
Author:    jlahoda
Date:      2014-10-24 20:07 +0200
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/14e1d2a15822

8061323: JavadocTokenizer repeatedly compiles pattern to check for deprecation
Summary: Keeping the "@deprecated" Pattern in a static field.
Reviewed-by: mcimadamore

! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavadocTokenizer.java

Changeset: bbd0164f668d
Author:    alundblad
Date:      2014-10-27 14:55 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/bbd0164f668d

8060715: There is a small race condition in IdleResetSjavac
Summary: Synchronizes on method level instead of variable access level.
Reviewed-by: jfranck

! src/jdk.compiler/share/classes/com/sun/tools/sjavac/server/IdleResetSjavac.java

Changeset: 478972d90f7b
Author:    sogoel
Date:      2014-10-27 10:43 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/478972d90f7b

8059423: Replace references for rt.jar by temp.jar
Reviewed-by: jjg

! test/tools/javac/T6558476.java
! test/tools/javap/T6729471.java

Changeset: d0fc66ac270c
Author:    katleman
Date:      2014-10-30 08:35 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/d0fc66ac270c

Added tag jdk9-b37 for changeset 478972d90f7b

! .hgtags

Changeset: 7b80aafb5b76
Author:    jfranck
Date:      2014-09-25 14:38 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/7b80aafb5b76

8059453: javac crashes with -Xjcov and union types
Reviewed-by: jlahoda, vromero
Contributed-by: Liam Miller-Cushon <cushon at google.com>

! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/CRTable.java
+ test/tools/javac/options/XjcovUnionTypeTest.java

Changeset: 82acac4e6d0d
Author:    rwarburton
Date:      2014-10-29 12:09 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/82acac4e6d0d

8062376: Suppress cast warnings when using NIO buffers
Reviewed-by: psandoz, jfranck

! src/jdk.compiler/share/classes/com/sun/tools/javac/file/JavacFileManager.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/BaseFileManager.java

Changeset: 56f8be952a5c
Author:    jjg
Date:      2014-10-29 17:25 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/56f8be952a5c

8062348: langtools tests should close file manager (group 1)
Reviewed-by: darcy

! test/tools/all/RunCodingRules.java
! test/tools/javac/6341866/T6341866.java
! test/tools/javac/6400872/T6400872.java
! test/tools/javac/6402516/Checker.java
! test/tools/javac/6440583/T6440583.java
! test/tools/javac/6902720/Test.java
! test/tools/javac/7003595/T7003595.java
! test/tools/javac/7079713/TestCircularClassfile.java
! test/tools/javac/7142086/T7142086.java
! test/tools/javac/NoStringToLower.java
! test/tools/javac/Paths/6638501/JarFromManifestFailure.java
! test/tools/javac/Paths/TestCompileJARInClassPath.java
! test/tools/javac/T6265400.java
! test/tools/javac/T6340549.java
! test/tools/javac/T6351767.java
! test/tools/javac/T6361619.java
! test/tools/javac/T6395974.java
! test/tools/javac/T6397044.java
! test/tools/javac/T6397286.java
! test/tools/javac/T6403466.java
! test/tools/javac/T6406771.java
! test/tools/javac/T6407066.java
! test/tools/javac/T6410706.java
! test/tools/javac/T6458823/T6458823.java
! test/tools/javac/T6665791.java
! test/tools/javac/T6705935.java
! test/tools/javac/T6900149.java
! test/tools/javac/T6956462/T6956462.java
! test/tools/javac/T6956638.java
! test/tools/javac/T7142672/Bug.java
! test/tools/javac/T7159016.java
! test/tools/javac/T8003967/DetectMutableStaticFields.java
! test/tools/javac/T8010737/ParameterNamesAreNotCopiedToAnonymousInitTest.java
! test/tools/javac/TryWithResources/InterruptedExceptionTest.java
! test/tools/javac/TryWithResources/UnusedResourcesTest.java
! test/tools/javac/annotations/neg/8022765/VerifyAnnotationsAttributed.java
! test/tools/javac/annotations/repeatingAnnotations/combo/Helper.java
! test/tools/javac/annotations/typeAnnotations/api/AnnotatedArrayOrder.java
! test/tools/javac/annotations/typeAnnotations/api/ArrayCreationTree.java
! test/tools/javac/annotations/typeAnnotations/api/ArrayPositionConsistency.java
! test/tools/javac/annotations/typeAnnotations/failures/CheckErrorsForSource7.java
! test/tools/javac/api/6420409/T6420409.java
! test/tools/javac/api/6420464/T6420464.java
! test/tools/javac/api/6431435/T6431435.java
! test/tools/javac/api/7086261/T7086261.java
! test/tools/javac/api/8007344/Test.java
! test/tools/javac/api/Sibling.java
! test/tools/javac/api/T6258271.java
! test/tools/javac/api/T6265137.java
! test/tools/javac/api/T6306137.java
! test/tools/javac/api/T6345974.java
! test/tools/javac/api/T6357331.java
! test/tools/javac/api/T6358786.java
! test/tools/javac/api/T6358955.java
! test/tools/javac/api/T6392782.java
! test/tools/javac/api/T6397104.java
! test/tools/javac/api/T6400205.java
! test/tools/javac/api/T6400207.java
! test/tools/javac/api/T6412669.java
! test/tools/javac/api/T6419926.java
! test/tools/javac/api/T6430241.java
! test/tools/javac/api/T6431879.java
! test/tools/javac/api/T6483788.java
! test/tools/javac/api/T6501502.java
! test/tools/javac/api/TestClientCodeWrapper.java
! test/tools/javac/api/TestDocComments.java
! test/tools/javac/api/TestGetElementReference.java
! test/tools/javac/api/TestGetScope.java
! test/tools/javac/api/TestJavacTask.java
! test/tools/javac/api/TestJavacTask_Lock.java
! test/tools/javac/api/TestJavacTask_Multiple.java
! test/tools/javac/api/TestJavacTask_ParseAttrGen.java
! test/tools/javac/api/TestSearchPaths.java
! test/tools/javac/api/TestTreePath.java
! test/tools/javac/api/TestTrees.java
! test/tools/javac/api/taskListeners/CompileEvent.java
! test/tools/javac/api/taskListeners/EventsBalancedTest.java
! test/tools/javac/api/taskListeners/TestSimpleAddRemove.java
! test/tools/javac/cast/intersection/IntersectionTypeParserTest.java
! test/tools/javac/classreader/T7031108.java
! test/tools/javac/defaultMethods/DefaultMethodFlags.java
! test/tools/javac/defaultMethods/static/hiding/InterfaceMethodHidingTest.java
! test/tools/javac/defaultMethods/syntax/TestDefaultMethodsSyntax.java
! test/tools/javac/diags/CheckResourceKeys.java
! test/tools/javac/doclint/DocLintTest.java
! test/tools/javac/doctree/DocTreePathScannerTest.java
! test/tools/javac/doctree/SimpleDocTreeVisitorTest.java
! test/tools/javac/file/T7068451.java
! test/tools/javac/flow/LVTHarness.java
! test/tools/javac/generics/bridges/BridgeHarness.java
! test/tools/javac/generics/diamond/7030150/GenericConstructorAndDiamondTest.java
! test/tools/javac/generics/diamond/7030687/ParserTest.java
! test/tools/javac/generics/inference/7086601/T7086601b.java
! test/tools/javac/lambda/BadLambdaExpr.java
! test/tools/javac/lambda/TestSelfRef.java
! test/tools/javac/lambda/intersection/IntersectionTargetTypeTest.java
! test/tools/javac/lambda/methodReference/SamConversionComboTest.java
! test/tools/javac/lambdaShapes/org/openjdk/tests/javac/FDTest.java
! test/tools/javac/nativeHeaders/NativeHeaderTest.java
! test/tools/javac/options/xprefer/XPreferTest.java
! test/tools/javac/plugin/showtype/Test.java
! test/tools/javac/positions/TreeEndPosTest.java
! test/tools/javac/processing/6348193/T6348193.java
! test/tools/javac/processing/6348499/T6348499.java
! test/tools/javac/processing/6378728/T6378728.java
! test/tools/javac/processing/6414633/T6414633.java
! test/tools/javac/processing/6430209/T6430209.java
! test/tools/javac/processing/T6439826.java
! test/tools/javac/processing/errors/TestSuppression.java
! test/tools/javac/processing/loader/testClose/TestClose.java
! test/tools/javac/processing/model/testgetallmembers/Main.java
! test/tools/javac/processing/model/type/BoundsTest.java
! test/tools/javac/processing/model/type/IntersectionPropertiesTest.java
! test/tools/javac/processing/model/util/elements/doccomments/TestDocComments.java
! test/tools/javac/processing/model/util/elements/doccomments/TestPackageInfoComments.java
! test/tools/javac/processing/options/testCommandLineClasses/Test.java
! test/tools/javac/processing/rounds/BaseClassesNotReRead.java
! test/tools/javac/profiles/ProfileOptionTest.java
! test/tools/javac/resolve/ResolveHarness.java
! test/tools/javac/tree/ClassTreeTest.java
! test/tools/javac/tree/DocCommentToplevelTest.java
! test/tools/javac/tree/MissingSemicolonTest.java
! test/tools/javac/tree/PrettySimpleStringTest.java
! test/tools/javac/tree/T6963934.java
! test/tools/javac/tree/T6993305.java
! test/tools/javac/tree/TestToString.java
! test/tools/javac/tree/TreePosRoundsTest.java
! test/tools/javac/tree/TreePosTest.java
! test/tools/javac/unit/T6198196.java
! test/tools/javac/varargs/6199075/T6199075.java
! test/tools/javac/varargs/7043922/T7043922.java
! test/tools/javac/versions/Versions.java
! test/tools/javadoc/CheckResourceKeys.java
! test/tools/javadoc/api/basic/DocletPathTest.java
! test/tools/javadoc/api/basic/GetTask_DiagListenerTest.java
! test/tools/javadoc/api/basic/GetTask_DocletClassTest.java
! test/tools/javadoc/api/basic/GetTask_FileObjectsTest.java
! test/tools/javadoc/api/basic/GetTask_OptionsTest.java
! test/tools/javadoc/api/basic/GetTask_WriterTest.java
! test/tools/javadoc/api/basic/JavadocTaskImplTest.java
! test/tools/javadoc/api/basic/TagletPathTest.java
! test/tools/javadoc/api/basic/Task_reuseTest.java
! test/tools/javadoc/doclint/DocLintTest.java
! test/tools/javap/TestSuperclass.java
! test/tools/sjavac/DependencyCollection.java

Changeset: b0b7c051d199
Author:    jjg
Date:      2014-10-29 18:01 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/b0b7c051d199

8062504: javadoc Start does not close file managers that it opens
Reviewed-by: ksrini

! src/jdk.javadoc/share/classes/com/sun/tools/javadoc/Start.java

Changeset: f839b50088bc
Author:    jjg
Date:      2014-10-29 19:07 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/f839b50088bc

8062514: Update ToolTester tests to close file manager
Reviewed-by: darcy

! src/jdk.compiler/share/classes/com/sun/tools/javac/file/JavacFileManager.java
! test/tools/javac/api/6406133/T6406133.java
! test/tools/javac/api/6410643/T6410643.java
! test/tools/javac/api/6411310/T6411310.java
! test/tools/javac/api/6411333/T6411333.java
! test/tools/javac/api/6412656/T6412656.java
! test/tools/javac/api/6415780/T6415780.java
! test/tools/javac/api/6418694/T6418694.java
! test/tools/javac/api/6421111/T6421111.java
! test/tools/javac/api/6421756/T6421756.java
! test/tools/javac/api/6422215/T6422215.java
! test/tools/javac/api/6422327/T6422327.java
! test/tools/javac/api/6423003/T6423003.java
! test/tools/javac/api/6431257/T6431257.java
! test/tools/javac/api/6437349/T6437349.java
! test/tools/javac/api/6437999/T6437999.java
! test/tools/javac/api/6440333/T6440333.java
! test/tools/javac/api/6440528/T6440528.java
! test/tools/javac/api/6468404/T6468404.java
! test/tools/javac/api/6731573/T6731573.java
! test/tools/javac/api/6733837/T6733837.java
! test/tools/javac/api/TestJavacTaskScanner.java
! test/tools/javac/api/TestResolveError.java
! test/tools/javac/api/guide/Test.java
! test/tools/javac/api/lib/ToolTester.java

Changeset: 2039ed305029
Author:    lana
Date:      2014-10-30 13:55 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/2039ed305029

Merge


Changeset: 5ad591bc3ef6
Author:    sogoel
Date:      2014-10-30 15:21 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/5ad591bc3ef6

8062336: Revert tools/javap/T6729471.java to original test code
Reviewed-by: jjg

! test/tools/javap/T6729471.java

Changeset: 50b661ac2165
Author:    katleman
Date:      2014-11-06 10:11 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/50b661ac2165

Added tag jdk9-b38 for changeset 5ad591bc3ef6

! .hgtags

Changeset: c36403059804
Author:    jjg
Date:      2014-10-30 16:08 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/c36403059804

8062579: JavacTask, DocumentationTask impls should close file manager when possible
Reviewed-by: ksrini

! src/jdk.compiler/share/classes/com/sun/tools/javac/api/JavacTaskImpl.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/api/JavacTool.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/JavacFileManager.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/BaseFileManager.java
! src/jdk.javadoc/share/classes/com/sun/tools/javadoc/Start.java
! src/jdk.javadoc/share/classes/com/sun/tools/javadoc/api/JavadocTool.java

Changeset: fd59a2d43134
Author:    jjg
Date:      2014-10-30 17:31 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/fd59a2d43134

8062593: remove debug print statements
Reviewed-by: vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/file/JavacFileManager.java

Changeset: 9fd9a50e7994
Author:    ksrini
Date:      2014-10-31 07:02 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/9fd9a50e7994

8061305: Javadoc crashes when method name ends with "Property"
Reviewed-by: jjg

! src/jdk.javadoc/share/classes/com/sun/tools/doclets/internal/toolkit/util/VisibleMemberMap.java
- test/com/sun/javadoc/testJavaFX/C.java
- test/com/sun/javadoc/testJavaFX/D.java
! test/com/sun/javadoc/testJavaFX/TestJavaFX.java
+ test/com/sun/javadoc/testJavaFX/pkg1/C.java
+ test/com/sun/javadoc/testJavaFX/pkg1/D.java
+ test/com/sun/javadoc/testJavaFX/pkg2/Test.java

Changeset: 8a6c7e87e72d
Author:    dlsmith
Date:      2014-10-31 17:23 -0600
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/8a6c7e87e72d

8062449: Update langtools/test/Makefile to use JCK 9
Summary: Updated to JCK 9 and improved use of variables to control the invocation
Reviewed-by: jjg, erikj

! test/Makefile

Changeset: 10100ecb0c97
Author:    alundblad
Date:      2014-11-03 10:20 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/10100ecb0c97

8042088: Sjavac spawns external processes in a unnecessarily complex and platform dependent way
Summary: Refactoring of the sjavac background fork code.
Reviewed-by: jfranck, ohrstrom

! src/jdk.compiler/share/classes/com/sun/tools/sjavac/CompileJavaPackages.java
! src/jdk.compiler/share/classes/com/sun/tools/sjavac/client/SjavacClient.java
! src/jdk.compiler/share/classes/com/sun/tools/sjavac/options/OptionHelper.java
! src/jdk.compiler/share/classes/com/sun/tools/sjavac/server/PortFile.java
! src/jdk.compiler/share/classes/com/sun/tools/sjavac/server/PortFileMonitor.java
! src/jdk.compiler/share/classes/com/sun/tools/sjavac/server/ServerMain.java
! src/jdk.compiler/share/classes/com/sun/tools/sjavac/server/SjavacServer.java

Changeset: c5c8a1f32b83
Author:    alundblad
Date:      2014-11-04 09:04 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/c5c8a1f32b83

8062740: Since changeset 2686:56f8be952a5c test/tools/sjavac/DependencyCollection.java does no longer compile
Summary: Added throws IOException to main method.
Reviewed-by: jjg

! test/tools/sjavac/DependencyCollection.java

Changeset: 03dc012a11a5
Author:    sogoel
Date:      2014-11-04 13:21 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/03dc012a11a5

8062314: Update tools/javac/plugin/showtype/Test.java to use ToolBox.java
Reviewed-by: jjg

! test/tools/javac/plugin/showtype/Test.java
! test/tools/lib/ToolBox.java

Changeset: 84ccbbd216b3
Author:    emc
Date:      2014-11-05 08:37 -0500
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/84ccbbd216b3

8035259: javac, incorrect shadowing of classes vs type parameters
Summary: Cause javac to look at type variables first when resolving names in an extends/implements list
Reviewed-by: mcimadamore, jlahoda

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java
+ test/tools/javac/TypeVarShadow.java

Changeset: 98bf355126f0
Author:    jjg
Date:      2014-11-05 19:09 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/98bf355126f0

8063039: incorrect message reference or broken message file
Reviewed-by: ksrini

! src/jdk.compiler/share/classes/com/sun/tools/javac/api/BasicJavacTask.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/javac.properties
+ test/tools/javac/diags/examples/PluginNotFound.java
+ test/tools/javac/plugin/missing/PluginNotFound.java
+ test/tools/javac/plugin/missing/PluginNotFound.out

Changeset: b9daa6475f12
Author:    jjg
Date:      2014-11-05 19:12 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/b9daa6475f12

8062676: Tests which leak lots of file managers should be fixed (group 2)
Reviewed-by: darcy

! src/jdk.compiler/share/classes/com/sun/tools/javap/JavapTask.java
! src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/SjavacImpl.java
! test/lib/combo/tools/javac/combo/JavacTemplateTestBase.java
! test/tools/javac/annotations/neg/8022765/VerifyErroneousAnnotationsAttributed.java
! test/tools/javac/api/TestContainTypes.java
! test/tools/javac/diags/ArgTypeCompilerFactory.java
! test/tools/javac/diags/Example.java
! test/tools/javac/lambda/lambdaExpression/SamConversionComboTest.java
! test/tools/javac/parser/JavacParserTest.java
! test/tools/javac/tree/TypeAnnotationsPretty.java

Changeset: d32c4f52e295
Author:    jjg
Date:      2014-11-05 19:48 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/d32c4f52e295

8063074: test/tools/javac/plugin/showType/Test.java fails on Windows
Reviewed-by: ksrini

! test/tools/javac/plugin/showtype/Test.java
! test/tools/lib/ToolBox.java

Changeset: 7b6a6aeeb544
Author:    mcimadamore
Date:      2014-11-06 14:31 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/7b6a6aeeb544

6987475: Order of declarations affects whether abstract method considered overridden
Summary: Types.implementation erroneously returns first matching method in hierarchy.
Reviewed-by: vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
+ test/tools/javac/generics/6987475/T6987475neg.java
+ test/tools/javac/generics/6987475/T6987475neg.out
+ test/tools/javac/generics/6987475/T6987475pos.java

Changeset: 4235749f4989
Author:    mcimadamore
Date:      2014-11-06 14:33 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/4235749f4989

8062977: Inference: NullPointerException during bound incorporation
Summary: Bogus Types.asSuper call on array type symbol
Reviewed-by: vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Infer.java
+ test/tools/javac/generics/inference/8062977/T8062977.java
+ test/tools/javac/generics/inference/8062977/T8062977.out

Changeset: 5ff1cd07bd92
Author:    lana
Date:      2014-11-06 15:13 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/5ff1cd07bd92

Merge

- test/com/sun/javadoc/testJavaFX/C.java
- test/com/sun/javadoc/testJavaFX/D.java

Changeset: 6851e14adaa0
Author:    katleman
Date:      2014-11-12 20:32 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/6851e14adaa0

Added tag jdk9-b39 for changeset 5ff1cd07bd92

! .hgtags

Changeset: 960a6311b8b7
Author:    emc
Date:      2014-11-06 17:39 -0500
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/960a6311b8b7

8062245: Test executes incorrect class
Summary: Fix issue with test executing incorrect class, and trivial test failure linked to different subclasses of CharSequance.
Reviewed-by: jjg

! test/tools/javac/processing/model/type/BoundsTest.java

Changeset: aa9b6165ab12
Author:    emc
Date:      2014-11-07 07:54 -0500
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/aa9b6165ab12

8029012: parameter_index for type annotation not updated after outer.this added
Summary: Fix javac's handling of type annotations when synthetic parameters are added
Reviewed-by: jjg, mcimadamore

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/TypeAnnotationPosition.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.java
+ test/tools/javac/annotations/typeAnnotations/classfile/ClassfileInspector.java
+ test/tools/javac/annotations/typeAnnotations/classfile/SyntheticParameters.java
! test/tools/javac/annotations/typeAnnotations/referenceinfos/Constructors.java

Changeset: 9144dcb5bd6a
Author:    jlahoda
Date:      2014-11-07 18:22 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/9144dcb5bd6a

8058489: More adjustments of langtools/make/build.xml to modularized layout
Summary: Re-structuring the langtools/make/build.xml to reflect the modular layout, cleanup of the build script
Reviewed-by: jjg, mcimadamore, ksrini

! make/build.properties
! make/build.xml
! make/launcher.sh-template
! make/netbeans/langtools/build.xml
! make/netbeans/langtools/nbproject/project.xml
! make/tools/anttasks/SelectToolTask.java

Changeset: 7879a4144d20
Author:    jjg
Date:      2014-11-07 14:51 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/7879a4144d20

8063145: ToolBox should support extracting classes from a JavaFileManager/Location
Reviewed-by: ksrini

! test/tools/javac/6508981/TestInferBinaryName.java
! test/tools/lib/ToolBox.java

Changeset: 1f593bc97283
Author:    mcimadamore
Date:      2014-11-08 22:00 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/1f593bc97283

8064367: Fix IntelliJ langtools support to use new dev build
Summary: Update ant hooks in langtools IntelliJ project
Reviewed-by: jlahoda

! make/intellij/build.xml
! make/intellij/src/idea/LangtoolsIdeaAntLogger.java
! make/intellij/workspace.xml

Changeset: c3cb06860511
Author:    jfranck
Date:      2014-10-24 10:08 +0200
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/c3cb06860511

8060448: ArrayIndexOutOfBoundsException with annotation processing printout of empty line
Reviewed-by: jlahoda

! src/jdk.compiler/share/classes/com/sun/tools/javac/util/BasicDiagnosticFormatter.java
+ test/tools/javac/util/NewlineOnlyDiagnostic.java

Changeset: b5eeeb11b9d4
Author:    alundblad
Date:      2014-11-10 20:29 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/b5eeeb11b9d4

8062737: Sjavac creates unnecessarily many SjavacClient/PooledSjavac/SjavacImpl instances
Summary: Moved sjavac initialization out of loop body.
Reviewed-by: jfranck, ohrstrom

! src/jdk.compiler/share/classes/com/sun/tools/sjavac/client/ClientMain.java

Changeset: 601e08b62ba8
Author:    mcimadamore
Date:      2014-11-12 12:41 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/601e08b62ba8

8064464: regression with type inference of conditional expression
Summary: Bad classification of conditional leads to spurious error
Reviewed-by: jlahoda

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/DeferredAttr.java
! test/tools/javac/ConditionalWithVoid.java
! test/tools/javac/ConditionalWithVoid.out
+ test/tools/javac/conditional/8064464/T8064464.java
+ test/tools/javac/conditional/8064464/T8064464.out
! test/tools/javac/diags/examples/NeitherConditionalSubtype.java

Changeset: 8a4c8be21774
Author:    aeremeev
Date:      2014-11-12 15:16 +0200
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/8a4c8be21774

8042931: Implement classfile tests for EnclosingMethod attribute.
Reviewed-by: jjg, shurailine, anazarov

+ test/tools/javac/classfiles/attributes/EnclosingMethod/EnclosingMethodTest.java
! test/tools/javac/classfiles/attributes/deprecated/DeprecatedPackageTest.java
! test/tools/javac/classfiles/attributes/deprecated/DeprecatedTest.java
! test/tools/javac/classfiles/attributes/innerclasses/InnerClassesHierarchyTest.java
! test/tools/javac/classfiles/attributes/innerclasses/InnerClassesIndexTest.java
! test/tools/javac/classfiles/attributes/innerclasses/InnerClassesTestBase.java
! test/tools/javac/classfiles/attributes/lib/TestBase.java
! test/tools/javac/classfiles/attributes/lib/TestResult.java

Changeset: 532a67fe69ec
Author:    jlahoda
Date:      2014-11-12 19:05 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/532a67fe69ec

8064362: WriteableScope.dupUnshared misbehaves on shared Scopes
Summary: When calling dupUnshared on a shared scope, make sure the result does not contain Symbols that don't belong to the scope that is being dupUnshared.
Reviewed-by: mcimadamore

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Scope.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/scope/DupUnsharedTest.java

Changeset: ce519d6f344b
Author:    alundblad
Date:      2014-11-13 14:49 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/ce519d6f344b

8059591: Give TaskListener methods empty default implementations
Summary: Added empty default implementations for TaskListener methods.
Reviewed-by: jfranck, ohrstrom

! src/jdk.compiler/share/classes/com/sun/source/util/TaskListener.java

Changeset: c286272a81dd
Author:    lana
Date:      2014-11-13 09:39 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/c286272a81dd

Merge


Changeset: 09b14a813327
Author:    katleman
Date:      2014-11-18 15:25 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/09b14a813327

Added tag jdk9-b40 for changeset c286272a81dd

! .hgtags

Changeset: f7ce2cfa4cdb
Author:    chegar
Date:      2014-12-03 14:25 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/f7ce2cfa4cdb

8049367: Modular Run-Time Images
Reviewed-by: jlahoda, ksrini
Contributed-by: alan.bateman at oracle.com, alex.buckley at oracle.com, bradford.wetmore at oracle.com, chris.hegarty at oracle.com, erik.joelsson at oracle.com, james.laskey at oracle.com, jonathan.gibbons at oracle.com, karen.kinnear at oracle.com, magnus.ihse.bursie at oracle.com, mandy.chung at oracle.com, mark.reinhold at oracle.com, paul.sandoz at oracle.com, sundararajan.athijegannathan at oracle.com

- make/CommonLangtools.gmk
! make/CompileInterim.gmk
- make/GensrcLangtools.gmk
+ make/Tools.gmk
+ make/gensrc/Gensrc-jdk.compiler.gmk
+ make/gensrc/Gensrc-jdk.dev.gmk
+ make/gensrc/Gensrc-jdk.javadoc.gmk
+ make/gensrc/GensrcCommon.gmk
! make/tools/crules/MutableFieldsAnalyzer.java
! src/java.compiler/share/classes/javax/tools/ToolProvider.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/api/ClientCodeWrapper.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/ClassFinder.java
+ src/jdk.compiler/share/classes/com/sun/tools/javac/file/JRTIndex.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/JavacFileManager.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/Locations.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/RelativePath.java
- src/jdk.compiler/share/classes/com/sun/tools/javac/file/SymbolArchive.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/nio/JavacPathFileManager.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/nio/PathFileObject.java
+ src/jdk.compiler/share/classes/com/sun/tools/javac/resources/ct.properties
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/BaseFileManager.java
! src/jdk.compiler/share/classes/com/sun/tools/javap/JavapTask.java
! src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/SmartFileManager.java
! src/jdk.dev/share/classes/com/sun/tools/jdeps/Archive.java
! src/jdk.dev/share/classes/com/sun/tools/jdeps/ClassFileReader.java
! src/jdk.dev/share/classes/com/sun/tools/jdeps/JdepsTask.java
! src/jdk.dev/share/classes/com/sun/tools/jdeps/Module.java
! src/jdk.dev/share/classes/com/sun/tools/jdeps/ModulesXmlReader.java
! src/jdk.dev/share/classes/com/sun/tools/jdeps/PlatformClassPath.java
! src/jdk.dev/share/classes/com/sun/tools/jdeps/Profile.java
! test/com/sun/javadoc/testCompletionFailure/TestCompletionFailure.java
- test/tools/apt/Basics/CheckAptIsRemovedTest.java
! test/tools/doclint/tool/PathsTest.java
! test/tools/javac/6508981/TestInferBinaryName.java
! test/tools/javac/EarlyAssertWrapper.java
! test/tools/javac/Paths/Class-Path.sh
! test/tools/javac/Paths/Class-Path2.sh
- test/tools/javac/Paths/CompileClose.java
! test/tools/javac/Paths/Diagnostics.sh
! test/tools/javac/Paths/MineField.sh
- test/tools/javac/Paths/SameJVM.java
! test/tools/javac/Paths/Util.sh
! test/tools/javac/T6558476.java
! test/tools/javac/T6654037.java
! test/tools/javac/T6705935.java
! test/tools/javac/T6725036.java
! test/tools/javac/T6873845.java
! test/tools/javac/annotations/TestAnnotationPackageInfo.java
- test/tools/javac/api/6411310/Test.java
! test/tools/javac/api/6598108/T6598108.java
! test/tools/javac/api/6608214/T6608214.java
! test/tools/javac/api/T6412669.java
! test/tools/javac/api/T6430241.java
! test/tools/javac/api/T6877206.java
! test/tools/javac/api/TestJavacTaskScanner.java
! test/tools/javac/api/TestSearchPaths.java
! test/tools/javac/diags/CheckResourceKeys.java
! test/tools/javac/diags/examples/NotInProfile.java
! test/tools/javac/lib/CompileFail.java
- test/tools/javac/nio/compileTest/CompileTest.java
- test/tools/javac/nio/compileTest/HelloPathWorld.java
! test/tools/javac/processing/model/testgetallmembers/Main.java
! test/tools/javac/processing/options/testPrintProcessorInfo/TestWithXstdout.java
! test/tools/javac/profiles/ProfileOptionTest.java
! test/tools/javadoc/6942366/T6942366.java
! test/tools/javadoc/6964914/TestUserDoclet.java
! test/tools/javadoc/api/basic/GetTask_FileManagerTest.java
! test/tools/javah/T5070898.java
! test/tools/javah/T6893943.java
- test/tools/javah/compareTest/CompareTest.java
- test/tools/javah/compareTest/CompareTest.sh
- test/tools/javah/compareTest/FindNativeFiles.java
- test/tools/javah/compareTest/README
! test/tools/javap/T6729471.java
! test/tools/javap/WhitespaceTest.java
! test/tools/jdeps/APIDeps.java
! test/tools/jdeps/Basic.java
! test/tools/jdeps/DotFileTest.java
- test/tools/jdeps/profiles.properties
! test/tools/lib/ToolBox.java
! test/tools/sjavac/OptionDecoding.java

Changeset: 57ae4566261e
Author:    katleman
Date:      2014-12-04 12:58 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/57ae4566261e

Added tag jdk9-b41 for changeset f7ce2cfa4cdb

! .hgtags

Changeset: 0b467b70ad82
Author:    jlahoda
Date:      2014-11-14 11:58 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/0b467b70ad82

8062747: Compiler error when anonymous class uses method with parametrized exception
Summary: When inferring lambda's thrown types, avoid tracking variables that are not under the lambda to avoid crashes.
Reviewed-by: vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Flow.java
+ test/tools/javac/flow/T8062747.java

Changeset: 6641bd634136
Author:    mcimadamore
Date:      2014-11-17 23:41 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/6641bd634136

8064803: Javac erroneously uses instantiated signatures when merging abstract most-specific methods
Summary: Wrong method type used in AmbiguousError.mergeAbstracts
Reviewed-by: jlahoda

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java
+ test/tools/javac/generics/8064803/T8064803.java

Changeset: c2339b4749af
Author:    mfang
Date:      2014-11-17 23:11 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/c2339b4749af

8055798: Japanese translation for a warning from javac looks incorrect.
Reviewed-by: peytoia

! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler_ja.properties
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler_zh_CN.properties

Changeset: f62d01419621
Author:    jlahoda
Date:      2014-11-19 13:46 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/f62d01419621

7196163: Project Coin: Allow effectively final variables to be used as resources in try-with-resources
Summary: Allowing final variables as operands to try-with-resources; also reviewed by Sergei Pikalev.
Reviewed-by: darcy, mcimadamore, vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Kinds.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Source.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Flow.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
! test/tools/javac/TryWithResources/BadTwrSyntax.out
! test/tools/javac/TryWithResources/ResDeclOutsideTry.java
! test/tools/javac/TryWithResources/ResDeclOutsideTry.out
+ test/tools/javac/TryWithResources/TwrForVariable1.java
+ test/tools/javac/TryWithResources/TwrForVariable1.out
+ test/tools/javac/TryWithResources/TwrForVariable2.java
+ test/tools/javac/TryWithResources/TwrForVariable2.out
+ test/tools/javac/TryWithResources/TwrForVariable3.java
+ test/tools/javac/TryWithResources/TwrForVariable3.out
+ test/tools/javac/TryWithResources/TwrForVariable4.java
+ test/tools/javac/TryWithResources/TwrForVariable4.out
+ test/tools/javac/diags/examples/TryWithResourcesExprEffectivelyFinalVar.java
+ test/tools/javac/diags/examples/TryWithResourcesExprNeedsVar.java
+ test/tools/javac/diags/examples/VarInTryWithResourcesNotSupportedInSource.java

Changeset: 2bfbb068284d
Author:    vromero
Date:      2014-11-20 09:43 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/2bfbb068284d

8059921: Missing compile error in Java 8 mode for Interface.super.field access
Reviewed-by: mcimadamore, jlahoda

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/T8059921/ForbidAccessToFieldUsingSuperTest.java
+ test/tools/javac/T8059921/ForbidAccessToFieldUsingSuperTest.out

Changeset: a073e36e4001
Author:    jjg
Date:      2014-11-20 11:00 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/a073e36e4001

8058445: Javac throws exception when displaying info
Reviewed-by: vromero, jfranck

! src/jdk.compiler/share/classes/com/sun/tools/javac/main/Main.java
+ test/tools/javac/main/T8058445.java

Changeset: a3d55b845adf
Author:    lana
Date:      2014-11-20 10:58 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/a3d55b845adf

Merge


Changeset: b1cc1e516ff8
Author:    lana
Date:      2014-11-20 11:17 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/b1cc1e516ff8

Merge


Changeset: d5b3ff8ab3b3
Author:    vromero
Date:      2014-11-20 14:05 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/d5b3ff8ab3b3

8063052: Inference chokes on wildcard derived from method reference
Reviewed-by: mcimadamore

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java
+ test/tools/javac/lambda/methodReference/MethodRef8.java

Changeset: e8d47c8812d3
Author:    jjg
Date:      2014-11-20 14:23 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/e8d47c8812d3

8065054: Some tests have junk before the legal header
Reviewed-by: darcy

! test/tools/javac/T6181889/EmptyFinallyTest.java
! test/tools/javac/T8020997/CannotCompileRepeatedAnnoTest.java
! test/tools/javac/VersionOpt.java
! test/tools/javac/annotations/typeAnnotations/InnerClass.java
! test/tools/javac/annotations/typeAnnotations/newlocations/BasicTest.java
! test/tools/javac/main/Option_J_At_Test.java
! test/tools/javac/processing/model/util/elements/Foo.java

Changeset: 69a430162d80
Author:    jfranck
Date:      2014-11-21 12:36 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/69a430162d80

8062359: javac Attr crashes with NPE in TypeAnnotationsValidator visitNewClass
Reviewed-by: jlahoda, vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/8062359/UnresolvableClassNPEInAttrTest.java
+ test/tools/javac/8062359/UnresolvableClassNPEInAttrTest.out

Changeset: b96d74fa60aa
Author:    jjg
Date:      2014-11-21 10:38 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/b96d74fa60aa

8061876: replace java.io.File with java.nio.file.Path (again)
Reviewed-by: ksrini, jlahoda

! src/jdk.compiler/share/classes/com/sun/tools/javac/file/BaseFileObject.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/CacheFSInfo.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/FSInfo.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/JavacFileManager.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/Locations.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/RegularFileObject.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/RelativePath.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/SymbolArchive.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/ZipArchive.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/ZipFileIndex.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/ZipFileIndexArchive.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/ZipFileIndexCache.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/main/Main.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/nio/JavacPathFileManager.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/AbstractDiagnosticFormatter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/RichDiagnosticFormatter.java
! src/jdk.compiler/share/classes/com/sun/tools/javah/Gen.java
! src/jdk.compiler/share/classes/com/sun/tools/javah/JavahTask.java
! src/jdk.compiler/share/classes/com/sun/tools/javap/JavapTask.java
! src/jdk.compiler/share/classes/com/sun/tools/sjavac/JavacState.java
! src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/SmartFileObject.java
! test/tools/javac/T6725036.java
! test/tools/javac/api/6440528/T6440528.java
! test/tools/javac/api/TestJavacTask.java
! test/tools/javac/diags/Example.java
! test/tools/javac/diags/README.examples.txt
! test/tools/javac/diags/examples/ProcUnclosedTypeFiles/ProcUnclosedTypeFiles.java
! test/tools/javac/file/T7018098.java
! test/tools/javac/file/T7068437.java
! test/tools/javac/file/T7068451.java
! test/tools/javac/links/LinksTest.java
! test/tools/javac/processing/errors/CrashOnNonExistingAnnotation/Processor.java
! test/tools/javac/processing/errors/StopOnInapplicableAnnotations/Processor.java
! test/tools/javac/unicode/SupplementaryJavaID6.java
+ test/tools/javac/unicode/Wrapper.java
! test/tools/javac/warnings/suppress/VerifySuppressWarnings.java
! test/tools/javap/WhitespaceTest.java

Changeset: f9f38be75c84
Author:    emc
Date:      2014-11-21 16:36 -0500
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/f9f38be75c84

8065132: Parameter annotations not updated when synthetic parameters are prepended
Summary: Cause javac to add synthetic parameters to Runtime[In]VisibleParameterAnnotations attributes
Reviewed-by: jjg, jfranck

! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassWriter.java
+ test/lib/annotations/annotations/classfile/ClassfileInspector.java
+ test/tools/javac/annotations/SyntheticParameters.java
- test/tools/javac/annotations/typeAnnotations/classfile/ClassfileInspector.java
! test/tools/javac/annotations/typeAnnotations/classfile/SyntheticParameters.java

Changeset: 82384454947c
Author:    jlahoda
Date:      2014-11-24 16:02 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/82384454947c

8032211: Don't issue deprecation warnings on import statements
6598104: javac should not warn about imports of deprecated classes
Summary: Suppressing the deprecation warnings when importing a deprecated element (deprecations in import qualifier will be produced).
Reviewed-by: darcy, jjg, mcimadamore

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Lint.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Source.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/MemberEnter.java
! test/tools/javac/warnings/6594914/ImplicitCompilation.java
! test/tools/javac/warnings/Deprecation.java
- test/tools/javac/warnings/Deprecation.lintAll.out
! test/tools/javac/warnings/Deprecation.lintDeprecation.out
+ test/tools/javac/warnings/Deprecation.lintDeprecation8.out
+ test/tools/javac/warnings/NestedDeprecation/NestedDeprecation.java
+ test/tools/javac/warnings/NestedDeprecation/NestedDeprecation.out
+ test/tools/javac/warnings/NestedDeprecation/p/Dep1.java
+ test/tools/javac/warnings/NestedDeprecation/p/Dep2.java
! test/tools/javac/warnings/suppress/ImplicitTest.java
! test/tools/javac/warnings/suppress/PackageInfo.java

Changeset: 3c5de506a1f2
Author:    rfield
Date:      2014-11-24 14:52 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/3c5de506a1f2

8058112: Invalid BootstrapMethod for constructor/method reference
Summary: Bridge method references with functional interface method parameters of intersection type
Reviewed-by: vromero, dlsmith

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
+ test/tools/javac/lambda/methodReferenceExecution/MethodReferenceIntersection1.java
+ test/tools/javac/lambda/methodReferenceExecution/MethodReferenceIntersection2.java
+ test/tools/javac/lambda/methodReferenceExecution/MethodReferenceIntersection3.java

Changeset: caa3490d5aee
Author:    mcimadamore
Date:      2014-11-28 11:45 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/caa3490d5aee

8065986: Compiler fails to NullPointerException when calling super with Object<>()
Summary: Missing POLY kind selector on recursive constructor calls with poly arguments
Reviewed-by: vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/generics/diamond/8065986/T8065986a.java
+ test/tools/javac/generics/diamond/8065986/T8065986a.out
+ test/tools/javac/generics/diamond/8065986/T8065986b.java
+ test/tools/javac/generics/diamond/8065986/T8065986b.out

Changeset: 9d2192f36e53
Author:    jlahoda
Date:      2014-12-03 13:46 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/9d2192f36e53

7101822: Compiling depends on order of imports
7177813: Static import to local nested class fails
Summary: MemberEnter overhaul - TypeEnter is split out of MemberEnter; the TypeEnter consists of several Phases which ensure actions are done in the correct order.
Reviewed-by: mcimadamore, jfranck, aeremeev
Contributed-by: jan.lahoda at oracle.com, maurizio.cimadamore at oracle.com

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/ClassFinder.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Scope.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Enter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/MemberEnter.java
+ src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TypeEnter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/JCTree.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/Dependencies.java
+ test/tools/javac/4980495/std/NonStatic2StaticImportClash.java
+ test/tools/javac/4980495/std/NonStatic2StaticImportClash.out
+ test/tools/javac/4980495/std/Static2NonStaticImportClash.java
+ test/tools/javac/4980495/std/Static2NonStaticImportClash.out
! test/tools/javac/4980495/std/Test.out
! test/tools/javac/diags/examples/ImportRequiresCanonical/ImportRequiresCanonical.java
+ test/tools/javac/importChecks/NoImportedNoClasses.java
+ test/tools/javac/importChecks/NoImportedNoClasses.out
+ test/tools/javac/importscope/ImportResolvedTooSoon.java
+ test/tools/javac/importscope/T7101822A.java
+ test/tools/javac/importscope/T7101822Z.java
+ test/tools/javac/importscope/TestDuplicateImport.java
+ test/tools/javac/importscope/TestLazyImportScope.java
+ test/tools/javac/importscope/TypeParamCycle.java
+ test/tools/javac/importscope/TypeParamCycle2.java
+ test/tools/javac/importscope/TypeParamCycle3.java
+ test/tools/javac/importscope/dependencies/DependenciesTest.java
+ test/tools/javac/importscope/dependencies/annotations/Phase.java
+ test/tools/javac/importscope/dependencies/annotations/TriggersComplete.java
+ test/tools/javac/importscope/dependencies/annotations/TriggersCompleteRepeat.java
+ test/tools/javac/importscope/dependencies/tests/ImportResolvedTooSoon.java
+ test/tools/javac/importscope/dependencies/tests/Simple.java
+ test/tools/javac/importscope/dependencies/tests/T7101822/T7101822.java
+ test/tools/javac/importscope/dependencies/tests/T7101822/T7101822Aux.java
+ test/tools/javac/importscope/dependencies/tests/TypeParamCycle.java
+ test/tools/javac/importscope/dependencies/tests/TypeParamCycle2.java
+ test/tools/javac/importscope/dependencies/tests/TypeParamCycle3.java
! test/tools/javac/lib/DPrinter.java
! test/tools/javac/scope/HashCollisionTest.java
! test/tools/javac/scope/StarImportTest.java

Changeset: c956c25f9334
Author:    chegar
Date:      2014-12-03 19:28 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/c956c25f9334

Merge

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/ClassFinder.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/JavacFileManager.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/Locations.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/RelativePath.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/nio/JavacPathFileManager.java
! src/jdk.compiler/share/classes/com/sun/tools/javap/JavapTask.java
! test/tools/javac/T6725036.java
- test/tools/javac/annotations/typeAnnotations/classfile/ClassfileInspector.java
- test/tools/javac/warnings/Deprecation.lintAll.out
! test/tools/javap/WhitespaceTest.java

Changeset: eb5fc32790eb
Author:    jjg
Date:      2014-12-04 14:57 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/eb5fc32790eb

8066731: javac does not work on exploded image
Reviewed-by: jjg, mchung
Contributed-by: alan.bateman at oracle.com

! src/jdk.compiler/share/classes/com/sun/tools/javac/file/JRTIndex.java

Changeset: 23a3a063a906
Author:    lana
Date:      2014-12-04 15:22 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/23a3a063a906

Merge

- test/tools/javac/annotations/typeAnnotations/classfile/ClassfileInspector.java
- test/tools/javac/warnings/Deprecation.lintAll.out

Changeset: 6f0fc62de41a
Author:    katleman
Date:      2014-12-11 11:44 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/6f0fc62de41a

Added tag jdk9-b42 for changeset 23a3a063a906

! .hgtags

Changeset: 3abdd1e50a79
Author:    jjg
Date:      2014-12-04 19:09 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/3abdd1e50a79

8066737: langtools/test/tools/javac/processing/6348193/T6348193.java fails
Reviewed-by: darcy

! test/tools/javac/processing/6348193/T6348193.java

Changeset: 64f03461bb0e
Author:    jlahoda
Date:      2014-12-08 11:50 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/64f03461bb0e

8065753: javac crashing on a html-like file
Summary: Avoiding special-case in error recovery for bad token on position 0.
Reviewed-by: jjg

! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java
! test/tools/javac/parser/JavacParserTest.java

Changeset: 6e0ebc622bdb
Author:    mcimadamore
Date:      2014-12-08 16:30 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/6e0ebc622bdb

8066889: IntelliJ langtools launcher ought to be Windows friendly
Summary: Fixup file and path separators in project setup stage.
Reviewed-by: jlahoda

! make/build.xml
! make/intellij/workspace.xml

Changeset: 84a76798cff3
Author:    jlahoda
Date:      2014-12-08 18:02 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/84a76798cff3

8061549: Disallow _ as a one-character identifier
Summary: Underscore is no longer a one-charater identifier with -source 9
Reviewed-by: mcimadamore, jjg

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Source.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
! test/com/sun/javadoc/testAnchorNames/TestAnchorNames.java
- test/tools/javac/diags/examples/UnderscoreAsIdentifier.java
+ test/tools/javac/diags/examples/UnderscoreAsIdentifierError.java
+ test/tools/javac/diags/examples/UnderscoreAsIdentifierWarning.java
! test/tools/javac/lambda/IdentifierTest.java
- test/tools/javac/lambda/IdentifierTest.out
+ test/tools/javac/lambda/IdentifierTest8.out
+ test/tools/javac/lambda/IdentifierTest9.out
+ test/tools/javac/lambda/UnderscoreAsIdent.java
+ test/tools/javac/lambda/UnderscoreAsIdent8.out
+ test/tools/javac/lambda/UnderscoreAsIdent9.out
- test/tools/javac/lambda/WarnUnderscoreAsIdent.java
- test/tools/javac/lambda/WarnUnderscoreAsIdent.out
! test/tools/javac/processing/model/util/elements/doccomments/TestDocComments.java
! test/tools/javac/tree/TreePosRoundsTest.java
! test/tools/javadoc/6964914/JavacWarning.java
! test/tools/javadoc/6964914/Test.java

Changeset: f1eaade7db81
Author:    jlahoda
Date:      2014-12-08 21:26 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/f1eaade7db81

8066902: JavacParserTest fails on Windows
Summary: Normalizing line endings to '\n'.
Reviewed-by: jjg, ksrini

! test/tools/javac/parser/JavacParserTest.java

Changeset: 6c2c0095eca4
Author:    aeremeev
Date:      2014-12-09 01:06 +0200
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/6c2c0095eca4

8064794: Implement negative tests for cyclic dependencies in import statements
Reviewed-by: jlahoda, anazarov

+ test/tools/javac/importscope/NegativeCyclicDependencyTest.java
! test/tools/javac/staticImport/6695838/T6695838.java
+ test/tools/javac/staticImport/6695838/T6695838.out

Changeset: 20e26aa33799
Author:    aeremeev
Date:      2014-12-09 11:45 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/20e26aa33799

8066961: NegativeCyclicDependencyTest.java fails on Windows
Summary: Normalizing line endings to '\n'.
Reviewed-by: jlahoda

! test/tools/javac/importscope/NegativeCyclicDependencyTest.java

Changeset: b32db211cfbc
Author:    mcimadamore
Date:      2014-12-09 16:09 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/b32db211cfbc

8067001: DetectMutableStaticFields fails after modular images push
Summary: Ignore JRTIndex.sharedInstance
Reviewed-by: jlahoda

! test/tools/javac/T8003967/DetectMutableStaticFields.java

Changeset: f114c0889340
Author:    mcimadamore
Date:      2014-12-09 17:40 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/f114c0889340

8067006: Tweak IntelliJ langtools project to show jtreg report directory
Summary: Jtreg test output directory should be allowed to flow into IntelliJ's output
Reviewed-by: jlahoda

! make/intellij/build.xml
! make/intellij/compiler.xml
! make/intellij/copyright/langtools.xml
! make/intellij/misc.xml
! make/intellij/src/idea/LangtoolsIdeaAntLogger.java
! make/intellij/workspace.xml

Changeset: dca7684b37fe
Author:    aeremeev
Date:      2014-12-10 21:45 +0200
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/dca7684b37fe

8065360: Implement a test that checks possibilty of class members to be imported
Reviewed-by: jlahoda, anazarov

+ test/tools/javac/importscope/ImportDependenciesTest.java
+ test/tools/javac/importscope/ImportMembersTest.java
! test/tools/javac/importscope/NegativeCyclicDependencyTest.java

Changeset: 6a06008aec10
Author:    lana
Date:      2014-12-11 12:26 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/6a06008aec10

Merge

- test/tools/javac/diags/examples/UnderscoreAsIdentifier.java
- test/tools/javac/lambda/IdentifierTest.out
- test/tools/javac/lambda/WarnUnderscoreAsIdent.java
- test/tools/javac/lambda/WarnUnderscoreAsIdent.out

Changeset: a2cedf7d76b2
Author:    lana
Date:      2014-12-18 19:57 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/a2cedf7d76b2

Added tag jdk9-b43 for changeset 6a06008aec10

! .hgtags

Changeset: 91771a4460a7
Author:    jjg
Date:      2014-12-11 18:20 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/91771a4460a7

8066807: langtools/test/Makefile should use -agentvm not -samevm
Reviewed-by: mcimadamore

! test/Makefile

Changeset: 2b47c42974ff
Author:    jjg
Date:      2014-12-11 18:23 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/2b47c42974ff

8066808: langtools/test/Makefile should not use OS-specific jtreg binary
Reviewed-by: mcimadamore

! test/Makefile

Changeset: 3c1b5fcf6fad
Author:    mcimadamore
Date:      2014-12-12 18:07 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/3c1b5fcf6fad

8064365: Better support for finder capabilities in target-typing context
Summary: Add new framework to allow for easy creation of finder-like capabilities.
Reviewed-by: jjg, jlahoda

+ src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Analyzer.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/AttrContext.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/DeferredAttr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeInfo.java
! test/tools/javac/diags/examples/DiamondRedundantArgs.java
! test/tools/javac/diags/examples/DiamondRedundantArgs1.java
+ test/tools/javac/diags/examples/MethodRedundantTypeargs.java
! test/tools/javac/diags/examples/PotentialLambdaFound.java
! test/tools/javac/generics/diamond/6939780/T6939780.java
! test/tools/javac/generics/diamond/6939780/T6939780_7.out
! test/tools/javac/generics/diamond/6939780/T6939780_8.out
! test/tools/javac/generics/diamond/7002837/T7002837.java
! test/tools/javac/lambda/LambdaConv18.java
! test/tools/javac/lambda/LambdaConv18.out
! test/tools/javac/lambda/speculative/DiamondFinder.java

Changeset: 04e51caa93f9
Author:    mchung
Date:      2014-12-15 10:29 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/04e51caa93f9

8067360: verify-modules target was dropped in jdk9 b41
Reviewed-by: alanb, erikj

! src/jdk.dev/share/classes/com/sun/tools/jdeps/JdepsTask.java

Changeset: a3c4196fc990
Author:    mcimadamore
Date:      2014-12-16 13:44 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/a3c4196fc990

8067663: Add bugId to tests that have been modified as part of JDK-8064365
Summary: Add missing bug id to modified tests
Reviewed-by: jlahoda

! test/tools/javac/generics/diamond/6939780/T6939780.java
! test/tools/javac/generics/diamond/7002837/T7002837.java
! test/tools/javac/lambda/LambdaConv18.java
! test/tools/javac/lambda/speculative/DiamondFinder.java

Changeset: d386dce997f6
Author:    jlahoda
Date:      2014-12-17 12:49 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/d386dce997f6

8067422: Lambda method names are unnecessarily unstable
Summary: Lambda method numbers are now assigned per class for non-serializable lambdas.
Reviewed-by: mcimadamore, rfield

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
+ test/tools/javac/lambda/lambdaNaming/TestNonSerializableLambdaNameStability.java

Changeset: 46105e2a56c7
Author:    mcimadamore
Date:      2014-12-17 16:47 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/46105e2a56c7

8067792: Javac crashes in finder mode with nested implicit lambdas
Summary: Revert tree changes occurred in Attr before running the analyzer
Reviewed-by: jlahoda

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Analyzer.java
+ test/tools/javac/lambda/8067792/T8067792.java
+ test/tools/javac/lambda/8067792/T8067792.out

Changeset: 47926c290355
Author:    rfield
Date:      2014-12-17 12:48 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/47926c290355

8067384: Facilitate extension of the javac parser
Reviewed-by: jjg

! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java

Changeset: c402b2856ed1
Author:    mcimadamore
Date:      2014-12-18 13:21 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/c402b2856ed1

8066974: Compiler doesn't infer method's generic type information in lambda body
Summary: Add loghic to avoid post-inference triggers on temporarty AST types
Reviewed-by: jlahoda, vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/lambda/8066974/T8066974.java
+ test/tools/javac/lambda/8066974/T8066974.out

Changeset: de2ce70d907c
Author:    lana
Date:      2014-12-23 13:58 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/de2ce70d907c

Merge


Changeset: 1f060de59b3d
Author:    katleman
Date:      2014-12-30 09:44 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/1f060de59b3d

Added tag jdk9-b44 for changeset de2ce70d907c

! .hgtags

Changeset: 20475c78a0a6
Author:    jfranck
Date:      2014-12-19 21:07 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/20475c78a0a6

8061472: String.format in DeferredAttr.DeferredTypeMap constructor leads to excessive object creation
Reviewed-by: mcimadamore, vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/DeferredAttr.java

Changeset: d442757afcdd
Author:    sogoel
Date:      2014-12-24 11:17 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/d442757afcdd

8054689: Split large SJavac.java test source into multiple files
Reviewed-by: jjg, jfranck

+ test/tools/sjavac/CompileCircularSources.java
+ test/tools/sjavac/CompileExcludingDependency.java
+ test/tools/sjavac/CompileWithAtFile.java
+ test/tools/sjavac/CompileWithInvisibleSources.java
+ test/tools/sjavac/CompileWithOverrideSources.java
+ test/tools/sjavac/IncCompileChangeNative.java
+ test/tools/sjavac/IncCompileDropClasses.java
+ test/tools/sjavac/IncCompileFullyQualifiedRef.java
+ test/tools/sjavac/IncCompileNoChanges.java
+ test/tools/sjavac/IncCompileUpdateNative.java
+ test/tools/sjavac/IncCompileWithChanges.java
+ test/tools/sjavac/PermittedArtifact.java
- test/tools/sjavac/SJavac.java
+ test/tools/sjavac/SJavacTester.java
+ test/tools/sjavac/StateDir.java

Changeset: 3c528021e99a
Author:    lana
Date:      2014-12-25 19:44 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/3c528021e99a

Merge


Changeset: 73bbdcf236b2
Author:    lana
Date:      2014-12-30 13:19 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/73bbdcf236b2

Merge

- test/tools/sjavac/SJavac.java

Changeset: c65afe55d627
Author:    katleman
Date:      2015-01-08 12:08 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/c65afe55d627

Added tag jdk9-b45 for changeset 73bbdcf236b2

! .hgtags

Changeset: 3bdbc3b8aa14
Author:    vromero
Date:      2015-01-05 17:35 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/3bdbc3b8aa14

8064857: javac generates LVT entry with length 0 for local variable
Reviewed-by: mcimadamore, jjg

! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassWriter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Code.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java
- src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/LVTRanges.java
! test/tools/javac/flow/LVTHarness.java
! test/tools/javac/flow/tests/TestCaseFor.java
! test/tools/javac/flow/tests/TestCaseForEach.java
! test/tools/javac/flow/tests/TestCaseIfElse.java
! test/tools/javac/flow/tests/TestCaseSwitch.java
! test/tools/javac/flow/tests/TestCaseTry.java
! test/tools/javac/flow/tests/TestCaseWhile.java

Changeset: 92ee16cb8a0c
Author:    mcimadamore
Date:      2015-01-06 15:46 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/92ee16cb8a0c

8067883: Javac misses some opportunities for diagnostic simplification
Summary: Javac always report full inference diagnostic, even when message does not mention inference variables.
Reviewed-by: jlahoda

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java
+ test/tools/javac/Diagnostics/compressed/8067883/T8067883.java
+ test/tools/javac/Diagnostics/compressed/8067883/T8067883a.out
+ test/tools/javac/Diagnostics/compressed/8067883/T8067883b.out

Changeset: 70d213c84585
Author:    jjg
Date:      2015-01-06 14:51 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/70d213c84585

8059977: StandardJavaFileManager should support java.nio.file.Path
Reviewed-by: jlahoda

+ src/java.compiler/share/classes/javax/tools/FileManagerUtils.java
! src/java.compiler/share/classes/javax/tools/StandardJavaFileManager.java
! src/java.compiler/share/classes/javax/tools/ToolProvider.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/JavacFileManager.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/Locations.java
+ test/tools/javac/api/file/MyStandardJavaFileManager.java
+ test/tools/javac/api/file/SJFM_AsPath.java
+ test/tools/javac/api/file/SJFM_GetFileObjects.java
+ test/tools/javac/api/file/SJFM_IsSameFile.java
+ test/tools/javac/api/file/SJFM_Locations.java
+ test/tools/javac/api/file/SJFM_TestBase.java

Changeset: 0fbde6c61674
Author:    darcy
Date:      2015-01-07 17:06 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/0fbde6c61674

8068639: Make certain annotation classfile warnings opt-in
Reviewed-by: jjg

! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java
! test/tools/javac/annotations/6214965/T6214965.java
! test/tools/javac/annotations/6365854/T6365854.java

Changeset: aa568700edd1
Author:    mcimadamore
Date:      2015-01-08 14:43 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/aa568700edd1

8058542: Devise scheme for better diagnostic creation
Summary: Add support for generating (at build-time) an enum-like class containing all javac diagnostics, which allows for safe diagnostic creation.
Reviewed-by: jlahoda, jjg, vromero, erikj, jfranck

! make/Tools.gmk
! make/build.properties
! make/build.xml
! make/gensrc/Gensrc-jdk.compiler.gmk
! make/gensrc/GensrcCommon.gmk
! make/intellij/build.xml
! make/intellij/compiler.xml
! make/intellij/langtools.iml
! make/intellij/misc.xml
! make/netbeans/langtools/nbproject/project.xml
+ make/tools/anttasks/PropertiesParserTask.java
+ make/tools/propertiesparser/PropertiesParser.java
+ make/tools/propertiesparser/gen/ClassGenerator.java
+ make/tools/propertiesparser/parser/Message.java
+ make/tools/propertiesparser/parser/MessageFile.java
+ make/tools/propertiesparser/parser/MessageInfo.java
+ make/tools/propertiesparser/parser/MessageLine.java
+ make/tools/propertiesparser/parser/MessageType.java
+ make/tools/propertiesparser/resources/templates.properties
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/DCTree.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/AbstractLog.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/JCDiagnostic.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/Log.java
! test/tools/javac/Diagnostics/6769027/T6769027.java
! test/tools/javac/diags/MessageFile.java

Changeset: 7b2e1f42a6ad
Author:    sogoel
Date:      2015-01-08 22:01 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/7b2e1f42a6ad

8058373: Group 10a: golden files for tests in tools/javac dir
Reviewed-by: jjg, darcy

! test/tools/javac/SerialWarn.java
+ test/tools/javac/SerialWarn.out
! test/tools/javac/T4994049/DeprecatedYES.java
+ test/tools/javac/T4994049/DeprecatedYES.out
! test/tools/javac/T6231847.java
! test/tools/javac/T6231847.out
! test/tools/javac/overrridecrash/B.java
+ test/tools/javac/overrridecrash/B.out
! test/tools/javac/processing/6365040/T6365040.java
+ test/tools/javac/processing/6365040/T6365040.out
! test/tools/javac/processing/6511613/clss41701.java
+ test/tools/javac/processing/6511613/clss41701.out
! test/tools/javac/processing/errors/TestFatalityOfParseErrors.java
+ test/tools/javac/processing/errors/TestFatalityOfParseErrors.out
! test/tools/javac/processing/messager/MessagerBasics.java
+ test/tools/javac/processing/messager/MessagerBasics.out
! test/tools/javac/staticQualifiedNew/StaticQualifiedNew.java
+ test/tools/javac/staticQualifiedNew/StaticQualifiedNew.out

Changeset: 6a927a9114c1
Author:    mcimadamore
Date:      2015-01-09 15:48 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/6a927a9114c1

8066871: java.lang.VerifyError: Bad local variable type - local final String
Summary: baseType() erroneously called on MethodResultInfo causes lack of constant type info
Reviewed-by: jlahoda, mcimadamore
Contributed-by: srikanth.adayapalam at oracle.com

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java
+ test/tools/javac/conditional/ConditionalWithFinalStrings.java

Changeset: 6d3e36e420df
Author:    mcimadamore
Date:      2015-01-09 15:49 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/6d3e36e420df

8043741: VerifyError due to missing checkcast
Summary: Proto-type is not set correctly for NULLCHK synthetic trees
Reviewed-by: mcimadamore
Contributed-by: srikanth.adayapalam at oracle.com

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransTypes.java
+ test/tools/javac/generics/MissingCast2.java

Changeset: 7dfe06818a80
Author:    mcimadamore
Date:      2015-01-09 15:50 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/7dfe06818a80

8067429: java.lang.VerifyError: Inconsistent stackmap frames at branch target
Summary: bitset for alive variables contains info about variables out of range
Reviewed-by: mcimadamore
Contributed-by: srikanth.adayapalam at oracle.com

! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java
+ test/tools/javac/BranchToFewerDefines.java

Changeset: 38f7c632df2b
Author:    mcimadamore
Date:      2015-01-09 15:51 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/38f7c632df2b

8067914: Redundant type cast nodes in AST (follow up from JDK-8043741)
Summary: Workaround for redundant (but harmless) synthetic cast generated in TransTypes
Reviewed-by: mcimadamore
Contributed-by: srikanth.adayapalam at oracle.com

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransTypes.java
+ test/tools/javac/tree/8067914/E.out
+ test/tools/javac/tree/8067914/NukeExtraCast.java
+ test/tools/javac/tree/8067914/T8067914.java

Changeset: 3be9980b55c3
Author:    jjg
Date:      2015-01-09 18:03 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/3be9980b55c3

8068759: ConstFoldTest fails on Windows
Reviewed-by: ksrini

! test/tools/javac/ConstFoldTest.java

Changeset: 8d887da488cd
Author:    darcy
Date:      2015-01-12 09:19 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/8d887da488cd

8006469: Cleanup reflective access of java.lang.annotation.Repeatable
Reviewed-by: jfranck

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/AnnoConstruct.java

Changeset: e272d9be5f90
Author:    lana
Date:      2015-01-12 12:23 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/e272d9be5f90

Merge

- src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/LVTRanges.java

Changeset: e7cf0a7e1c03
Author:    katleman
Date:      2015-01-15 13:09 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/e7cf0a7e1c03

Added tag jdk9-b46 for changeset e272d9be5f90

! .hgtags

Changeset: 143e819d5ddc
Author:    jlahoda
Date:      2015-01-13 10:17 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/143e819d5ddc

8062358: ClassCastException in TransTypes.visitApply
Summary: Incorrect handling of subtype relations involving lower bounded wildcard causes ClassCastException
Reviewed-by: vromero, dlsmith
Contributed-by: srikanth.adayapalam at oracle.com

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
+ test/tools/javac/generics/LowerBoundBottomTypeTest.java

Changeset: 441711fd360d
Author:    jlahoda
Date:      2015-01-13 10:25 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/441711fd360d

8037546: javac -parameters does not emit parameter names for lambda expressions
Summary: MethodParameters attribute is missing for synthetic methods encoding lambda expressions.
Reviewed-by: rfield, mcimadamore
Contributed-by: srikanth.adayapalam at oracle.com

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
! test/tools/javac/MethodParameters/ClassFileVisitor.java
! test/tools/javac/MethodParameters/LambdaTest.java
! test/tools/javac/MethodParameters/LambdaTest.out
! test/tools/javac/MethodParameters/ReflectionVisitor.java

Changeset: 4359df35c893
Author:    jlahoda
Date:      2015-01-13 10:32 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/4359df35c893

8068254: Method reference uses wrong qualifying type
Summary: Generated code fails with IllegalAccessError due to compiler's mishandling of packageprivate classes in method reference expressions.
Reviewed-by: rfield, mcimadamore
Contributed-by: srikanth.adayapalam at oracle.com

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
+ test/tools/javac/lambda/methodReferenceExecution/MethodReferencePackagePrivateQualifier.java
+ test/tools/javac/lambda/methodReferenceExecution/pkg/B.java

Changeset: 014b653eafa9
Author:    jlahoda
Date:      2015-01-13 10:36 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/014b653eafa9

8027888: javac wrongly allows annotations in array-typed class literals
Summary: Compiler incorrectly accepts type annotations on array-typed class literals.
Reviewed-by: jlahoda, jfranck
Contributed-by: srikanth.adayapalam at oracle.com

! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java
! test/tools/javac/annotations/typeAnnotations/failures/AnnotatedClassExpr.java
! test/tools/javac/annotations/typeAnnotations/failures/AnnotatedClassExpr.out

Changeset: 3e11383862ce
Author:    jlahoda
Date:      2015-01-13 19:13 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/3e11383862ce

8066843: Messager.printMessage cannot print multiple errors for same source position
Summary: Using a DiagnosticFlag to mark diagnostics that should be always printed even if multiple of them have the same source position.
Reviewed-by: darcy, jjg, mcimadamore

! src/jdk.compiler/share/classes/com/sun/tools/doclint/resources/doclint.properties
! src/jdk.compiler/share/classes/com/sun/tools/javac/api/JavacTrees.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/processing/JavacMessager.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/JCDiagnostic.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/Log.java
! test/tools/doclint/AnchorTest.out
! test/tools/doclint/AnchorTest2.out
! test/tools/doclint/HtmlTagsTest.out
! test/tools/doclint/anchorTests/p/Test.javac.out
! test/tools/doclint/anchorTests/p/Test.out
! test/tools/doclint/anchorTests/p/package-info.javac.out
! test/tools/doclint/anchorTests/p/package-info.out
! test/tools/doclint/tidy/AnchorAlreadyDefined.out
! test/tools/javac/6304921/TestLog.java
+ test/tools/javac/processing/TestMultipleErrors.java
+ test/tools/javac/processing/TestMultipleErrors.out

Changeset: c7a7b3fb997e
Author:    mcimadamore
Date:      2015-01-15 13:58 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/c7a7b3fb997e

8068995: Cleanup method reference lookup code
Summary: Simplify method reference code lookup and generate better/more uniform diagnostics
Reviewed-by: vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Kinds.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/DeferredAttr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/List.java
+ test/tools/javac/diags/examples/BadInstanceMethodInUnboundLookup.java
+ test/tools/javac/diags/examples/BadStaticMethodInBoundLookup.java
+ test/tools/javac/diags/examples/BadStaticMethodInUnboundLookup.java
- test/tools/javac/diags/examples/NonStaticCantBeRefFragment.java
- test/tools/javac/diags/examples/StaticBoundMref.java
- test/tools/javac/diags/examples/StaticMethodInUnboundLookup.java
! test/tools/javac/lambda/MethodReference22.out
! test/tools/javac/lambda/MethodReference28.out
! test/tools/javac/lambda/MethodReference51.out
! test/tools/javac/lambda/MethodReference55.out
! test/tools/javac/lambda/MethodReference68.out
! test/tools/javac/lambda/MethodReference73.out
! test/tools/javac/lambda/TargetType60.out

Changeset: 59a7535b9ff7
Author:    mcimadamore
Date:      2015-01-15 16:24 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/59a7535b9ff7

8069069: Build failure because of dependency on generated file
Summary: Make build spuriously fails to build property classes
Reviewed-by: jlahoda

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/DeferredAttr.java

Changeset: ab5991ac1286
Author:    mcimadamore
Date:      2015-01-16 12:02 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/ab5991ac1286

8069164: Fix langtools make build so that diagnostic framework can be used
Summary: Fix race condition between gensrc targets and output location of parseproperties task
Reviewed-by: erikj, jlahoda
Contributed-by: erik.joelsson at oracle.com

! make/Tools.gmk
! make/gensrc/Gensrc-jdk.compiler.gmk
! make/gensrc/GensrcCommon.gmk
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/DeferredAttr.java

Changeset: a510d7536fa1
Author:    jlahoda
Date:      2015-01-16 14:47 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/a510d7536fa1

8068517: Compiler may generate wrong InnerClasses attribute for static enum reference
Summary: Making sure enum's abstractness is resolved before writing InnerClasses entry about it.
Reviewed-by: mcimadamore

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symbol.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassWriter.java
+ test/tools/javac/classfiles/InnerClasses/T8068517.java

Changeset: 230c13955250
Author:    lana
Date:      2015-01-16 12:34 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/230c13955250

Merge

- test/tools/javac/diags/examples/NonStaticCantBeRefFragment.java
- test/tools/javac/diags/examples/StaticBoundMref.java
- test/tools/javac/diags/examples/StaticMethodInUnboundLookup.java

Changeset: 308d21ad93c9
Author:    katleman
Date:      2015-01-23 18:50 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/308d21ad93c9

Added tag jdk9-b47 for changeset 230c13955250

! .hgtags

Changeset: 52227644abfa
Author:    rfield
Date:      2015-01-16 20:03 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/52227644abfa

8068488: Facilitate extension of the javac parser -- missing modifier
Reviewed-by: jjg

! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java
+ test/tools/javac/parser/extend/JavacExtensionTest.java
+ test/tools/javac/parser/extend/TrialParser.java
+ test/tools/javac/parser/extend/TrialParserFactory.java

Changeset: c31aefdd3ab4
Author:    mcimadamore
Date:      2015-01-19 18:29 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/c31aefdd3ab4

8069229: new .java file with no copyright notice
Summary: Add missing copyright header
Reviewed-by: jlahoda

! make/tools/propertiesparser/gen/ClassGenerator.java

Changeset: 2dc86bb9736a
Author:    jlahoda
Date:      2015-01-20 09:51 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/2dc86bb9736a

8052070: javac crashes when there are duplicated type parameters
Summary: Avoid eager completion of ClassSymbol while type parameters are being processed.
Reviewed-by: jlahoda, mcimadamore
Contributed-by: srikanth.adayapalam at oracle.com

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Enter.java
+ test/tools/javac/8052070/DuplicateTypeParameter.java
+ test/tools/javac/8052070/DuplicateTypeParameter.out

Changeset: 1b58b3cc63bc
Author:    jlahoda
Date:      2015-01-20 12:00 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/1b58b3cc63bc

8069094: SuppressWarnings(\"deprecation\") not respected on default clause on annotation declarations
Summary: Properly deferring warnings that are reported during entering of annotation's default value.
Reviewed-by: mcimadamore

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/MemberEnter.java
+ test/tools/javac/warnings/suppress/T8069094.java
+ test/tools/javac/warnings/suppress/T8069094.out

Changeset: 1580b10e028a
Author:    jfranck
Date:      2015-01-20 21:49 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/1580b10e028a

8046977: ClassCastException: typing information needed for method reference bridging not preserved
Reviewed-by: mcimadamore
Contributed-by: srikanth.adayapalam at oracle.com

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/JCTree.java

Changeset: ba94059b469a
Author:    jfranck
Date:      2015-01-21 19:02 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/ba94059b469a

8070507: LambdaLambdaSerialized can fail in -agentvm mode
Reviewed-by: mcimadamore

! test/tools/javac/lambda/LambdaLambdaSerialized.java
! test/tools/javac/lambda/SerializedLambdaInInit.java

Changeset: a6f70f3d55b5
Author:    jfranck
Date:      2015-01-22 09:50 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/a6f70f3d55b5

8071310: Tests missing for checkin for JDK-8046977
Reviewed-by: jlahoda
Contributed-by: srikanth.adayapalam at oracle.com

+ test/tools/javac/lambda/MethodReferenceGenericTarget.java

Changeset: de31f7bc10c7
Author:    jlahoda
Date:      2015-01-23 15:14 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/de31f7bc10c7

8069254: Warning issued despite @SafeVarargs annotation on constructor
Summary: The Symbol created for diamond inference does not have annotations attached - need to look for @SafeVarargs on the underlying constructor's Symbol.
Reviewed-by: mcimadamore

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java
+ test/tools/javac/varargs/warning/Warn6.java

Changeset: 5b102fc29edf
Author:    lana
Date:      2015-01-24 23:22 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/5b102fc29edf

Merge


Changeset: d0315cb6ade7
Author:    katleman
Date:      2015-01-28 16:45 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/d0315cb6ade7

Added tag jdk9-b48 for changeset 5b102fc29edf

! .hgtags

Changeset: 1a05a620f8dc
Author:    sogoel
Date:      2015-01-27 15:11 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/1a05a620f8dc

8068463: Group 10c: golden files for tests in tools/javac dir
Reviewed-by: jjg, mcimadamore

! test/tools/javac/annotations/6359949/T6359949a.java
+ test/tools/javac/annotations/6359949/T6359949a.out
! test/tools/javac/annotations/default/A.java
+ test/tools/javac/annotations/default/Derr.out
+ test/tools/javac/annotations/default/Eerr.out
! test/tools/javac/annotations/neg/Dep.java
+ test/tools/javac/annotations/neg/Dep.out
! test/tools/javac/lint/Deprecation.java
+ test/tools/javac/lint/Deprecation.out
! test/tools/javac/lint/FallThrough.java
+ test/tools/javac/lint/FallThrough.out
! test/tools/javac/lint/Unchecked.java
+ test/tools/javac/lint/Unchecked.out
! test/tools/javac/staticImport/Ambig1.java
+ test/tools/javac/staticImport/Ambig1.out
! test/tools/javac/staticImport/ImportPrivate.java
+ test/tools/javac/staticImport/ImportPrivate.out
! test/tools/javac/staticImport/PrivateStaticImport.java
+ test/tools/javac/staticImport/PrivateStaticImport.out
! test/tools/javac/staticImport/Shadow.java
+ test/tools/javac/staticImport/Shadow.out
! test/tools/javac/staticImport/StaticImport2.java
+ test/tools/javac/staticImport/StaticImport2.out

Changeset: 3f816163cf59
Author:    mchung
Date:      2015-01-27 19:50 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/3f816163cf59

8068937: jdeps shows "not found" if target class has no reference other than its own package
Reviewed-by: alanb

! src/jdk.dev/share/classes/com/sun/tools/jdeps/Analyzer.java
! src/jdk.dev/share/classes/com/sun/tools/jdeps/Archive.java
! src/jdk.dev/share/classes/com/sun/tools/jdeps/JdepsTask.java
! test/tools/jdeps/Basic.java
+ test/tools/jdeps/p/C.java
+ test/tools/jdeps/p/SubClass.java
+ test/tools/jdeps/q/Gee.java

Changeset: cfe864a5e8be
Author:    jjg
Date:      2015-01-29 14:43 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/cfe864a5e8be

8071617: move pathToURLs from javac.file.Locations to javadoc.DocletInvoker
Reviewed-by: ksrini

! src/jdk.compiler/share/classes/com/sun/tools/javac/file/Locations.java
! src/jdk.javadoc/share/classes/com/sun/tools/javadoc/DocletInvoker.java

Changeset: 15c79f28e30a
Author:    lana
Date:      2015-01-29 15:36 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/15c79f28e30a

Merge


Changeset: ffbb7994cc0b
Author:    katleman
Date:      2015-02-05 11:43 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/ffbb7994cc0b

Added tag jdk9-b49 for changeset 15c79f28e30a

! .hgtags

Changeset: a7d2c38930ee
Author:    sogoel
Date:      2015-01-30 14:59 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/a7d2c38930ee

8071629: Write new test to test -j switch
Reviewed-by: jjg

+ test/tools/sjavac/ParallelCompilations.java

Changeset: 2d2baba27992
Author:    jlahoda
Date:      2015-02-02 18:52 +0530
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/2d2baba27992

8069265: ClassCastException when compiled with JDK 9b08+, JDK8 compiles OK.
Summary: Alternate fix for 8015499 to eliminate extra checkcast (by working around a limitation in Types#asSuper) without the side effect that results in 8069265
Reviewed-by: mcimadamore, jjg
Contributed-by: srikanth.adayapalam at oracle.com

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransTypes.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java
+ test/tools/javac/CheckNoClassCastException.java
! test/tools/javac/T7053059/DoubleCastTest.java

Changeset: e5f5ecfefba8
Author:    jlahoda
Date:      2015-02-02 21:53 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/e5f5ecfefba8

8072054: Cannot build langtools if checked-out in a directory ending with \"com\"
Summary: Making sure a proper package name is used when generating Properties classes
Reviewed-by: mcimadamore

! make/tools/propertiesparser/gen/ClassGenerator.java

Changeset: 5a2254319314
Author:    mchung
Date:      2015-02-03 14:09 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/5a2254319314

8069551: Move java.security.acl from compact3 to java.base
Reviewed-by: alanb, mullan, wetmore

! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/ct.properties

Changeset: 4925358d11e6
Author:    mcimadamore
Date:      2015-02-05 18:51 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/4925358d11e6

8072445: tools/javac/lambda/MethodReference55.java fails across platforms
Summary: remove copyright from test header
Reviewed-by: jlahoda

! test/tools/javac/lambda/MethodReference55.java
! test/tools/javac/lambda/MethodReference55.out

Changeset: 1ccb6ef2f40b
Author:    lana
Date:      2015-02-05 15:44 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/1ccb6ef2f40b

Merge


Changeset: 9c1c3351aa64
Author:    katleman
Date:      2015-02-12 16:23 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/9c1c3351aa64

Added tag jdk9-b50 for changeset 1ccb6ef2f40b

! .hgtags

Changeset: b93a15ac3bde
Author:    sadayapalam
Date:      2015-02-12 10:16 +0530
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/b93a15ac3bde

8069545: javac shouldn't check nested stuck lambdas during overload resolution
Summary: Nested lambdas should not be considered while overload resolution is in progress
Reviewed-by: mcimadamore
Contributed-by: vicente.romero at oracle.com, srikanth.adayapalam at oracle.com

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/DeferredAttr.java
! test/tools/javac/lambda/8016177/T8016177g.java
! test/tools/javac/lambda/8016177/T8016177g.out
+ test/tools/javac/lambda/8068399/T8068399.java
+ test/tools/javac/lambda/8068430/T8068430.java
+ test/tools/javac/lambda/8071432/T8071432.java
+ test/tools/javac/lambda/8071432/T8071432.out

Changeset: 5b8a5840e690
Author:    ksrini
Date:      2015-02-12 15:00 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/5b8a5840e690

8071836: javadoc fails as javadoc resource bundle not visible to com.sun.tools.javac.util.JavacMessages
Reviewed-by: jjg, mchung

! src/jdk.compiler/share/classes/com/sun/tools/javac/util/JavacMessages.java
! src/jdk.javadoc/share/classes/com/sun/tools/javadoc/Messager.java

Changeset: 7c44d9a33bbe
Author:    lana
Date:      2015-02-12 16:38 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/7c44d9a33bbe

Merge


Changeset: c5561bfde449
Author:    katleman
Date:      2015-02-19 11:24 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/c5561bfde449

Added tag jdk9-b51 for changeset 7c44d9a33bbe

! .hgtags

Changeset: e77eb6b8977e
Author:    emc
Date:      2015-02-13 17:00 -0500
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/e77eb6b8977e

8066725: javac produces classfiles it cannot read
Summary: Revert behavioral changes from 8029012 and 8065132
Reviewed-by: jfranck

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassWriter.java
! test/tools/javac/annotations/SyntheticParameters.java
! test/tools/javac/annotations/typeAnnotations/classfile/SyntheticParameters.java
! test/tools/javac/annotations/typeAnnotations/referenceinfos/Constructors.java

Changeset: e0b35c562008
Author:    mcimadamore
Date:      2015-02-16 12:24 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/e0b35c562008

8071241: Investigate alternate strategy for type-checking operators
Summary: Separat operator lookup logic from overload resolution.
Reviewed-by: jjg, jlahoda, sadayapalam

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symtab.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/DeferredAttr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.java
+ src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Operators.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeInfo.java
! test/tools/javac/7102515/T7102515.out
! test/tools/javac/diags/examples/IncomparableTypes.java
! test/tools/javac/expression/NullAppend.out
! test/tools/javac/expression/NullAppend2.out
- test/tools/javac/resolve/tests/PrimitiveBinopOverload.java

Changeset: 344181855204
Author:    sadayapalam
Date:      2015-02-16 19:14 +0530
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/344181855204

8073201: Incorrect @bug annotation in checkin for JDK-8069545
Reviewed-by: mcimadamore
Contributed-by: srikanth.adayapalam at oracle.com

! test/tools/javac/lambda/8068399/T8068399.java
! test/tools/javac/lambda/8068430/T8068430.java
! test/tools/javac/lambda/8071432/T8071432.java

Changeset: c40f54b4d890
Author:    jlahoda
Date:      2015-02-17 15:39 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/c40f54b4d890

8067445: New modular image-based file manager skips boot classes
Summary: Taking "sun.boot.class.path" system property into account when constructing bootclasspath for modular images.
Reviewed-by: jjg, mcimadamore

! src/jdk.compiler/share/classes/com/sun/tools/javac/file/Locations.java
+ test/tools/javac/file/BootClassPathPrepend.java
+ test/tools/javac/file/ExplodedImage.java

Changeset: 5e500700b168
Author:    vromero
Date:      2015-02-18 17:07 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/5e500700b168

8068489: remove unnecessary complexity in Flow and Bits, after JDK-8064857
Reviewed-by: mcimadamore, jjg

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Flow.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/Bits.java

Changeset: ee20efe0255d
Author:    lana
Date:      2015-02-19 16:38 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/ee20efe0255d

Merge

- test/tools/javac/resolve/tests/PrimitiveBinopOverload.java

Changeset: cdef738241cd
Author:    katleman
Date:      2015-02-26 15:58 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/cdef738241cd

Added tag jdk9-b52 for changeset ee20efe0255d

! .hgtags

Changeset: 414b82835861
Author:    dlsmith
Date:      2015-02-20 17:05 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/414b82835861

8039214: Inference should not map capture variables to their upper bounds
Summary: Update to Types.containsType; related adjustment to most-specific test
Reviewed-by: mcimadamore, vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java
+ test/tools/javac/generics/inference/CaptureLowerBound.java
+ test/tools/javac/generics/inference/CaptureLowerBoundNeg.java
+ test/tools/javac/generics/inference/CaptureLowerBoundNeg.out
+ test/tools/javac/generics/inference/NestedCapture.java
+ test/tools/javac/generics/inference/NestedWildcards.java
+ test/tools/javac/generics/wildcards/SubtypeCaptureLeak.java

Changeset: e29b25f6101f
Author:    mcimadamore
Date:      2015-02-23 13:02 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/e29b25f6101f

8071291: Compiler crashes trying to cast UnionType to IntersectionClassType
Summary: Compiler tests for .isCompound but then cast to a more specific Type subclass, resulting in CCE
Reviewed-by: vromero, jlahoda

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Type.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Infer.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransTypes.java
+ test/tools/javac/multicatch/8071291/T8071291.java

Changeset: 59af0866b952
Author:    juh
Date:      2015-02-23 11:42 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/59af0866b952

8072663: Remove the sun.security.acl package which is not used in the JDK
Reviewed-by: mullan, alanb, mchung

! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/ct.properties
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/legacy.properties

Changeset: f683944ffa42
Author:    jlahoda
Date:      2015-02-24 16:11 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/f683944ffa42

8067886: Inaccessible nested classes can be incorrectly imported
Summary: Check type accessibility at the point of import when importing the type using type-import-on-demand.
Reviewed-by: mcimadamore, jfranck

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Scope.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TypeEnter.java
+ test/tools/javac/importscope/ImportInaccessible.java
+ test/tools/javac/importscope/ImportInaccessible.out

Changeset: d6ec687ad8fb
Author:    jjg
Date:      2015-02-25 14:35 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/d6ec687ad8fb

8041628: Javadoc cross-compilation problem
Reviewed-by: jjg
Contributed-by: duboscq at ssw.jku.at

! src/jdk.javadoc/share/classes/com/sun/tools/javadoc/RootDocImpl.java

Changeset: 99ff00581f36
Author:    lana
Date:      2015-02-26 20:17 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/99ff00581f36

Merge


Changeset: 01d8ed7079f1
Author:    katleman
Date:      2015-03-05 11:26 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/01d8ed7079f1

Added tag jdk9-b53 for changeset 99ff00581f36

! .hgtags

Changeset: 1e3266d870d6
Author:    mcimadamore
Date:      2015-02-27 11:51 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/1e3266d870d6

8073550: java* tools: replace obj.getClass hacks with Assert.checkNonNull or Objects.requireNonNull
Summary: replace getClass() with approapriate NPE checks
Reviewed-by: jjg
Contributed-by: aleksey.shipilev at oracle.com

! src/java.compiler/share/classes/javax/tools/DiagnosticCollector.java
! src/java.compiler/share/classes/javax/tools/ForwardingFileObject.java
! src/java.compiler/share/classes/javax/tools/ForwardingJavaFileManager.java
! src/java.compiler/share/classes/javax/tools/JavaFileObject.java
! src/java.compiler/share/classes/javax/tools/SimpleJavaFileObject.java
! src/jdk.compiler/share/classes/com/sun/source/util/DocTreePath.java
! src/jdk.compiler/share/classes/com/sun/source/util/TreePath.java
! src/jdk.compiler/share/classes/com/sun/tools/classfile/ClassReader.java
! src/jdk.compiler/share/classes/com/sun/tools/classfile/Dependencies.java
! src/jdk.compiler/share/classes/com/sun/tools/doclint/Checker.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/api/ClientCodeWrapper.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/api/JavacScope.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/api/JavacTaskImpl.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/api/JavacTool.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/JavacFileManager.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/Locations.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/RegularFileObject.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/ZipArchive.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/ZipFileIndexArchive.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/nio/PathFileObject.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/JCTree.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/BaseFileManager.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/ListBuffer.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/Log.java
! src/jdk.compiler/share/classes/com/sun/tools/javah/JavahTask.java
! src/jdk.compiler/share/classes/com/sun/tools/javap/AttributeWriter.java
! src/jdk.compiler/share/classes/com/sun/tools/javap/JavapTask.java
! src/jdk.javadoc/share/classes/com/sun/tools/doclets/internal/toolkit/Content.java
! src/jdk.javadoc/share/classes/com/sun/tools/javadoc/Start.java
! src/jdk.javadoc/share/classes/com/sun/tools/javadoc/api/JavadocTool.java

Changeset: 218d589184d3
Author:    mcimadamore
Date:      2015-02-27 18:20 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/218d589184d3

8073842: Invalid method reference when referencing a method on a wildcard type
Summary: Method rteference lookup logic doesn't skip type-variables as required by javac.
Reviewed-by: jlahoda

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/DeferredAttr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransTypes.java
+ test/tools/javac/lambda/8073842/T8073842.java

Changeset: 592d64800143
Author:    sadayapalam
Date:      2015-03-02 10:41 +0530
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/592d64800143

8071453: Allow interface methods to be private
Reviewed-by: mcimadamore
Contributed-by: maurizio.cimadamore at oracle.com, srikanth.adayapalam at oracle.com

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Flags.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Source.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
+ test/tools/javac/defaultMethods/private/Private01.java
+ test/tools/javac/defaultMethods/private/Private02.java
+ test/tools/javac/defaultMethods/private/Private02.out
+ test/tools/javac/defaultMethods/private/Private03.java
+ test/tools/javac/defaultMethods/private/Private03.out
+ test/tools/javac/defaultMethods/private/Private04.java
+ test/tools/javac/defaultMethods/private/Private05.java
+ test/tools/javac/defaultMethods/private/Private06.java
+ test/tools/javac/defaultMethods/private/Private06.out
+ test/tools/javac/defaultMethods/private/Private07.java
+ test/tools/javac/defaultMethods/private/Private07.out
+ test/tools/javac/defaultMethods/private/Private08.java
+ test/tools/javac/defaultMethods/private/Private08.out
+ test/tools/javac/defaultMethods/private/Private09.java
+ test/tools/javac/defaultMethods/private/Private09.out
! test/tools/javac/defaultMethods/syntax/TestDefaultMethodsSyntax.java
+ test/tools/javac/diags/examples/PrivateInterfaceMethodsNotSupported.java

Changeset: 84849fdb360b
Author:    mcimadamore
Date:      2015-03-05 13:10 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/84849fdb360b

8073645: Add lambda-based lazy eval versions of Assert.check methods
Summary: Enhance Assert so that lazy string computation can occurr where needed; enhance static roding rule checkers to make sure the right version of the method is called.
Reviewed-by: jlahoda

! make/intellij/build.xml
! make/intellij/workspace.xml
! make/test/crules/CodingRulesAnalyzerPlugin/Test.java
! make/test/crules/CodingRulesAnalyzerPlugin/Test.out
! make/tools/crules/AssertCheckAnalyzer.java
! make/tools/crules/resources/crules.properties
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symtab.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeMaker.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/Assert.java

Changeset: edf685b5d413
Author:    mcimadamore
Date:      2015-03-05 15:03 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/edf685b5d413

8073432: Object.getClass() throws stackless NPE, due to C2 intrinsic
Summary: Javac should generate NPE checks using Objects.requireNonNull if -target >= 7
Reviewed-by: jlahoda
Contributed-by: aleksey.shipilev at oracle.com

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symtab.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Target.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/Names.java
+ test/tools/javac/8074306/TestSyntheticNullChecks.java

Changeset: ed34864f3b43
Author:    lana
Date:      2015-03-05 15:24 -0800
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/ed34864f3b43

Merge


Changeset: 75cedc6db8c2
Author:    katleman
Date:      2015-03-12 13:35 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/75cedc6db8c2

Added tag jdk9-b54 for changeset ed34864f3b43

! .hgtags

Changeset: 41c021f885ac
Author:    mcimadamore
Date:      2015-03-06 10:30 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/41c021f885ac

8074306: NULLCHK is emitted as Object.getClass
8074501: Javac fix for 8073432 is missing right test BugIDs
Summary: Correct test bugIds
Reviewed-by: jjg

! test/tools/javac/8074306/TestSyntheticNullChecks.java

Changeset: cfe27a999212
Author:    alundblad
Date:      2015-03-11 12:25 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/cfe27a999212

8071966: Bootcycle images build fails on Windows32/64
Summary: Added drive letter normalization in option decoding.
Reviewed-by: jlahoda

! src/jdk.compiler/share/classes/com/sun/tools/sjavac/options/Options.java

Changeset: 072008f47620
Author:    jlahoda
Date:      2015-03-11 22:24 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/072008f47620

8071851: Provide filtering of doclint checking based on packages
Summary: Introducing -Xdoclint/package:<packages> doclint option to enable/disable checking of specified packages.
Reviewed-by: jjg, darcy

! src/jdk.compiler/share/classes/com/sun/tools/doclint/Checker.java
! src/jdk.compiler/share/classes/com/sun/tools/doclint/DocLint.java
! src/jdk.compiler/share/classes/com/sun/tools/doclint/Env.java
! src/jdk.compiler/share/classes/com/sun/tools/doclint/resources/doclint.properties
! src/jdk.compiler/share/classes/com/sun/tools/javac/main/Arguments.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/main/Option.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/javac.properties
+ src/jdk.compiler/share/classes/com/sun/tools/javac/util/MatchingUtils.java
! src/jdk.javadoc/share/classes/com/sun/tools/javadoc/DocEnv.java
! test/tools/doclint/tool/HelpTest.out
+ test/tools/javac/doclint/IncludePackagesTest.java

Changeset: 55ce0df1fb75
Author:    bpatel
Date:      2015-03-11 21:57 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/55ce0df1fb75

8072461: Table's field width in "Use" page generated by javadoc with '-s' is unbalanced
Reviewed-by: jjg

! src/jdk.javadoc/share/classes/com/sun/tools/doclets/internal/toolkit/resources/stylesheet.css
! test/com/sun/javadoc/testStylesheet/TestStylesheet.java

Changeset: ea4930998b3a
Author:    bpatel
Date:      2015-03-11 23:53 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/ea4930998b3a

8074521: Generate iframe instead of frame and frameset for index.html page
Reviewed-by: jjg, ksrini

! src/jdk.javadoc/share/classes/com/sun/tools/doclets/formats/html/FrameOutputWriter.java
! src/jdk.javadoc/share/classes/com/sun/tools/doclets/formats/html/markup/DocType.java
! src/jdk.javadoc/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlDocWriter.java
! src/jdk.javadoc/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlStyle.java
! src/jdk.javadoc/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlTag.java
! src/jdk.javadoc/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlTree.java
! src/jdk.javadoc/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlWriter.java
! src/jdk.javadoc/share/classes/com/sun/tools/doclets/formats/html/resources/standard.properties
! src/jdk.javadoc/share/classes/com/sun/tools/doclets/internal/toolkit/resources/stylesheet.css
! test/com/sun/javadoc/ValidHtml/ValidHtml.java
! test/com/sun/javadoc/testIndex/TestIndex.java
! test/com/sun/javadoc/testJavascript/TestJavascript.java
- test/com/sun/javadoc/testNonFrameWarning/TestNonFrameWarning.java
- test/com/sun/javadoc/testNonFrameWarning/pkg/C.java
! test/com/sun/javadoc/testProfiles/TestProfiles.java
! test/com/sun/javadoc/testStylesheet/TestStylesheet.java

Changeset: f5a1cb1309ae
Author:    sadayapalam
Date:      2015-03-12 10:24 +0530
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/f5a1cb1309ae

8050021: Improper "duplicate case label" error
Reviewed-by: jlahoda

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! test/tools/javac/enum/EnumSwitch2.java
! test/tools/javac/enum/EnumSwitch2.out

Changeset: 32a2e7249884
Author:    lana
Date:      2015-03-12 21:13 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/32a2e7249884

Merge

- test/com/sun/javadoc/testNonFrameWarning/TestNonFrameWarning.java
- test/com/sun/javadoc/testNonFrameWarning/pkg/C.java

Changeset: 3341790c9bdb
Author:    katleman
Date:      2015-03-19 12:59 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/3341790c9bdb

Added tag jdk9-b55 for changeset 32a2e7249884

! .hgtags

Changeset: 2d47da183295
Author:    sadayapalam
Date:      2015-03-13 13:15 +0530
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/2d47da183295

8071847: java.lang.NullPointerException at com.sun.tools.javac.code.Types.elemtype(Types.java:1870)
Summary: Class file reader should recover from malformed class files that contain methods incorrectly flagged as variable arity methods.
Reviewed-by: jlahoda

! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
+ test/tools/javac/T8071847/T8071847.java
! test/tools/javac/diags/examples.not-yet.txt

Changeset: 03939be983dd
Author:    sadayapalam
Date:      2015-03-13 10:25 +0530
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/03939be983dd

8074148: Attr.visitBinary flags error at wrong position
Reviewed-by: vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/expression/BinopVoidTest.java
+ test/tools/javac/expression/BinopVoidTest.out

Changeset: 42098d16d8f9
Author:    mcimadamore
Date:      2015-03-19 11:39 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/42098d16d8f9

8074381: java.lang.AssertionError during compiling
Summary: Add extra functional interface check to prevent crash during code generation
Reviewed-by: vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/lambda/8074381/T8074381a.java
+ test/tools/javac/lambda/8074381/T8074381a.out
+ test/tools/javac/lambda/8074381/T8074381b.java
+ test/tools/javac/lambda/8074381/T8074381b.out

Changeset: 0bc7ba363b7f
Author:    mcimadamore
Date:      2015-03-19 11:40 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/0bc7ba363b7f

8074100: Turn Type.Mapping into a true visitor
Summary: replace Type.Mapping with a true visitor in Types
Reviewed-by: jlahoda, vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Type.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/DeferredAttr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Infer.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/List.java

Changeset: eb7b825ad678
Author:    mcimadamore
Date:      2015-03-19 11:40 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/eb7b825ad678

8048838: type inference performance regression
Summary: Reduce redundant bounds before attempting to do pairwise lub computation during bound incorporation.
Reviewed-by: vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Infer.java
+ test/tools/javac/generics/inference/8048838/T8048838.java

Changeset: 8819ec2a8246
Author:    mcimadamore
Date:      2015-03-19 16:23 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/8819ec2a8246

8075509: List.map should return itself if list is unchanged
Summary: Fix List.map to match semantics of old Type.map
Reviewed-by: jlahoda

! src/jdk.compiler/share/classes/com/sun/tools/javac/util/List.java

Changeset: 5ee7bba6ef41
Author:    lana
Date:      2015-03-19 16:13 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/5ee7bba6ef41

Merge


Changeset: 617c89c89a78
Author:    katleman
Date:      2015-03-26 13:09 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/617c89c89a78

Added tag jdk9-b56 for changeset 5ee7bba6ef41

! .hgtags

Changeset: fd12b2119665
Author:    aeremeev
Date:      2015-03-25 10:29 +0300
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/fd12b2119665

8049238: Implement classfile tests for Signature attribute
Reviewed-by: jjg, shurailine, anazarov

+ test/tools/javac/classfiles/attributes/Signature/ConstructorTest.java
+ test/tools/javac/classfiles/attributes/Signature/Driver.java
+ test/tools/javac/classfiles/attributes/Signature/EnumTest.java
+ test/tools/javac/classfiles/attributes/Signature/ExceptionTest.java
+ test/tools/javac/classfiles/attributes/Signature/ExpectedSignature.java
+ test/tools/javac/classfiles/attributes/Signature/ExpectedSignatureContainer.java
+ test/tools/javac/classfiles/attributes/Signature/FieldTest.java
+ test/tools/javac/classfiles/attributes/Signature/InnerClassTest.java
+ test/tools/javac/classfiles/attributes/Signature/MethodParameterTest.java
+ test/tools/javac/classfiles/attributes/Signature/MethodTypeBoundTest.java
+ test/tools/javac/classfiles/attributes/Signature/ReturnTypeTest.java
! test/tools/javac/classfiles/attributes/lib/TestResult.java

Changeset: ec977a00cecb
Author:    lana
Date:      2015-04-01 12:30 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/ec977a00cecb

Merge


Changeset: 07ce89fec301
Author:    katleman
Date:      2015-04-02 10:02 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/07ce89fec301

Added tag jdk9-b57 for changeset ec977a00cecb

! .hgtags

Changeset: a4b47fc40930
Author:    katleman
Date:      2015-04-08 13:12 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/a4b47fc40930

Added tag jdk9-b58 for changeset 07ce89fec301

! .hgtags

Changeset: c4a6ba06abeb
Author:    jlahoda
Date:      2015-03-26 11:34 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/c4a6ba06abeb

8054220: Debugger doesn't show variables *outside* lambda
8058227: Debugger has no access to outer variables inside Lambda
Summary: Put local variables captured by lambda into the lambda method's LocalVariableTable.
Reviewed-by: mcimadamore, rfield

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Code.java
! test/tools/javac/MethodParameters/LambdaTest.out
! test/tools/javac/lambda/LocalVariableTable.java

Changeset: 1a0808932668
Author:    ihse
Date:      2015-03-26 16:17 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/1a0808932668

8076060: Improve make bootstrap process
Reviewed-by: erikj

- make/Makefile

Changeset: 801b26483eb6
Author:    vromero
Date:      2015-03-27 10:11 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/801b26483eb6

8075184: javac is mistakenly considering an missing enclosing instance error as an overload error
Reviewed-by: mcimadamore

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Kinds.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/DeferredAttr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java
! test/tools/javac/diags/examples/CantAccessInnerClsConstr.java
! test/tools/javac/lambda/MethodReference23.java
! test/tools/javac/lambda/MethodReference23.out

Changeset: 8e78a3933944
Author:    bpatel
Date:      2015-03-28 10:18 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/8e78a3933944

8076026: DocTree should parse hyphenated attributes correctly
Reviewed-by: jjg, ksrini

! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/DocCommentParser.java
! test/tools/javac/doctree/AttrTest.java

Changeset: 816bd88d33a8
Author:    sadayapalam
Date:      2015-03-30 17:09 +0530
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/816bd88d33a8

8062373: Project Coin: diamond and anonymous classes
Summary: Allow diamond inference in combination with anonymous class instance creation
Reviewed-by: mcimadamore, vromero
Contributed-by: srikanth.adayapalam at oracle.com, maurizio.cimadamore at oracle.com

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Source.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Analyzer.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/AttrContext.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/DeferredAttr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Enter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeInfo.java
! test/tools/javac/classfiles/attributes/innerclasses/InnerClassesInAnonymousClassTest.java
! test/tools/javac/diags/examples/DiamondAndAnonClass.java
+ test/tools/javac/diags/examples/DiamondAndNonDenotableTypes.java
! test/tools/javac/failover/CheckAttributedTree.java
! test/tools/javac/generics/diamond/6939780/T6939780.java
! test/tools/javac/generics/diamond/6939780/T6939780_7.out
! test/tools/javac/generics/diamond/6939780/T6939780_8.out
+ test/tools/javac/generics/diamond/6939780/T6939780_9.out
! test/tools/javac/generics/diamond/6996914/T6996914a.java
! test/tools/javac/generics/diamond/6996914/T6996914b.java
! test/tools/javac/generics/diamond/8065986/T8065986b.java
! test/tools/javac/generics/diamond/8065986/T8065986b.out
+ test/tools/javac/generics/diamond/MultipleInferenceHooksTest.java
! test/tools/javac/generics/diamond/neg/Neg01.java
! test/tools/javac/generics/diamond/neg/Neg01.out
! test/tools/javac/generics/diamond/neg/Neg02.java
! test/tools/javac/generics/diamond/neg/Neg02.out
! test/tools/javac/generics/diamond/neg/Neg03.java
! test/tools/javac/generics/diamond/neg/Neg03.out
! test/tools/javac/generics/diamond/neg/Neg04.java
! test/tools/javac/generics/diamond/neg/Neg04.out
! test/tools/javac/generics/diamond/neg/Neg05.java
! test/tools/javac/generics/diamond/neg/Neg05.out
! test/tools/javac/generics/diamond/neg/Neg06.java
! test/tools/javac/generics/diamond/neg/Neg06.out
! test/tools/javac/generics/diamond/neg/Neg07.java
! test/tools/javac/generics/diamond/neg/Neg07.out
! test/tools/javac/generics/diamond/neg/Neg09.java
! test/tools/javac/generics/diamond/neg/Neg09.out
+ test/tools/javac/generics/diamond/neg/Neg12.java
+ test/tools/javac/generics/diamond/neg/Neg12.out
+ test/tools/javac/generics/diamond/neg/Neg13.java
+ test/tools/javac/generics/diamond/neg/Neg13.out
+ test/tools/javac/generics/diamond/neg/Neg14.java
+ test/tools/javac/generics/diamond/neg/Neg14.out
+ test/tools/javac/generics/diamond/neg/Neg15.java
+ test/tools/javac/generics/diamond/neg/Neg15.out
+ test/tools/javac/generics/diamond/neg/Neg16.java
+ test/tools/javac/generics/diamond/neg/Neg16.out
+ test/tools/javac/generics/diamond/neg/Neg17.java
+ test/tools/javac/generics/diamond/neg/Neg17.out
+ test/tools/javac/generics/diamond/neg/Neg18.java
+ test/tools/javac/generics/diamond/neg/Neg18.out
+ test/tools/javac/generics/diamond/neg/Neg19.java
+ test/tools/javac/generics/diamond/neg/Neg19.out
+ test/tools/javac/generics/diamond/neg/pkg/Neg18_01.java
! test/tools/javac/generics/diamond/pos/Pos01.java
! test/tools/javac/generics/diamond/pos/Pos02.java
! test/tools/javac/generics/diamond/pos/Pos03.java
! test/tools/javac/generics/diamond/pos/Pos04.java
! test/tools/javac/generics/diamond/pos/Pos05.java
! test/tools/javac/generics/inference/8055963/T8055963.java
! test/tools/javac/lambda/8066974/T8066974.java
! test/tools/javac/lambda/8066974/T8066974.out
! test/tools/javac/lambda/TargetType46.java
! test/tools/javac/lambda/TargetType46.out
! test/tools/javac/lambda/TargetType68.java
+ test/tools/javac/lambda/TargetType68.out
! test/tools/javac/lambda/TargetType69.java
! test/tools/javac/lambdaShapes/org/openjdk/tests/javac/FDTest.java
! test/tools/javac/scope/DupUnsharedTest.java

Changeset: 82a435ed8d1a
Author:    sadayapalam
Date:      2015-03-23 09:48 +0530
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/82a435ed8d1a

7040592: Gen.java: fix code for handling 'null' literal when expected type is array
Summary: Eliminate needless checkcast when null is assigned to a multi-dimensional array typedobject
Reviewed-by: mcimadamore

! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Code.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java
+ test/tools/javac/T7040592/CoerceNullToMoreSpecificTypeTest.java
+ test/tools/javac/T7040592/T7040592.java

Changeset: 701e145238da
Author:    anazarov
Date:      2015-03-26 17:39 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/701e145238da

8075610: java.desktop module dependency can be eliminated in tools/javac/generics/inference/5073060/GenericsAndPackages.java
Reviewed-by: jjg

! test/tools/javac/generics/inference/5073060/GenericsAndPackages.java

Changeset: 448dc7c4756d
Author:    anazarov
Date:      2015-03-30 16:38 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/448dc7c4756d

8075752: jdk.compiler dependency can be eliminated in MethodReferenceNullCheckTest.java
Reviewed-by: jjg

! test/tools/javac/lambda/methodReferenceExecution/MethodReferenceNullCheckTest.java

Changeset: 20d9ef15b020
Author:    jjg
Date:      2015-04-02 15:56 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/20d9ef15b020

8076420: Consolidate javac file handling in javac.file package
Reviewed-by: jlahoda

! src/jdk.compiler/share/classes/com/sun/tools/javac/api/JavacTaskImpl.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/api/JavacTool.java
+ src/jdk.compiler/share/classes/com/sun/tools/javac/file/BaseFileManager.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/BaseFileObject.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/JRTIndex.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/JavacFileManager.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/Locations.java
+ src/jdk.compiler/share/classes/com/sun/tools/javac/file/PathFileObject.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/main/Arguments.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/main/Main.java
- src/jdk.compiler/share/classes/com/sun/tools/javac/nio/JavacPathFileManager.java
- src/jdk.compiler/share/classes/com/sun/tools/javac/nio/PathFileManager.java
- src/jdk.compiler/share/classes/com/sun/tools/javac/nio/PathFileObject.java
- src/jdk.compiler/share/classes/com/sun/tools/javac/util/BaseFileManager.java
! src/jdk.javadoc/share/classes/com/sun/tools/doclets/internal/toolkit/util/DocFileFactory.java
- src/jdk.javadoc/share/classes/com/sun/tools/doclets/internal/toolkit/util/PathDocFileFactory.java
! src/jdk.javadoc/share/classes/com/sun/tools/javadoc/Start.java
! src/jdk.javadoc/share/classes/com/sun/tools/javadoc/api/JavadocTool.java
! test/tools/javadoc/api/basic/GetTask_FileManagerTest.java

Changeset: 57b69e17048f
Author:    jjg
Date:      2015-04-03 15:23 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/57b69e17048f

8076583: move jdk.Exported from langtools to jdk
Reviewed-by: darcy, alanb, tbell, mchung, jlahoda

! make/CompileInterim.gmk
! make/build.properties
! make/build.xml
! make/intellij/langtools.iml
! make/intellij/workspace.xml
! make/netbeans/langtools/nbproject/project.xml
- src/java.base/share/classes/jdk/Exported.java

Changeset: 586b7ddbb42f
Author:    lana
Date:      2015-04-03 16:35 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/586b7ddbb42f

Merge

- make/Makefile
- src/java.base/share/classes/jdk/Exported.java
- src/jdk.compiler/share/classes/com/sun/tools/javac/nio/JavacPathFileManager.java
- src/jdk.compiler/share/classes/com/sun/tools/javac/nio/PathFileManager.java
- src/jdk.compiler/share/classes/com/sun/tools/javac/nio/PathFileObject.java
- src/jdk.compiler/share/classes/com/sun/tools/javac/util/BaseFileManager.java
- src/jdk.javadoc/share/classes/com/sun/tools/doclets/internal/toolkit/util/PathDocFileFactory.java

Changeset: a598534d277e
Author:    lana
Date:      2015-04-08 14:32 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/a598534d277e

Merge

- make/Makefile
- src/java.base/share/classes/jdk/Exported.java
- src/jdk.compiler/share/classes/com/sun/tools/javac/nio/JavacPathFileManager.java
- src/jdk.compiler/share/classes/com/sun/tools/javac/nio/PathFileManager.java
- src/jdk.compiler/share/classes/com/sun/tools/javac/nio/PathFileObject.java
- src/jdk.compiler/share/classes/com/sun/tools/javac/util/BaseFileManager.java
- src/jdk.javadoc/share/classes/com/sun/tools/doclets/internal/toolkit/util/PathDocFileFactory.java

Changeset: 0b23165fe97b
Author:    katleman
Date:      2015-04-09 06:40 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/0b23165fe97b

Added tag jdk9-b59 for changeset a598534d277e

! .hgtags

Changeset: 62e285806e83
Author:    jjg
Date:      2015-04-07 11:04 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/62e285806e83

8031744: Annotations on many Language Model elements are not returned
Reviewed-by: jfranck, mcimadamore, emc, jlahoda, jjg
Contributed-by: joel.franck at oracle.com, maurizio.cimadamore at oracle.com

! src/jdk.compiler/share/classes/com/sun/tools/javac/api/JavacTrees.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/ClassFinder.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symbol.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Type.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/TypeAnnotationPosition.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/TypeAnnotations.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/TypeMetadata.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Annotate.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/AttrContext.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/DeferredAttr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Enter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/MemberEnter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransTypes.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TypeEnter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/UninitializedType.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/model/JavacTypes.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/JCTree.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/RichDiagnosticFormatter.java
! test/tools/javac/annotations/typeAnnotations/api/AnnotatedArrayOrder.java
! test/tools/javac/annotations/typeAnnotations/newlocations/BasicTest.java
! test/tools/javac/lib/DPrinter.java
! test/tools/javac/processing/model/type/BasicAnnoTests.java
! test/tools/javac/warnings/6747671/T6747671.out

Changeset: 81bdc4545337
Author:    lana
Date:      2015-04-09 17:37 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/81bdc4545337

Merge


Changeset: 35c897f16852
Author:    katleman
Date:      2015-04-17 09:59 -0700
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/35c897f16852

Added tag jdk9-b60 for changeset 81bdc4545337

! .hgtags

Changeset: a423b6a55def
Author:    mcimadamore
Date:      2015-04-22 17:42 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/a423b6a55def

merge with jdk9-b60

- make/CommonLangtools.gmk
- make/GensrcLangtools.gmk
- make/Makefile
! make/build.properties
- src/java.base/share/classes/jdk/Exported.java
! src/jdk.compiler/share/classes/com/sun/tools/classfile/Dependencies.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/api/JavacTrees.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Flags.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Lint.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Source.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symbol.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symtab.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Type.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Annotate.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/DeferredAttr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Enter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Flow.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Infer.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/MemberEnter.java
+ src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Operators.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/SpecializeTypes.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransTypes.java
+ src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TypeEnter.java
- src/jdk.compiler/share/classes/com/sun/tools/javac/file/SymbolArchive.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassWriter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Code.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/JNIWriter.java
- src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/LVTRanges.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Pool.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/main/JavaCompiler.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/model/AnnotationProxyMaker.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/model/JavacElements.java
- src/jdk.compiler/share/classes/com/sun/tools/javac/nio/JavacPathFileManager.java
- src/jdk.compiler/share/classes/com/sun/tools/javac/nio/PathFileManager.java
- src/jdk.compiler/share/classes/com/sun/tools/javac/nio/PathFileObject.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/processing/JavacMessager.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/javac.properties
! src/jdk.compiler/share/classes/com/sun/tools/javac/sym/CreateSymbols.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/JCTree.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeInfo.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeMaker.java
- src/jdk.compiler/share/classes/com/sun/tools/javac/util/BaseFileManager.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/List.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/Log.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/Names.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/RichDiagnosticFormatter.java
! src/jdk.compiler/share/classes/com/sun/tools/javap/AttributeWriter.java
- src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/AttrWithDeps.java
- src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/JavaCompilerWithDeps.java
- src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/ResolveWithDeps.java
- src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/SjavacErrorHandler.java
- src/jdk.javadoc/share/classes/com/sun/tools/doclets/internal/toolkit/util/PathDocFileFactory.java
- test/com/sun/javadoc/testJavaFX/C.java
- test/com/sun/javadoc/testJavaFX/D.java
- test/com/sun/javadoc/testNonFrameWarning/TestNonFrameWarning.java
- test/com/sun/javadoc/testNonFrameWarning/pkg/C.java
+ test/lib/annotations/annotations/classfile/ClassfileInspector.java
! test/lib/combo/tools/javac/combo/JavacTemplateTestBase.java
- test/tools/apt/Basics/CheckAptIsRemovedTest.java
- test/tools/javac/7129225/NegTest.ref
- test/tools/javac/7129225/TestImportStar.ref
- test/tools/javac/Paths/CompileClose.java
- test/tools/javac/Paths/SameJVM.java
- test/tools/javac/api/6411310/Test.java
- test/tools/javac/diags/examples/NonStaticCantBeRefFragment.java
- test/tools/javac/diags/examples/StaticBoundMref.java
- test/tools/javac/diags/examples/StaticMethodInUnboundLookup.java
- test/tools/javac/diags/examples/UnderscoreAsIdentifier.java
! test/tools/javac/failover/CheckAttributedTree.java
! test/tools/javac/generics/bridges/BridgeHarness.java
- test/tools/javac/lambda/IdentifierTest.out
- test/tools/javac/lambda/WarnUnderscoreAsIdent.java
- test/tools/javac/lambda/WarnUnderscoreAsIdent.out
! test/tools/javac/lambdaShapes/org/openjdk/tests/javac/FDTest.java
! test/tools/javac/lib/DPrinter.java
- test/tools/javac/nio/compileTest/CompileTest.java
- test/tools/javac/nio/compileTest/HelloPathWorld.java
! test/tools/javac/parser/laxIdentifiers/LaxIdentifierTemplate.java
- test/tools/javac/resolve/tests/PrimitiveBinopOverload.java
- test/tools/javac/warnings/Deprecation.lintAll.out
- test/tools/javah/compareTest/CompareTest.java
- test/tools/javah/compareTest/CompareTest.sh
- test/tools/javah/compareTest/FindNativeFiles.java
- test/tools/javah/compareTest/README
- test/tools/jdeps/profiles.properties
- test/tools/sjavac/SJavac.java

Changeset: d32645bf6e83
Author:    mcimadamore
Date:      2015-04-23 15:12 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/d32645bf6e83

Fix bug causing Types.erasure triggering too much symbol completion

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Type.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java



More information about the valhalla-dev mailing list