hg: type-annotations/type-annotations/langtools: 13 new changesets
wdietl at gmail.com
wdietl at gmail.com
Sun Sep 15 00:38:00 PDT 2013
Changeset: 3a3427ab11fb
Author: wmdietl
Date: 2013-09-15 00:23 -0700
URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/3a3427ab11fb
Make test case easier to debug by using two different type annotations.
! test/tools/javac/annotations/typeAnnotations/failures/TypeVariableCycleTest.java
Changeset: 6f595e036db7
Author: wmdietl
Date: 2013-09-15 00:27 -0700
URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/6f595e036db7
Improve encapsulation of AnnotatedType - make fields private and only use accessor methods.
! src/share/classes/com/sun/tools/javac/code/Printer.java
! src/share/classes/com/sun/tools/javac/code/Type.java
! src/share/classes/com/sun/tools/javac/code/TypeAnnotations.java
! 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/Lower.java
! src/share/classes/com/sun/tools/javac/tree/JCTree.java
! test/tools/javac/annotations/typeAnnotations/failures/LintCast.out
! test/tools/javac/lib/DPrinter.java
Changeset: e1772bcdf768
Author: wmdietl
Date: 2013-09-15 00:30 -0700
URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/e1772bcdf768
Use the copied body instead of the input body.
! src/share/classes/com/sun/tools/javac/tree/TreeCopier.java
Changeset: 77d395862700
Author: jlahoda
Date: 2013-09-09 23:13 +0200
URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/77d395862700
8019521: Enhanced rethrow disabled in lambdas
Summary: Fixing effectively final detection inside lambdas, small cleanup related to thrown types detection in lambdas
Reviewed-by: mcimadamore, jjg
! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Flow.java
! src/share/classes/com/sun/tools/javac/tree/JCTree.java
+ test/tools/javac/lambda/EffectivelyFinalThrows.java
Changeset: bb7271e64ef6
Author: jfranck
Date: 2013-09-10 13:47 +0200
URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/bb7271e64ef6
8005222: Fixed bugs should have tests with bugid in @bug tag
Reviewed-by: jfranck, jjg
Contributed-by: Andreas Lundblad <andreas.lundblad at oracle.com>
! test/tools/javac/defaultMethods/ClassReaderTest/ClassReaderTest.java
! test/tools/javac/defaultMethods/Neg01.java
! test/tools/javac/defaultMethods/Neg02.java
! test/tools/javac/defaultMethods/Neg03.java
! test/tools/javac/defaultMethods/Neg04.java
! test/tools/javac/defaultMethods/Neg05.java
! test/tools/javac/defaultMethods/Neg06.java
! test/tools/javac/defaultMethods/Neg07.java
! test/tools/javac/defaultMethods/Neg08.java
! test/tools/javac/defaultMethods/Neg09.java
! test/tools/javac/defaultMethods/Neg10.java
! test/tools/javac/defaultMethods/Neg11.java
! test/tools/javac/defaultMethods/Neg12.java
! test/tools/javac/defaultMethods/Neg13.java
! test/tools/javac/defaultMethods/Neg14.java
! test/tools/javac/defaultMethods/Neg15.java
! test/tools/javac/defaultMethods/Neg16.java
! test/tools/javac/defaultMethods/Pos01.java
! test/tools/javac/defaultMethods/Pos02.java
! test/tools/javac/defaultMethods/Pos04.java
! test/tools/javac/defaultMethods/Pos05.java
! test/tools/javac/defaultMethods/Pos06.java
! test/tools/javac/defaultMethods/Pos07.java
! test/tools/javac/defaultMethods/Pos08.java
! test/tools/javac/defaultMethods/Pos10.java
! test/tools/javac/defaultMethods/Pos11.java
! test/tools/javac/defaultMethods/Pos12.java
! test/tools/javac/defaultMethods/Pos13.java
! test/tools/javac/defaultMethods/Pos14.java
! test/tools/javac/defaultMethods/Pos15.java
! test/tools/javac/defaultMethods/Pos16.java
! test/tools/javac/defaultMethods/TestDefaultBody.java
! test/tools/javac/defaultMethods/TestNoBridgeOnDefaults.java
! test/tools/javac/defaultMethods/crossCompile/CrossCompile.java
! test/tools/javac/defaultMethods/separate/Separate.java
! test/tools/javac/defaultMethods/super/TestDefaultSuperCall.java
! test/tools/javac/lambda/EffectivelyFinalTest.java
Changeset: d87f017ec217
Author: mcimadamore
Date: 2013-09-10 16:47 +0100
URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/d87f017ec217
8024414: javac, should facilitate the use of the bootstrap compiler for debugging
Reviewed-by: jjg
! make/netbeans/langtools/build.xml
! make/tools/anttasks/SelectToolTask.java
Changeset: 65c218b25b61
Author: emc
Date: 2013-09-11 08:30 -0400
URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/65c218b25b61
8024510: lib/combo/tools/javac/combo/TemplateTest.java fails
Summary: Edit regex in Template to allow "MAJOR." pattern.
Reviewed-by: briangoetz
! test/lib/combo/tools/javac/combo/Template.java
Changeset: cf37c3775397
Author: bpatel
Date: 2013-09-11 14:50 -0700
URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/cf37c3775397
8015496: Information that package is deprecated is missing in profiles view
Reviewed-by: jjg
! src/share/classes/com/sun/tools/doclets/formats/html/AbstractPackageIndexWriter.java
! src/share/classes/com/sun/tools/doclets/formats/html/HtmlDoclet.java
! src/share/classes/com/sun/tools/doclets/formats/html/PackageIndexWriter.java
! src/share/classes/com/sun/tools/doclets/formats/html/ProfileIndexFrameWriter.java
! src/share/classes/com/sun/tools/doclets/formats/html/ProfileWriterImpl.java
! src/share/classes/com/sun/tools/doclets/internal/toolkit/Configuration.java
! test/com/sun/javadoc/testProfiles/TestProfilesConfiguration.java
+ test/com/sun/javadoc/testProfiles/profile-rtjar-includes-nopkgs.txt
Changeset: 5d2d484a1216
Author: emc
Date: 2013-09-12 14:52 -0400
URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/5d2d484a1216
8013846: javac fails to reject semantically equivalent generic method declarations
Summary: Cause javac to consider intersection types with the same elements to be equal regardless of order.
Reviewed-by: jjg, vromero
! src/share/classes/com/sun/tools/javac/comp/Check.java
+ test/tools/javac/generics/neg/OrderedIntersections.java
+ test/tools/javac/generics/neg/OrderedIntersections.out
Changeset: 3ae1814f7c59
Author: vromero
Date: 2013-09-12 22:40 +0100
URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/3ae1814f7c59
8023558: Javac creates invalid bootstrap methods for complex lambda/methodref case
Reviewed-by: jjg
Contributed-by: maurizio.cimadamore at oracle.com, vicente.romero at oracle.com
! src/share/classes/com/sun/tools/javac/comp/TransTypes.java
+ test/tools/javac/lambda/8023558/T8023558a.java
+ test/tools/javac/lambda/8023558/T8023558b.java
+ test/tools/javac/lambda/8023558/T8023558c.java
Changeset: 03c26c60499c
Author: vromero
Date: 2013-09-14 15:23 +0100
URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/03c26c60499c
8024207: javac crash in Flow.AssignAnalyzer.visitIdent
Reviewed-by: jjg
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
+ test/tools/javac/T8024207/FlowCrashTest.java
+ test/tools/javac/T8024207/FlowCrashTest.out
Changeset: 4932bb04c4b8
Author: vromero
Date: 2013-09-14 19:04 +0100
URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/4932bb04c4b8
7047734: javac, the LVT is not generated correctly in several scenarios
Reviewed-by: jjg, mcimadamore
! src/share/classes/com/sun/tools/javac/code/Lint.java
! src/share/classes/com/sun/tools/javac/comp/Flow.java
! src/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
! src/share/classes/com/sun/tools/javac/comp/Lower.java
! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java
! src/share/classes/com/sun/tools/javac/comp/TransTypes.java
! src/share/classes/com/sun/tools/javac/jvm/ClassWriter.java
! src/share/classes/com/sun/tools/javac/jvm/Code.java
! src/share/classes/com/sun/tools/javac/jvm/Gen.java
! src/share/classes/com/sun/tools/javac/jvm/Items.java
+ src/share/classes/com/sun/tools/javac/jvm/LVTRanges.java
! src/share/classes/com/sun/tools/javac/tree/TreeMaker.java
! src/share/classes/com/sun/tools/javac/util/Bits.java
+ test/tools/javac/flow/AliveRanges.java
+ test/tools/javac/flow/LVTHarness.java
+ test/tools/javac/flow/tests/TestCaseConditional.java
+ test/tools/javac/flow/tests/TestCaseDoLoop.java
+ test/tools/javac/flow/tests/TestCaseFor.java
+ test/tools/javac/flow/tests/TestCaseForEach.java
+ test/tools/javac/flow/tests/TestCaseIf.java
+ test/tools/javac/flow/tests/TestCaseIfElse.java
+ test/tools/javac/flow/tests/TestCaseSwitch.java
+ test/tools/javac/flow/tests/TestCaseTry.java
+ test/tools/javac/flow/tests/TestCaseWhile.java
Changeset: 8894cf49ae1e
Author: wmdietl
Date: 2013-09-15 00:32 -0700
URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/8894cf49ae1e
Automated merge with http://hg.openjdk.java.net/jdk8/tl/langtools
! src/share/classes/com/sun/tools/javac/code/Lint.java
! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Check.java
! src/share/classes/com/sun/tools/javac/comp/Flow.java
! src/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
! src/share/classes/com/sun/tools/javac/comp/Lower.java
! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
! src/share/classes/com/sun/tools/javac/comp/TransTypes.java
! src/share/classes/com/sun/tools/javac/jvm/ClassWriter.java
! src/share/classes/com/sun/tools/javac/jvm/Code.java
! src/share/classes/com/sun/tools/javac/jvm/Gen.java
! src/share/classes/com/sun/tools/javac/tree/JCTree.java
! src/share/classes/com/sun/tools/javac/tree/TreeMaker.java
More information about the type-annotations-dev
mailing list