History log of /openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
Revision Date Author Comments
# 4235:0b74aa85c3c5 30-Jun-2017 vromero

8182047: javac compile error on type-parameter-exceptions in lambda expressions
Reviewed-by: mcimadamore


# 4233:481439a86724 29-Jun-2017 vromero

8182649: Unable to integrate due to compilation error
Reviewed-by: mcimadamore


# 4202:2bd34895dda2 15-Jun-2017 jlahoda

8170326: Inconsistencies between code, compiler.properties and comments
Summary: Converting uses of Log and JCDiagnostic.Factory methods to use CompilerProperties instead of plain Strings, fixing inconsistencies, adding crules analyzer to ensure CompilerProperties are used whenever possible.
Reviewed-by: mcimadamore


# 4038:95c92c634f60 08-Mar-2017 mcimadamore

8176265: Method overload resolution on a covariant base type doesn't work in 9
Summary: Some type mappings should not be recursive
Reviewed-by: vromero, jlahoda


# 3853:9d2379f8dd41 03-Jan-2017 dlsmith

8144066: StackOverflowException when computing glb
Reviewed-by: mcimadamore


# 3850:8e69054abeeb 21-Dec-2016 cushon

8171132: Improve class reading of invalid or out-of-range ConstantValue attributes
Reviewed-by: mcimadamore


# 3828:d30434bde0a8 16-Dec-2016 mcimadamore

8171371: Remove redundant type-arguments from generic method calls
Reviewed-by: jjg, rfield, mchung


# 3819:49170d831308 14-Dec-2016 dlsmith

8075793: Source incompatibility for inference using -source 7
Summary: In pre-8 sources, avoid capture variables as inference bounds, consistent with old javac behavior
Reviewed-by: vromero, mcimadamore


# 3735:85a8bfb00296 01-Nov-2016 vromero

8167431: javac takes too long time to resolve interface dependency
Reviewed-by: mcimadamore


# 3729:6a79477df95d 26-Oct-2016 mcimadamore

8168774: Polymorhic signature method check crashes javac
Summary: Check for polysig method assumes arity is greater than zero
Reviewed-by: vromero


# 3707:645100bea379 17-Oct-2016 mcimadamore

8167000: Refine handling of multiple maximally specific abstract methods
Summary: Bring the compiler in sync with spec changes in JDK-7034913
Reviewed-by: vromero, dlsmith


# 3610:c10b810f0685 24-Aug-2016 vromero

8047338: javac is not correctly filtering non-members methods to obtain the function descriptor
Reviewed-by: mcimadamore


# 3504:30bfbfa94fad 28-Jun-2016 vromero

8159970: javac, JLS8 18.2.4 is not completely implemented by the compiler
Reviewed-by: mcimadamore


# 3487:607156b3113a 17-Jun-2016 mcimadamore

8159680: Inference failure with unchecked subtyping and arrays
Summary: Discrepancy in handling of capture conversion between Types.isSubtype and Types.isSubtypeUnchecked
Reviewed-by: vromero


# 3458:7a4c716bb608 02-Jun-2016 vromero

8037947: functional interface causes ClassCastException when extending raw superinterface
Reviewed-by: mcimadamore


# 3324:82f94333bd7e 24-Mar-2016 zmajo

Merge


# 3323:680712ce0386 24-Mar-2016 psandoz

8149644: Integrate VarHandles
Reviewed-by: mcimadamore, forax


# 3294:9adfb22ff08f 17-Mar-2016 alanb

8142968: Module System implementation
Summary: Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282
Reviewed-by: jjg, jlahoda, vromero, mcimadamore, bpatel, ksrini, darcy, anazarov, dfuchs
Contributed-by: alan.bateman@oracle.com, alex.buckley@oracle.com, jonathan.gibbons@oracle.com, karen.kinnear@oracle.com, mandy.chung@oracle.com, mark.reinhold@oracle.com, jan.lahoda@oracle.com, vicente.romero@oracle.com, andreas.lundblad@oracle.com, andrey.x.nazarov@oracle.com, chris.hegarty@oracle.com, erik.joelsson@oracle.com, kumar.x.srinivasan@oracle.com, sundararajan.athijegannathan@oracle.com


# 3199:3a6560c043d2 08-Jan-2016 dlsmith

8143852: Implement type variable renaming for functional interface most specific test
Reviewed-by: mcimadamore, vromero


# 3175:61faee2b9c2b 16-Dec-2015 mcimadamore

8142876: Javac does not correctly implement wildcards removal from functional interfaces
Summary: Rewrite code for removing wildcard from target functional interface to be in sync with JLS 9.9
Reviewed-by: vromero, dlsmith


# 3174:d53f7a1cde9c 16-Dec-2015 vromero

8144832: cast conversion fails when converting a type-variable to primitive type
Reviewed-by: mcimadamore


# 3158:aae35f1ac70b 08-Dec-2015 sadayapalam

8138598: Incorrect reference to JLS in javadoc for Types.isSignaturePolymorphic()
Reviewed-by: mcimadamore


# 3111:dd06d18cd7dd 19-Nov-2015 mcimadamore

8067767: type inference performance regression
Summary: Overhaul implememntation of inference incorporation
Reviewed-by: vromero


# 3109:500d36bee375 18-Nov-2015 sadayapalam

8142931: java compiler: type erasure doesn't work since 9-b28
Summary: Reinstate pre JDK-8055054 behavior with respect to erasing wildcard types.
Reviewed-by: mcimadamore


# 3090:2a83d2947323 11-Nov-2015 sadayapalam

8142467: Remove all references Flags.IPROXY
Summary: Remove all references to flag bit IPROXY that has fallen into disuse.
Reviewed-by: mcimadamore


# 3083:3298cbc00d2f 05-Nov-2015 mcimadamore

8141343: Subtle semantics changes for union types in cast conversion
Summary: cast applied to union types do not behave correctly and sometimes pass erroneously
Reviewed-by: jlahoda


# 3045:7ef2c66892a3 06-Oct-2015 vromero

8138914: javac, method visitTypeVar() at visitor Types.hashCode generates the same hash code for different type variables
Reviewed-by: mcimadamore


# 3031:286fc9270404 15-Sep-2015 mcimadamore

8078093: Severe compiler performance regression Java 7 to 8 for nested method invocations
Summary: Add infrastructure to avoid combinatorial explosion of method argument attributions
Reviewed-by: jlahoda, vromero, dlsmith


# 2953:aff504edf8a1 04-Jun-2015 jlahoda

8039262: Java compiler performance degradation jdk1.7 vs. jdk1.6 should be amended
Summary: Avoiding Scope listener leak by avoiding cache misses in Types.MembersClosureCache
Reviewed-by: mcimadamore, vromero
Contributed-by: maurizio.cimadamore@oracle.com


# 2941:c11a5cb11750 26-May-2015 sadayapalam

8080726: Redundant error message on private abstract interface method with body.
Reviewed-by: mcimadamore


# 2897:524255b0bec0 28-Apr-2015 alundblad

8078600: Infinite loop when compiling annotations with -XDcompletionDeps
Summary: Added Completer::isTerminal and added NULL_COMPLETER.
Reviewed-by: jlahoda, mcimadamore


# 2877:62e285806e83 07-Apr-2015 jjg

8031744: Annotations on many Language Model elements are not returned
Reviewed-by: jfranck, mcimadamore, emc, jlahoda, jjg
Contributed-by: joel.franck@oracle.com, maurizio.cimadamore@oracle.com


# 2856:eb7b825ad678 19-Mar-2015 mcimadamore

8048838: type inference performance regression
Summary: Reduce redundant bounds before attempting to do pairwise lub computation during bound incorporation.
Reviewed-by: vromero


# 2855:0bc7ba363b7f 19-Mar-2015 mcimadamore

8074100: Turn Type.Mapping into a true visitor
Summary: replace Type.Mapping with a true visitor in Types
Reviewed-by: jlahoda, vromero


# 2838:218d589184d3 27-Feb-2015 mcimadamore

8073842: Invalid method reference when referencing a method on a wildcard type
Summary: Method rteference lookup logic doesn't skip type-variables as required by javac.
Reviewed-by: jlahoda


# 2831:e29b25f6101f 23-Feb-2015 mcimadamore

8071291: Compiler crashes trying to cast UnionType to IntersectionClassType
Summary: Compiler tests for .isCompound but then cast to a more specific Type subclass, resulting in CCE
Reviewed-by: vromero, jlahoda


# 2830:414b82835861 20-Feb-2015 dlsmith

8039214: Inference should not map capture variables to their upper bounds
Summary: Update to Types.containsType; related adjustment to most-specific test
Reviewed-by: mcimadamore, vromero


# 2824:e0b35c562008 15-Feb-2015 mcimadamore

8071241: Investigate alternate strategy for type-checking operators
Summary: Separat operator lookup logic from overload resolution.
Reviewed-by: jjg, jlahoda, sadayapalam


# 2813:2d2baba27992 02-Feb-2015 jlahoda

8069265: ClassCastException when compiled with JDK 9b08+, JDK8 compiles OK.
Summary: Alternate fix for 8015499 to eliminate extra checkcast (by working around a limitation in Types#asSuper) without the side effect that results in 8069265
Reviewed-by: mcimadamore, jjg
Contributed-by: srikanth.adayapalam@oracle.com


# 2794:a510d7536fa1 16-Jan-2015 jlahoda

8068517: Compiler may generate wrong InnerClasses attribute for static enum reference
Summary: Making sure enum's abstractness is resolved before writing InnerClasses entry about it.
Reviewed-by: mcimadamore


# 2786:143e819d5ddc 13-Jan-2015 jlahoda

8062358: ClassCastException in TransTypes.visitApply
Summary: Incorrect handling of subtype relations involving lower bounded wildcard causes ClassCastException
Reviewed-by: vromero, dlsmith
Contributed-by: srikanth.adayapalam@oracle.com


# 2704:7b6a6aeeb544 06-Nov-2014 mcimadamore

6987475: Order of declarations affects whether abstract method considered overridden
Summary: Types.implementation erroneously returns first matching method in hierarchy.
Reviewed-by: vromero


# 2677:211903a785f3 23-Oct-2014 vromero

8057800: Method reference with generic type creates NPE when compiling
Reviewed-by: mcimadamore, dlsmith


# 2673:bf8500822576 21-Oct-2014 emc

8054457: Refactor Symbol kinds from small ints to an enum
Summary: Replace bitmap logic in symbol.kind and pkind with an enum-based API
Reviewed-by: mcimadamore, jjg


# 2668:6f666e88a0f4 13-Oct-2014 mcimadamore

8058511: StackOverflowError at com.sun.tools.javac.code.Types.lub
Summary: Lub crashes when handling typevar with array bound
Reviewed-by: vromero, dlsmith


# 2646:ff1998c1ecab 22-Sep-2014 emc

8048614: Add TypeMetadata to contain type annotations and other type information
Summary: Implement general framework for metadata on types
Reviewed-by: mcimadamore


# 2593:035b01d356ee 18-Aug-2014 chegar

Merge


# 2571:10fc81ac75b4 17-Aug-2014 chegar

8054834: Modular Source Code
Reviewed-by: alanb, chegar, ihse, mduigou
Contributed-by: alan.bateman@oracle.com, alex.buckley@oracle.com, chris.hegarty@oracle.com, erik.joelsson@oracle.com, jonathan.gibbons@oracle.com, karen.kinnear@oracle.com, magnus.ihse.bursie@oracle.com, mandy.chung@oracle.com, mark.reinhold@oracle.com, paul.sandoz@oracle.com