hg: jdk9/hs-emb/langtools: 8 new changesets

alejandro.murillo at oracle.com alejandro.murillo at oracle.com
Sat Dec 20 03:21:50 UTC 2014


Changeset: 3c1b5fcf6fad
Author:    mcimadamore
Date:      2014-12-12 18:07 +0000
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/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/jdk9/hs-emb/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/jdk9/hs-emb/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/jdk9/hs-emb/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/jdk9/hs-emb/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/jdk9/hs-emb/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/jdk9/hs-emb/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: 20475c78a0a6
Author:    jfranck
Date:      2014-12-19 21:07 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/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



More information about the jdk9-hs-emb-changes mailing list