Werner Dietl
e2d2bb9a25
8028699: Compiler crash during speculative attribution of annotated type
...
Moving the checkForDeclarationAnnotations check into Attr.TypeAnnotationsValidator
Reviewed-by: jjg
2013-12-03 18:50:26 +01:00
Christine Lu
7872057617
Added tag jdk8-b118 for changeset e5aaa3cef7d2
2013-11-28 08:24:36 -08:00
Jan Lahoda
51d11b5222
8027789: Access method for Outer.super.m() references indirect superclass
...
Internally convert the qualified super access to an equivalent of an unqualified super access inside the access method.
Reviewed-by: vromero, jjg
2013-11-26 15:33:12 +01:00
Jan Lahoda
38ef229e3f
8026374: javac accepts void as a method parameter
...
Changing Check.validate to reject void types.
Reviewed-by: jjg, vromero
2013-11-26 15:27:19 +01:00
Joel Borggrén-Franck
979151dfa9
8028428: strictfp allowed as annotation element modifier
...
Reviewed-by: jjg
2013-11-26 13:33:33 +01:00
Jonathan Gibbons
7f2246bbef
8028318: [doclint] doclint will reject existing user-written doc comments using custom tags that follow the recommended rules
...
Reviewed-by: darcy
2013-11-25 17:42:28 -08:00
Lana Steuck
78520efca9
Merge
2013-11-25 09:41:20 -08:00
Robert Field
14ae524304
8028739: javac generates incorrect descriptor for MethodHandle::invoke
...
Introduce special handling for signature polymorphic methods
Reviewed-by: jjg
2013-11-22 17:07:35 -08:00
Christine Lu
2a37cd5b6d
Added tag jdk8-b117 for changeset b8a5f2e7f41a
2013-11-21 09:23:13 -08:00
Bhavesh Patel
274905a316
8027977: javadoc dies on NumberFormat/DateFormat subclass
...
Reviewed-by: jjg
2013-11-20 10:53:38 -08:00
Jan Lahoda
5fd77a7cef
6557966: Multiple upper bounds of the TypeVariable
...
Adjusting javax.lang.model javadoc regarding IntersectionType, IntersectionType.accept now calls visitIntersection for all kinds of IntersectionTypes.
Co-authored-by: Joe Darcy <joe.darcy@oracle.com>
Reviewed-by: darcy, vromero
2013-11-20 13:44:39 +01:00
Vicente Romero
f4c2201eb4
8028504: javac generates LocalVariableTable even with -g:none
...
Reviewed-by: jjg, jlahoda
2013-11-19 23:35:43 +00:00
Alexander Zuev
b1ae577b23
6726154: javadoc generated with incorrect version in comment
...
Reviewed-by: jjg, bpatel, erikj, tbell
2013-11-19 22:14:51 +04:00
Lana Steuck
15cdbd1aa0
Merge
2013-11-15 07:15:51 -08:00
Vicente Romero
e6e0508e1a
8026231: Look at 'static' flag when checking method references
...
Reviewed-by: jjg, dlsmith
2013-11-15 11:08:12 +00:00
Bhavesh Patel
b140c3c382
8025524: javadoc does not correctly locate constructors for nested classes
...
Reviewed-by: jjg
2013-11-14 13:47:38 -08:00
Vicente Romero
34a6de55b2
8026963: type annotations code crashes for code with erroneous trees
...
Reviewed-by: jjg, jlahoda
2013-11-14 19:28:20 +00:00
Eric McCorkle
71adca3d64
8028282: Remove @ignore from test langtools/test/tools/javac/T7042623.java
...
Remove @ignore from test
Reviewed-by: jjg
2013-11-14 12:32:57 -05:00
Christine Lu
3ad95dda8e
Added tag jdk8-b116 for changeset 1fbd33ac5531
2013-11-14 09:05:25 -08:00
Sonali Goel
b941719f94
8025113: Convert 7 tools TryWithResources tests to jtreg format
...
Reviewed-by: darcy, jjg
2013-11-13 16:36:08 -08:00
Joel Borggrén-Franck
f3cb828db7
8027375: javac asserts on nested erroneous annotations
...
Make sure JCAnnotation trees have type != null before annotation processing
Reviewed-by: jjg
2013-11-11 17:26:09 +01:00
Eric McCorkle
44f29ffde7
8027439: Compile-time error in the case of ((Integer[] & Serializable)new Integer[1]).getClass()
...
8027253: javac illegally accepts array as bound
Backing out change allowing arrays in intersection types
Reviewed-by: vromero
2013-11-11 09:47:46 -05:00
Jan Lahoda
d3eb4e0816
8027142: Invokedynamic instructions don't get line number table entries
...
When emitting invokedynamic instruction, write pendingStatPos, if set, into the LineNumberTable. Invokedynamic itself does not set the pendingStatPos.
Reviewed-by: jjg, jrose, ksrini, vromero
2013-11-09 15:24:38 +01:00
Lana Steuck
ab3713bd2f
Merge
2013-11-08 17:39:33 -08:00
Joe Darcy
d9cc608057
8027730: Fix release-8 type visitors to support intersection types
...
Reviewed-by: jjg, jlahoda, sogoel
2013-11-07 20:11:56 -08:00
Christine Lu
ccd53abea1
Added tag jdk8-b115 for changeset 115e1128ce1a
2013-11-07 08:16:38 -08:00
Jan Lahoda
e9f9c31086
8027281: Incorrect invokespecial generated for JCK lang EXPR/expr636/expr63602m* tests
...
When invoking interface default method via a superclass, use the direct superclass in the reference.
Reviewed-by: vromero, dlsmith, jjg
2013-11-06 17:48:25 +01:00
Christine Lu
12da1db3d7
8027530: javap tonga tests cleanup: test -public, -protected, -package, -private options
...
Reviewed-by: jjg
2013-11-04 18:51:56 -08:00
Christine Lu
14c3c8b4fb
8027411: javap tonga tests cleanup: write a java program to test invalid options -h and -b
...
Reviewed-by: jjg
2013-11-04 18:04:34 -08:00
Christine Lu
989860b8c3
8025844: Need test to provide coverage for new DocumentationTool.Location enum
...
Reviewed-by: jjg
2013-11-04 17:38:38 -08:00
Magnus Ihse Bursie
9e72063042
8027566: Remove the old build system
...
Reviewed-by: erikj, tbell
2013-11-04 11:08:41 +01:00
Jan Lahoda
513a51e9bb
8027310: Annotation Processor crashes with NPE
...
JCAnnotation.attribute is null when annotation type is unavailable
Reviewed-by: jjg, jfranck
2013-11-01 21:43:27 +01:00
Vicente Romero
96d9e95176
8027660: javac crash while creating LVT entry for a local variable defined in an inner block
...
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: jjg
2013-11-01 19:08:56 +00:00
Lana Steuck
0de31c2237
Merge
2013-10-31 16:46:43 -07:00
Christine Lu
47d505c488
Added tag jdk8-b114 for changeset 7e53ada0d2d4
2013-10-31 12:36:36 -07:00
Brian Goetz
6dcdc5b742
8024930: Re-enable disabled bridging tests
...
Reviewed-by: psandoz, rfield
2013-10-30 14:12:16 -04:00
Vicente Romero
9d30f46219
8027327: jar files related to test test/tools/javac/ExtDirs/ExtDirTest.java should be removed from the repo
...
Reviewed-by: ksrini
2013-10-30 18:09:49 +00:00
Mandy Chung
fa729039be
8027481: jdeps to handle classes with the same package name and correct profile for javax.crypto.*
...
Reviewed-by: alanb, dfuchs
2013-10-30 08:35:52 -07:00
Lana Steuck
14d87a0e5a
Merge
2013-10-28 12:29:34 -07:00
Robert Field
e49bc26ebc
8027220: DefaultMethodsTest: Change test to match spec
...
Reviewed-by: ksrini
2013-10-24 16:52:27 -07:00
Bhavesh Patel
3033b82865
8006248: Since addition of -Xdoclint, javadoc ignores unknown tags
...
Reviewed-by: jjg
2013-10-24 11:22:50 -07:00
Christine Lu
7217e11778
Added tag jdk8-b113 for changeset 220220c28a95
2013-10-24 09:10:52 -07:00
Eric McCorkle
e62fb20a59
8023682: Incorrect attributes emitted for anonymous class declaration
...
Cause javac to emit type annotations on new instruction as well as anonymous class supertype for annotated anonymous classes.
Reviewed-by: jjg, jfranck
2013-10-24 01:27:10 -04:00
Eric McCorkle
fb5a684124
8006732: support correct bytecode storage of type annotations in multicatch
...
Fix issue with annotations being added before attribution, which causes multicatch not to work right and several tests to fail.
Reviewed-by: jfranck, jjg
2013-10-23 23:20:32 -04:00
Jan Lahoda
017ea08922
8026936: Initialize LamdbaToMethod lazily and as required
...
Reviewed-by: jjg, rfield
2013-10-23 15:45:18 -07:00
David Katleman
a9467bf52b
Merge
2013-10-23 08:50:36 -07:00
Jan Lahoda
14fe29f845
8026861: Wrong LineNumberTable for variable declarations in lambdas
...
Setting or correcting positions for many trees produced by LambdaToMethod.
Reviewed-by: vromero, rfield
2013-10-23 07:50:04 +02:00
Jan Lahoda
237d1940c6
8027191: Fix for JDK-8026861 refers to an incorrect bug number
...
Reverting changeset e7c8a164d7bd, so that it can be applied again with a correct bug number
Reviewed-by: jjg
2013-10-23 23:02:17 +02:00
Bhavesh Patel
80787f47a9
8026770: javadoc creates invalid HTML in profile summary pages
...
Reviewed-by: jjg
2013-10-23 13:54:13 -07:00
Robert Field
c9ceea7ac7
8022720: Method refeerences - private method should be accessible (nested classes)
...
Reviewed-by: jjg, ksrini
2013-10-23 10:28:10 -07:00