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
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
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
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
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
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
Bhavesh Patel
3033b82865
8006248: Since addition of -Xdoclint, javadoc ignores unknown tags
...
Reviewed-by: jjg
2013-10-24 11:22:50 -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
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
Jan Lahoda
5ea357c66e
8026508: Invokedynamic instructions don't get line number table entries
...
Setting or correcting positions for many trees produced by LambdaToMethod.
Reviewed-by: vromero, rfield
2013-10-23 07:50:04 +02:00
Jonathan Gibbons
806a84e4de
Merge
2013-10-22 17:44:43 -07:00
Jonathan Gibbons
53d2f8ae31
8027119: Cleanup javadoc comments for taglet API
...
Reviewed-by: mduigou
2013-10-22 17:42:10 -07:00
Robert Field
69709943c3
8023668: Desugar serializable lambda bodies using more robust naming scheme
...
Lambda / bridged method-reference naming overhaul
Reviewed-by: ksrini, briangoetz
2013-10-22 16:53:21 -07:00
Vicente Romero
48b6b38e52
8025290: javac implicit versus explicit lambda compilation error
...
Reviewed-by: jjg, dlsmith
2013-10-22 13:54:49 +01:00
Joel Borggrén-Franck
d8d3ea2057
8026857: AnnoConstruct.getAnnotationsByType does not search supertype for inherited annotations if @SomeContainer({}) is present
...
An empty container should not stop javac from looking at supertypes for inherited repeating annotations
Reviewed-by: jjg
2013-10-22 10:08:49 +02:00
Kumar Srinivasan
39fb59399a
8026758: Inefficient code in LambdaToMethod
...
Reviewed-by: jjg, jlahoda, rfield
2013-10-21 20:10:43 -07:00
Joel Borggrén-Franck
4a79e1cec8
8026855: AnnoConstruct.getAnnotationsByType includes inherited indirectly present annotations even when containee type is not inheritable
...
In AnnoConstruct.getAnnotationByType() check that the annotation sought after is inherited before looking on supertypes.
Reviewed-by: jjg
2013-10-22 03:36:44 +02:00
Joe Darcy
7b509ee987
8026984: Clarity intended use of jdk.Exported
...
Reviewed-by: psandoz, mr, alanb
2013-10-21 15:37:11 -07:00
Werner Dietl
29582c0ec0
8026791: wrong type_path encoded for method_return on an inner class constructor
...
Reviewed-by: jjg
2013-10-20 12:46:12 -07:00
Werner Dietl
84cadf2e45
8025109: Better encapsulation for AnnotatedType
...
Reviewed-by: jjg
2013-10-20 12:01:43 -07:00
Vicente Romero
027b935c1b
8024809: javac, some lambda programs are rejected by flow analysis
...
Reviewed-by: jjg, dlsmith
2013-10-19 17:43:09 +01:00
Bhavesh Patel
cee70e2272
8026567: Use meaningful style names for strong and italic styles
...
Reviewed-by: jjg
2013-10-18 16:34:42 -07:00
Jonathan Gibbons
cf30c20337
8026749: Missing LV table in lambda bodies
...
Reviewed-by: vromero, jlahoda
2013-10-18 15:03:34 -07:00
Joe Darcy
f8e08a9965
8026838: Fix new doclint issues in javax.annotation.processing
...
Reviewed-by: jjg
2013-10-17 19:10:19 -07:00
Mandy Chung
1285dee32b
8015912: jdeps support to output in dot file format
...
8026255: Switch jdeps to follow traditional Java option style
Reviewed-by: alanb
2013-10-17 13:19:48 -07:00
Eric McCorkle
b8aff04aa0
8026286: Improper locking of annotation queues causes assertion failures
...
8026063: Calls to annotate.flush() cause incorrect type annotations to be generated
Fix locking in ClassReader.java
Reviewed-by: jfranck
2013-10-16 16:33:04 -04:00
Jonathan Gibbons
ef68cc1fc1
8026704: Build failure with --enable-debug
...
Reviewed-by: ksrini
2013-10-16 10:47:21 -07:00
Werner Dietl
e5c34a89eb
8026564: import changes from type-annotations forest
...
Co-authored-by: Steve Sides <steve.sides@oracle.com>
Reviewed-by: jjg
2013-10-15 15:57:13 -07:00
Jan Lahoda
912fc38c65
8026510: The name of com.sun.tools.javac.comp.Annotate.Annotator is confusing
...
A mostly automated rename Annotate.Annotator->Annotate.Worker and enterAnnotation->run.
Reviewed-by: emc, jjg
2013-10-15 22:15:35 +02:00
Chris Hegarty
f5392a9718
Merge
2013-10-15 21:12:33 +01:00
Vicente Romero
1868655b89
8024947: javac should issue the potentially ambiguous overload warning only where the problem appears
...
Reviewed-by: jjg
2013-10-15 21:02:21 +01:00
Chris Hegarty
0fd34f307d
Merge
2013-10-15 20:47:55 +01:00
Vicente Romero
53cc43916a
8025816: javac crash with method reference with a type variable as the site
...
Reviewed-by: jjg
2013-10-15 19:36:45 +01:00
Bhavesh Patel
99e02c21cd
8026370: javadoc creates empty <span class="italic"></span>
...
Reviewed-by: jjg
2013-10-15 11:20:27 -07:00
Jan Lahoda
52d83865b8
8026180: com.sun.source.tree.NewArrayTree refers to com.sun.tools.javac.util.List
...
Correcting import in NewArrayTree, adding test protecting againts improper types in API signatures
Reviewed-by: jjg
2013-10-15 16:23:18 +02:00
Chris Hegarty
95866e7e4f
Merge
2013-10-15 14:17:11 +01:00
Jonathan Gibbons
0837163643
8025998: Missing LV table in lambda bodies
...
Reviewed-by: vromero
2013-10-14 23:07:43 -07:00
Jonathan Gibbons
31b34ce39c
8025693: recent javadoc changes cause com/sun/javadoc/testLinkOption/TestLinkOption.java to fail
...
Reviewed-by: darcy
2013-10-14 22:34:37 -07:00
Jonathan Gibbons
fc85ec65d8
8026371: "tidy" issues in langtools/src/**/*.html files
...
Reviewed-by: darcy
2013-10-14 16:28:44 -07:00
Jan Lahoda
da21af58f4
8014016: javac is too late detecting invalid annotation usage
...
Adding new queue to Annotate for validation tasks, performing annotation validation during enter
Reviewed-by: jjg, emc, jfranck
2013-10-14 22:11:09 +02:00