hg: hsx/hotspot-rt/langtools: 25 new changesets

john.coomes at oracle.com john.coomes at oracle.com
Thu Jul 25 14:13:25 PDT 2013


Changeset: d6158f8d7235
Author:    vromero
Date:      2013-07-04 10:35 +0100
URL:       http://hg.openjdk.java.net/hsx/hotspot-rt/langtools/rev/d6158f8d7235

8009924: some langtools tools do not accept -cp as an alias for -classpath
Reviewed-by: jjg

! src/share/classes/com/sun/tools/doclets/internal/toolkit/Configuration.java
! src/share/classes/com/sun/tools/doclint/DocLint.java
! src/share/classes/com/sun/tools/doclint/resources/doclint.properties
! src/share/classes/com/sun/tools/javadoc/ToolOption.java
! src/share/classes/com/sun/tools/javadoc/resources/javadoc.properties
! src/share/classes/com/sun/tools/javah/JavahTask.java
! src/share/classes/com/sun/tools/javah/resources/l10n.properties
! src/share/classes/com/sun/tools/javap/JavapTask.java
! src/share/classes/com/sun/tools/javap/resources/javap.properties
! test/tools/doclint/tool/HelpTest.out

Changeset: 79c3146e417b
Author:    vromero
Date:      2013-07-04 10:41 +0100
URL:       http://hg.openjdk.java.net/hsx/hotspot-rt/langtools/rev/79c3146e417b

6356530: -Xlint:serial does not flag abstract classes with concrete methods/members
Reviewed-by: mcimadamore

! src/share/classes/com/sun/tools/javac/code/Scope.java
! src/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/T6356530/SerializableAbstractClassWithNonAbstractMethodsTest.java
+ test/tools/javac/T6356530/SerializableAbstractClassWithNonAbstractMethodsTest.out

Changeset: 7b756b307e12
Author:    mcimadamore
Date:      2013-07-05 11:00 +0100
URL:       http://hg.openjdk.java.net/hsx/hotspot-rt/langtools/rev/7b756b307e12

8017618: NullPointerException in RichDiagnosticFormatter for bad input program
Summary: RDF crashes when diagnostic contains type 'void'
Reviewed-by: jjg, vromero

! src/share/classes/com/sun/tools/javac/util/RichDiagnosticFormatter.java
+ test/tools/javac/lambda/BadNestedLambda.java
+ test/tools/javac/lambda/BadNestedLambda.out

Changeset: 70b37cdb19d5
Author:    mcimadamore
Date:      2013-07-05 11:02 +0100
URL:       http://hg.openjdk.java.net/hsx/hotspot-rt/langtools/rev/70b37cdb19d5

8019480: Javac crashes when method is called on a type-variable receiver from lambda expression
Summary: Logic for shortcircuiting speculative attribution doesn't handle type-variable receivers
Reviewed-by: jjg, vromero

! src/share/classes/com/sun/tools/javac/comp/DeferredAttr.java
+ test/tools/javac/lambda/8019480/T8019480.java
+ test/tools/javac/lambda/8019480/T8019480.out

Changeset: b0386f0dc28e
Author:    mcimadamore
Date:      2013-07-05 11:03 +0100
URL:       http://hg.openjdk.java.net/hsx/hotspot-rt/langtools/rev/b0386f0dc28e

8016059: Cannot compile following lambda
8016060: Lambda isn't compiled with return statement
Summary: Spurious error triggered during unnecessary recovery round
Reviewed-by: jjg, vromero

! src/share/classes/com/sun/tools/javac/code/Type.java
! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/DeferredAttr.java
+ test/tools/javac/lambda/TargetType75.java

Changeset: bfbedbfc522a
Author:    mcimadamore
Date:      2013-07-05 11:04 +0100
URL:       http://hg.openjdk.java.net/hsx/hotspot-rt/langtools/rev/bfbedbfc522a

8016702: use of ternary operator in lambda expression gives incorrect results
Summary: Constant types erroneously creep in during inference
Reviewed-by: jjg, vromero

! src/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/conditional/T8016702.java

Changeset: 42b3c5e92461
Author:    mcimadamore
Date:      2013-07-05 11:05 +0100
URL:       http://hg.openjdk.java.net/hsx/hotspot-rt/langtools/rev/42b3c5e92461

8019824: very long error messages on inference error
Summary: Inference error messages shows several spurious captured variables generated during an inference loop
Reviewed-by: jjg, vromero

! src/share/classes/com/sun/tools/javac/code/Type.java
! src/share/classes/com/sun/tools/javac/comp/Infer.java
+ test/tools/javac/generics/inference/8019824/T8019824.java
+ test/tools/javac/generics/inference/8019824/T8019824.out

Changeset: 49654c9c705b
Author:    lana
Date:      2013-07-05 13:29 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-rt/langtools/rev/49654c9c705b

Merge


Changeset: aedb3bb327d5
Author:    ksrini
Date:      2013-07-09 14:54 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-rt/langtools/rev/aedb3bb327d5

8020214: TEST_BUG: test/tools/javap/8007907/JavapReturns0AfterClassNotFoundTest.java broken
Reviewed-by: jjg

! test/tools/javap/8007907/JavapReturns0AfterClassNotFoundTest.java

Changeset: 87a951c88a33
Author:    mcimadamore
Date:      2013-07-11 15:37 +0100
URL:       http://hg.openjdk.java.net/hsx/hotspot-rt/langtools/rev/87a951c88a33

8013404: Unclear spec for target typing with conditional operator (?:)
Summary: Fix previously ignored test
Reviewed-by: jjg, vromero

! test/tools/javac/lambda/TargetType36.java
+ test/tools/javac/lambda/TargetType36.out

Changeset: 37031963493e
Author:    jjg
Date:      2013-07-12 13:11 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-rt/langtools/rev/37031963493e

8020278: NPE in javadoc
Reviewed-by: mcimadamore, vromero

! src/share/classes/com/sun/tools/doclint/DocLint.java
! src/share/classes/com/sun/tools/doclint/Env.java
+ test/tools/doclint/BadPackageCommentTest.java
+ test/tools/doclint/BadPackageCommentTest.out

Changeset: 44e27378f523
Author:    mcimadamore
Date:      2013-07-17 14:04 +0100
URL:       http://hg.openjdk.java.net/hsx/hotspot-rt/langtools/rev/44e27378f523

8012242: Lambda compatibility and checked exceptions
Summary: Inference variables in 'throws' clause with no constraints should be inferred as RuntimeException
Reviewed-by: jjg, vromero

! src/share/classes/com/sun/tools/javac/code/Flags.java
! src/share/classes/com/sun/tools/javac/comp/Infer.java
! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java
! test/tools/javac/generics/6723444/T6723444.java
- test/tools/javac/generics/6723444/T6723444.out
+ test/tools/javac/generics/6723444/T6723444_1.out
+ test/tools/javac/generics/6723444/T6723444_2.out
! test/tools/javac/generics/7015430/T7015430.java
- test/tools/javac/generics/7015430/T7015430.out
+ test/tools/javac/generics/7015430/T7015430_1.out
+ test/tools/javac/generics/7015430/T7015430_2.out
+ test/tools/javac/lambda/TargetType63.java
+ test/tools/javac/lambda/TargetType63.out

Changeset: 866c87c01285
Author:    mcimadamore
Date:      2013-07-17 14:09 +0100
URL:       http://hg.openjdk.java.net/hsx/hotspot-rt/langtools/rev/866c87c01285

8016175: Add bottom-up type-checking support for unambiguous method references
Summary: Type-checking of non-overloaded method references should be independent from target-type
Reviewed-by: jjg, vromero

! src/share/classes/com/sun/tools/javac/comp/Attr.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/lambda/MethodReference68.java
+ test/tools/javac/lambda/MethodReference68.out
+ test/tools/javac/lambda/MethodReference69.java
+ test/tools/javac/lambda/MethodReference69.out
+ test/tools/javac/lambda/MethodReference70.java
+ test/tools/javac/lambda/MethodReference70.out
+ test/tools/javac/lambda/MethodReference71.java
+ test/tools/javac/lambda/MethodReference71.out
+ test/tools/javac/lambda/MethodReference72.java
+ test/tools/javac/lambda/MethodReference72.out
! test/tools/javac/lambda/TargetType60.out
+ test/tools/javac/lambda/TargetType76.java

Changeset: a204cf7aab7e
Author:    mcimadamore
Date:      2013-07-17 14:11 +0100
URL:       http://hg.openjdk.java.net/hsx/hotspot-rt/langtools/rev/a204cf7aab7e

8012238: Nested method capture and inference
8008200: java/lang/Class/asSubclass/BasicUnit.java fails to compile
Summary: Inference support should be more flexible w.r.t. nested method calls returning captured types
Reviewed-by: jjg, vromero

! src/share/classes/com/sun/tools/javac/code/Type.java
! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Infer.java
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
+ test/tools/javac/lambda/NestedCapture01.java
+ test/tools/javac/lambda/NestedCapture02.java
+ test/tools/javac/lambda/NestedCapture03.java

Changeset: c60a5099863a
Author:    mcimadamore
Date:      2013-07-17 14:13 +0100
URL:       http://hg.openjdk.java.net/hsx/hotspot-rt/langtools/rev/c60a5099863a

8020147: Spurious errors when compiling nested stuck lambdas
Summary: Scope of deferred types is not copied correctly; postAttr analyzer should not run on stuck expressions
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/DeferredAttr.java
! src/share/classes/com/sun/tools/javac/comp/Flow.java
+ test/tools/javac/lambda/8020147/T8020147.java
+ test/tools/javac/lambda/8020147/T8020147.out

Changeset: 328896931b98
Author:    mcimadamore
Date:      2013-07-17 14:14 +0100
URL:       http://hg.openjdk.java.net/hsx/hotspot-rt/langtools/rev/328896931b98

8020286: Wrong diagnostic after compaction
Summary: compact diagnostic shows the least relevant method in the list
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Resolve.java
+ test/tools/javac/Diagnostics/compressed/T8020286.java
+ test/tools/javac/Diagnostics/compressed/T8020286.out

Changeset: db2c539819dd
Author:    mcimadamore
Date:      2013-07-17 14:14 +0100
URL:       http://hg.openjdk.java.net/hsx/hotspot-rt/langtools/rev/db2c539819dd

7041019: Bogus type-variable substitution with array types with dependencies on accessibility check
Summary: call to upperBound() when performing type-variable substitution on element type leads to unsoundness
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Types.java
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
! test/tools/javac/generics/7034511/T7034511a.java
! test/tools/javac/generics/7034511/T7034511a.out
! test/tools/javac/generics/7034511/T7034511b.java
! test/tools/javac/generics/7034511/T7034511b.out
+ test/tools/javac/generics/7034511/T7041019.java

Changeset: fae8f309ff80
Author:    mcimadamore
Date:      2013-07-17 14:16 +0100
URL:       http://hg.openjdk.java.net/hsx/hotspot-rt/langtools/rev/fae8f309ff80

8016640: compiler hangs if the generics arity of a base class is wrong
Summary: Check.checkCompatibleConcretes hang when javac creates synthetic supertypes for 269 model API
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Types.java
! src/share/classes/com/sun/tools/javadoc/ClassDocImpl.java
+ test/tools/javac/generics/8016640/T8016640.java
+ test/tools/javac/generics/8016640/T8016640.out

Changeset: 155809b1b969
Author:    mcimadamore
Date:      2013-07-17 14:19 +0100
URL:       http://hg.openjdk.java.net/hsx/hotspot-rt/langtools/rev/155809b1b969

8020149: Graph inference: wrong logic for picking best variable to solve
Summary: Replace logic for selecting best inference leaf in the graph during an unsticking round
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Infer.java
+ test/tools/javac/generics/inference/8020149/T8020149.java

Changeset: b577222ef7b3
Author:    mcimadamore
Date:      2013-07-17 14:19 +0100
URL:       http://hg.openjdk.java.net/hsx/hotspot-rt/langtools/rev/b577222ef7b3

8019340: varargs-related warnings are meaningless on signature-polymorphic methods such as MethodHandle.invokeExact
Summary: Disable certain varargs warnings when compiling polymorphic signature calls
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Check.java
+ test/tools/javac/meth/VarargsWarn.java
+ test/tools/javac/meth/VarargsWarn.out

Changeset: f65a807714ba
Author:    mcimadamore
Date:      2013-07-17 14:21 +0100
URL:       http://hg.openjdk.java.net/hsx/hotspot-rt/langtools/rev/f65a807714ba

8019942: Graph inference: avoid redundant computation during bound incorporation
Summary: Bound incorporation should not perform same operation multiple times
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Type.java
! src/share/classes/com/sun/tools/javac/comp/Infer.java
! test/tools/javac/generics/inference/8019824/T8019824.out

Changeset: 10711bd8bb2d
Author:    jlahoda
Date:      2013-07-17 15:08 +0200
URL:       http://hg.openjdk.java.net/hsx/hotspot-rt/langtools/rev/10711bd8bb2d

8020586: Warning produced for an incorrect file
Summary: Always using DeferredLintHandler.immediateHandler when processing import classes
Reviewed-by: mcimadamore

! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java
+ test/tools/javac/warnings/6594914/Auxiliary.java
+ test/tools/javac/warnings/6594914/ExplicitCompilation.out
+ test/tools/javac/warnings/6594914/ImplicitCompilation.java
+ test/tools/javac/warnings/6594914/ImplicitCompilation.out

Changeset: e990e6bcecbe
Author:    lana
Date:      2013-07-17 10:40 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-rt/langtools/rev/e990e6bcecbe

Merge

! src/share/classes/com/sun/tools/javac/code/Types.java
! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Check.java

Changeset: 82f68da70e47
Author:    lana
Date:      2013-07-22 17:39 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-rt/langtools/rev/82f68da70e47

Merge

- test/tools/javac/generics/6723444/T6723444.out
- test/tools/javac/generics/7015430/T7015430.out

Changeset: 0324dbf07b0f
Author:    cl
Date:      2013-07-25 03:19 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-rt/langtools/rev/0324dbf07b0f

Added tag jdk8-b100 for changeset 82f68da70e47

! .hgtags



More information about the hotspot-runtime-dev mailing list