hg: jdk9/hs-emb/langtools: 13 new changesets
alejandro.murillo at oracle.com
alejandro.murillo at oracle.com
Fri Nov 21 23:16:34 UTC 2014
Changeset: 0b467b70ad82
Author: jlahoda
Date: 2014-11-14 11:58 +0100
URL: http://hg.openjdk.java.net/jdk9/hs-emb/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/jdk9/hs-emb/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/jdk9/hs-emb/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/jdk9/hs-emb/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/jdk9/hs-emb/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/jdk9/hs-emb/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: 09b14a813327
Author: katleman
Date: 2014-11-18 15:25 -0800
URL: http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/09b14a813327
Added tag jdk9-b40 for changeset c286272a81dd
! .hgtags
Changeset: a3d55b845adf
Author: lana
Date: 2014-11-20 10:58 -0800
URL: http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/a3d55b845adf
Merge
Changeset: b1cc1e516ff8
Author: lana
Date: 2014-11-20 11:17 -0800
URL: http://hg.openjdk.java.net/jdk9/hs-emb/langtools/rev/b1cc1e516ff8
Merge
Changeset: d5b3ff8ab3b3
Author: vromero
Date: 2014-11-20 14:05 -0800
URL: http://hg.openjdk.java.net/jdk9/hs-emb/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/jdk9/hs-emb/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/jdk9/hs-emb/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/jdk9/hs-emb/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
More information about the jdk9-hs-emb-changes
mailing list