hg: jdk8u/hs-dev/langtools: 18 new changesets
alejandro.murillo at oracle.com
alejandro.murillo at oracle.com
Sat May 31 05:34:48 UTC 2014
Changeset: b17805de5edf
Author: rfield
Date: 2014-05-01 11:35 -0700
URL: http://hg.openjdk.java.net/jdk8u/hs-dev/langtools/rev/b17805de5edf
8036942: javac generates incorrect exception table for multi-catch statements inside a lambda
Summary: Union type info lost and also union type is not processed by TreeMaker.Type -- address by using existing tree, thus by-passing such issues.
Reviewed-by: vromero, jlahoda
! src/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
+ test/tools/javac/lambda/LambdaMultiCatchTest.java
Changeset: d02e9b7444fe
Author: rfield
Date: 2014-05-01 15:43 -0700
URL: http://hg.openjdk.java.net/jdk8u/hs-dev/langtools/rev/d02e9b7444fe
8029852: Bad code generated (VerifyError) when lambda instantiates enclosing local class and has captured variables
8029725: Lambda reference to containing local class causes javac infinite recursion
Reviewed-by: vromero, jlahoda, dlsmith
! src/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
+ test/tools/javac/lambda/LambdaLocalTest.java
+ test/tools/javac/lambda/LambdaOuterLocalTest.java
+ test/tools/javac/lambda/SingleLocalTest.java
Changeset: 14979dd5e034
Author: vromero
Date: 2014-05-02 01:25 +0100
URL: http://hg.openjdk.java.net/jdk8u/hs-dev/langtools/rev/14979dd5e034
8030741: Inference: implement eager resolution of return types, consistent with JDK-8028800
Reviewed-by: dlsmith, jjg
! src/share/classes/com/sun/tools/javac/code/Types.java
! src/share/classes/com/sun/tools/javac/comp/Check.java
! src/share/classes/com/sun/tools/javac/comp/DeferredAttr.java
! src/share/classes/com/sun/tools/javac/comp/Infer.java
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
+ test/tools/javac/inference/EagerReturnTypeResolution/EagerReturnTypeResolutionTesta.java
+ test/tools/javac/inference/EagerReturnTypeResolution/EagerReturnTypeResolutionTestb.java
+ test/tools/javac/inference/EagerReturnTypeResolution/EagerReturnTypeResolutionTestb.out
+ test/tools/javac/inference/EagerReturnTypeResolution/PrimitiveTypeBoxingTest.java
+ test/tools/javac/inference/EagerReturnTypeResolution/PrimitiveTypeBoxingTest.out
Changeset: 3d755b8cdef8
Author: lana
Date: 2014-05-07 21:33 -0700
URL: http://hg.openjdk.java.net/jdk8u/hs-dev/langtools/rev/3d755b8cdef8
Merge
Changeset: 327122b01a9e
Author: dlsmith
Date: 2014-05-06 15:46 -0600
URL: http://hg.openjdk.java.net/jdk8u/hs-dev/langtools/rev/327122b01a9e
8033718: Inference ignores capture variable as upper bound
Summary: Split Types.lowerBound into two methods; fix bugs in inference handling of capture variables.
Reviewed-by: vromero
! src/share/classes/com/sun/tools/javac/code/Symbol.java
! src/share/classes/com/sun/tools/javac/code/Type.java
! src/share/classes/com/sun/tools/javac/code/Types.java
! src/share/classes/com/sun/tools/javac/comp/Check.java
! src/share/classes/com/sun/tools/javac/comp/Infer.java
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
! test/tools/javac/generics/inference/7086586/T7086586.out
! test/tools/javac/generics/inference/7086586/T7086586b.java
+ test/tools/javac/generics/inference/LowerBoundGLB.java
Changeset: 856d94394294
Author: dlsmith
Date: 2014-05-09 19:42 -0600
URL: http://hg.openjdk.java.net/jdk8u/hs-dev/langtools/rev/856d94394294
8042656: Inference produces spurious error for intersection type bounds check
Summary: Fix subtyping for intersections involving capture variables
Reviewed-by: vromero
! src/share/classes/com/sun/tools/javac/code/Types.java
+ test/tools/javac/generics/typevars/IntersectionSubVar.java
Changeset: f8e84de96252
Author: jlahoda
Date: 2014-05-09 09:36 +0200
URL: http://hg.openjdk.java.net/jdk8u/hs-dev/langtools/rev/f8e84de96252
8040822: Duplicated notifications can be sent to TaskListener
Summary: The analyze finished event must only be sent on the first call to JavaCompiler.flow for a given class.
Reviewed-by: jjg
! src/share/classes/com/sun/tools/javac/main/JavaCompiler.java
+ test/tools/javac/api/taskListeners/EventsBalancedTest.java
Changeset: cf626fb754aa
Author: jlahoda
Date: 2014-05-09 12:55 +0200
URL: http://hg.openjdk.java.net/jdk8u/hs-dev/langtools/rev/cf626fb754aa
8041663: Sensitive dependence on location of nested interface
Summary: Adding a method among ambiguous candidates only if it is more specific than some of the existing candidates.
Reviewed-by: dlsmith, vromero
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
+ test/tools/javac/resolve/AmbiguityErrorTest.java
Changeset: 0add97444be9
Author: mfang
Date: 2014-05-09 20:33 -0700
URL: http://hg.openjdk.java.net/jdk8u/hs-dev/langtools/rev/0add97444be9
8041424: 8u20 l10n resource file translation update 1
Reviewed-by: naoto, yhuang
! src/share/classes/com/sun/tools/doclets/formats/html/resources/standard_ja.properties
! src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/doclets_ja.properties
! src/share/classes/com/sun/tools/javac/resources/javac_ja.properties
! src/share/classes/com/sun/tools/javap/resources/javap_ja.properties
! src/share/classes/com/sun/tools/javap/resources/javap_zh_CN.properties
Changeset: f1fbe29e36d1
Author: mfang
Date: 2014-05-12 09:53 -0700
URL: http://hg.openjdk.java.net/jdk8u/hs-dev/langtools/rev/f1fbe29e36d1
Merge
- test/tools/javac/lambda/ErroneousLambdaExpr.java
- test/tools/javac/lambda/ErroneousLambdaExpr.out
Changeset: b06c2db45ddb
Author: vromero
Date: 2014-05-13 14:18 +0100
URL: http://hg.openjdk.java.net/jdk8u/hs-dev/langtools/rev/b06c2db45ddb
8029102: Enhance compiler warnings for Lambda
Reviewed-by: briangoetz, jjg, jlahoda, ahgross
! src/share/classes/com/sun/tools/javac/code/Symbol.java
! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/AttrContext.java
! src/share/classes/com/sun/tools/javac/comp/Check.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
! src/share/classes/com/sun/tools/javac/tree/TreeInfo.java
+ test/tools/javac/T8029102/WarnSerializableLambdaTest.java
+ test/tools/javac/T8029102/WarnSerializableLambdaTest.out
+ test/tools/javac/T8029102/WarnSerializableLambdaTestb.java
+ test/tools/javac/T8029102/WarnSerializableLambdaTestb.out
+ test/tools/javac/diags/examples/WarnSerializableLambda.java
Changeset: 8e7bd4c50fd1
Author: vromero
Date: 2014-05-13 16:11 +0100
URL: http://hg.openjdk.java.net/jdk8u/hs-dev/langtools/rev/8e7bd4c50fd1
8028503: javac, for method references a primitive type can be added as a bound
Reviewed-by: jjg, dlsmith
! src/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/generics/inference/T8028503/PrimitiveTypeInBoundForMethodRefTest.java
! test/tools/javac/lambda/MethodReference42.out
! test/tools/javac/lambda/MethodReference44.out
Changeset: 73cbce40a149
Author: vromero
Date: 2014-05-13 16:14 +0100
URL: http://hg.openjdk.java.net/jdk8u/hs-dev/langtools/rev/73cbce40a149
8037379: fix for JDK-8029569 doesn't cover all possible cases
Reviewed-by: jjg
! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
! test/tools/javac/T8029569/VarargsAmbiguityCrashTest.java
! test/tools/javac/T8029569/VarargsAmbiguityCrashTest.out
Changeset: 5e9879dfadde
Author: dlsmith
Date: 2014-05-13 15:34 -0600
URL: http://hg.openjdk.java.net/jdk8u/hs-dev/langtools/rev/5e9879dfadde
8042882: Support verbosity options in langtools testing
8032441: langtools/test/Makefile breaks when JT_JAVA set to a JDK 9 build
Reviewed-by: mduigou
! test/Makefile
Changeset: 89cefe38ecaf
Author: lana
Date: 2014-05-14 11:01 -0700
URL: http://hg.openjdk.java.net/jdk8u/hs-dev/langtools/rev/89cefe38ecaf
Merge
Changeset: 9c577131ffa6
Author: dlsmith
Date: 2014-05-14 15:41 -0600
URL: http://hg.openjdk.java.net/jdk8u/hs-dev/langtools/rev/9c577131ffa6
8034223: Most-specific should not have any special treatment for boxed vs. unboxed types
Summary: Rewrite most-specific logic to conform to JLS 8 15.12.2.5
Reviewed-by: vromero
! src/share/classes/com/sun/tools/javac/code/Source.java
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
! src/share/classes/com/sun/tools/javac/tree/JCTree.java
+ test/tools/javac/lambda/MostSpecific10.java
+ test/tools/javac/lambda/MostSpecific11.java
+ test/tools/javac/lambda/MostSpecific12.java
+ test/tools/javac/lambda/MostSpecific12.out
+ test/tools/javac/lambda/MostSpecific13.java
+ test/tools/javac/lambda/MostSpecific13.out
+ test/tools/javac/lambda/MostSpecific14.java
+ test/tools/javac/lambda/MostSpecific14.out
! test/tools/javac/lambda/TargetType16.java
- test/tools/javac/lambda/TargetType16.out
! test/tools/javac/lambda/TargetType23.java
! test/tools/javac/lambda/TargetType23.out
! test/tools/javac/resolve/ResolveHarness.java
! test/tools/javac/resolve/tests/PrimitiveOverReferenceVarargsAmbiguous.java
+ test/tools/javac/resolve/tests/PrimitiveVsReferenceSamePhase.java
Changeset: d9e6bb927519
Author: katleman
Date: 2014-05-21 10:57 -0700
URL: http://hg.openjdk.java.net/jdk8u/hs-dev/langtools/rev/d9e6bb927519
Added tag jdk8u20-b15 for changeset 9c577131ffa6
! .hgtags
Changeset: d1005694e384
Author: katleman
Date: 2014-05-28 02:28 -0700
URL: http://hg.openjdk.java.net/jdk8u/hs-dev/langtools/rev/d1005694e384
Added tag jdk8u20-b16 for changeset d9e6bb927519
! .hgtags
More information about the jdk8u-hs-changes
mailing list