hg: tiered-attrib/dev/langtools: 42 new changesets

vicente.romero at oracle.com vicente.romero at oracle.com
Tue May 19 23:14:39 UTC 2015


Changeset: b6198f4cb3b1
Author:    vromero
Date:      2015-05-19 15:30 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/b6198f4cb3b1

adding more checks for structural types to visitor DebugAnalyzer

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

Changeset: 3349211862b8
Author:    vromero
Date:      2015-05-19 15:32 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/3349211862b8

fixing identation and using previously obtained type at Attr.visitIdent

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

Changeset: 2142994c2306
Author:    vromero
Date:      2015-05-19 15:33 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/2142994c2306

do recovery only in case of error

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

Changeset: 5472f99667cb
Author:    vromero
Date:      2015-05-19 15:34 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/5472f99667cb

removing one unnecessary check at visitLambda

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

Changeset: 206cbda87e3d
Author:    vromero
Date:      2015-05-19 15:35 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/206cbda87e3d

assert that Attr.checkType tries to register listeners only for structural types

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

Changeset: 1a851bbc1188
Author:    vromero
Date:      2015-05-19 15:37 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/1a851bbc1188

if the inference context has a parent then use it

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

Changeset: aa832aeef9cb
Author:    vromero
Date:      2015-05-19 15:37 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/aa832aeef9cb

removing several debug statements

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

Changeset: ce7511f64da6
Author:    vromero
Date:      2015-05-19 15:39 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/ce7511f64da6

removing checkType listener

! 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/TieredAttrUtils.java

Changeset: 7b6fa80c09c0
Author:    vromero
Date:      2015-05-19 15:40 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/7b6fa80c09c0

attribute stuck arguments again during target type phase and after method instantiation

! 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/InferenceContext.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TieredAttrUtils.java

Changeset: 3ceb93fbd6d1
Author:    vromero
Date:      2015-05-19 15:41 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/3ceb93fbd6d1

keep return expressions at visitLambda during target type phase

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

Changeset: 8a373b99d7dd
Author:    vromero
Date:      2015-05-19 15:42 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/8a373b99d7dd

give up attribution of invocation if arguments are structural and inference context has non instantiated vars

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

Changeset: f20d130b0fe1
Author:    vromero
Date:      2015-05-19 15:43 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/f20d130b0fe1

save and reuse information obtained during attribution of method references

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

Changeset: 86a0a7ab4684
Author:    vromero
Date:      2015-05-19 15:44 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/86a0a7ab4684

dont nuke structural type on inference error

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

Changeset: dde2dc66a6f4
Author:    vromero
Date:      2015-05-19 15:45 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/dde2dc66a6f4

keep structural type at visitApply if inferenceContext has not been resolved

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

Changeset: 09983f4a327a
Author:    vromero
Date:      2015-05-19 15:46 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/09983f4a327a

always attribute structural type in return expressions

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

Changeset: 16b96d3c5fcb
Author:    vromero
Date:      2015-05-19 15:47 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/16b96d3c5fcb

never attribute structural types in return expressions during overload

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

Changeset: 29adf7954173
Author:    vromero
Date:      2015-05-19 15:48 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/29adf7954173

use special type for attributing lambda bodies

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

Changeset: 440ef4cac75b
Author:    vromero
Date:      2015-05-19 15:49 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/440ef4cac75b

methods for setting the parent of an inference context

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

Changeset: 2fce9c3e60be
Author:    vromero
Date:      2015-05-19 15:51 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/2fce9c3e60be

check if method instantiation failed during target type instantiation

! 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/InferenceContext.java

Changeset: f80589295c00
Author:    vromero
Date:      2015-05-19 15:53 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/f80589295c00

check lambda if resultInfo is recovery

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

Changeset: 4bdd0f6014c1
Author:    vromero
Date:      2015-05-19 15:54 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/4bdd0f6014c1

remove all the infrastructure related to inference context observers

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

Changeset: e161f65f9087
Author:    vromero
Date:      2015-05-19 15:55 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/e161f65f9087

substitute child inference context by the parent at structural invocation type

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

Changeset: 131682454fa4
Author:    vromero
Date:      2015-05-19 15:56 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/131682454fa4

use always the upper most inference context parent

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

Changeset: 6ed7adbeb836
Author:    vromero
Date:      2015-05-19 15:57 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/6ed7adbeb836

removing listeners registered at checkAccessibleTypes

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

Changeset: cfe9fe915316
Author:    vromero
Date:      2015-05-19 15:57 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/cfe9fe915316

removing listeners registered at checkReferenceCompatible

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

Changeset: 729ee94515b4
Author:    vromero
Date:      2015-05-19 15:58 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/729ee94515b4

removing listeners registered at visitNewClass

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

Changeset: 2af98b30d4c7
Author:    vromero
Date:      2015-05-19 15:58 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/2af98b30d4c7

removing listeners registered at checkMethod

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

Changeset: aa476c94ab59
Author:    vromero
Date:      2015-05-19 15:59 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/aa476c94ab59

simplifying  call to notifyChange

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

Changeset: 9b2414579853
Author:    vromero
Date:      2015-05-19 15:59 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/9b2414579853

removing listeners registered at Check checkType

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

Changeset: 2d892ea32801
Author:    vromero
Date:      2015-05-19 16:00 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/2d892ea32801

using the inference context cache to eliminate the listener at Check checkType

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

Changeset: b611abb42be1
Author:    vromero
Date:      2015-05-19 16:01 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/b611abb42be1

check argument types only if the list of bounded vars is not empty

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

Changeset: 1c67f776607b
Author:    vromero
Date:      2015-05-19 16:03 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/1c67f776607b

dont modify actuals at MostSpecificCheck with reuse in mind

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

Changeset: 70c078b0bd41
Author:    vromero
Date:      2015-05-19 16:03 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/70c078b0bd41

call listeners if in legacy mode

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

Changeset: 3d0177cc445e
Author:    vromero
Date:      2015-05-19 16:04 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/3d0177cc445e

remove inference event priorities

! 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/Infer.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/InferenceContext.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java

Changeset: 74c89d10b085
Author:    vromero
Date:      2015-05-19 16:05 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/74c89d10b085

dont change the type of the tree at Attr checkType if type is structural

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

Changeset: e1cfaa4b6a84
Author:    vromero
Date:      2015-05-19 16:07 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/e1cfaa4b6a84

modifications to how inference context parents are used

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

Changeset: 8713d6e1742e
Author:    vromero
Date:      2015-05-19 16:08 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/8713d6e1742e

use the inference context cache for captured inference variables

! 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/InferenceContext.java

Changeset: 2f8e26f9cfe7
Author:    vromero
Date:      2015-05-19 16:09 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/2f8e26f9cfe7

check if inference context parent has been modified at visitApply

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

Changeset: 89ee2cf06c98
Author:    vromero
Date:      2015-05-19 16:09 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/89ee2cf06c98

structural type could be null during recovery at visitLambda

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

Changeset: d475ad560f5f
Author:    vromero
Date:      2015-05-19 16:10 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/d475ad560f5f

check that parent is different from current inference context at setParent

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

Changeset: 14f97e8223a3
Author:    vromero
Date:      2015-05-19 16:11 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/14f97e8223a3

set inference context parent only during the target type phase

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

Changeset: d9241cd0ed5a
Author:    vromero
Date:      2015-05-19 16:13 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/d9241cd0ed5a

removing white spaces

! 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/InferenceContext.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TieredAttrUtils.java



More information about the tiered-attrib-dev mailing list