Joel Borggren-Franck
7d3885b239
8031744: Annotations on many Language Model elements are not returned
...
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Reviewed-by: jfranck, mcimadamore, emc, jlahoda, jjg
2015-04-07 11:04:29 -07:00
Jan Lahoda
59b3453845
8061549: Disallow _ as a one-character identifier
...
Underscore is no longer a one-charater identifier with -source 9
Reviewed-by: mcimadamore, jjg
2014-12-08 18:02:07 +01:00
Chris Hegarty
189df3ac57
Merge
2014-12-03 19:28:40 +00:00
Chris Hegarty
8bc2b3ff3a
8049367: Modular Run-Time Images
...
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: jlahoda, ksrini
2014-12-03 14:25:46 +00:00
Jonathan Gibbons
56e39629eb
8065054: Some tests have junk before the legal header
...
Reviewed-by: darcy
2014-11-20 14:23:31 -08:00
Eric McCorkle
aca235b121
8062245: Test executes incorrect class
...
Fix issue with test executing incorrect class, and trivial test failure linked to different subclasses of CharSequance.
Reviewed-by: jjg
2014-11-06 17:39:57 -05:00
Jonathan Gibbons
8bd23f1681
8062348: langtools tests should close file manager (group 1)
...
Reviewed-by: darcy
2014-10-29 17:25:23 -07:00
Joel Borggrén-Franck
053a9d56cd
8056021: checkin for JDK-8027262 breaks Checker Framework
...
Reviewed-by: jjg, mcimadamore
2014-09-08 13:11:28 +02:00
Joe Darcy
dee421ed14
8050430: Provided new utility visitors supporting SourceVersion.RELEASE_9
...
Reviewed-by: jjg
2014-07-17 09:47:25 -07:00
Paul Govereau
5b1596bc25
8042345: getDocComment fails for doc comments on PackageElement found in package-info.java
...
Reviewed-by: jjg
2014-06-26 13:48:58 -04:00
Jan Lahoda
e6b9e34ebe
8046916: Type parameter annotations don't work with multiple type parameters
...
When reading type variable's annotations out of the owner's type annotations, use the type variable's index in owner to exclude annotations belonging to other type variables.
Reviewed-by: jfranck, emc
2014-06-18 10:44:16 +02:00
Eric McCorkle
8ff3cbd414
8027262: Determine location for type annotations earlier in compiler pipeline
...
8027261: Single codepath for attaching annotations to symbols
8027258: Permit a single source annotation to generate multiple bytecode annotations
8027182: Incorrect annotation attributes for type annotations on constructor type parameters
8044010: TypeAnnotation attribute is not generated for repeatable annotation in type argument
8044009: TypeAnnotation attribute is not generated for repeatable annotation in nested types
8043974: TypeAnnotation attribute is not generated for repeatable annotation in lambda
8043669: Few of the ANNOT tests in JCK9 test suite fail with an AssertionError for exception_index
8042060: Type parameter annotations don't work with multiple type parameters
8037348: RuntimeInvisibleAnnotations should not be generated for type annotation on anonymous innerclass creation
Initial rearchitecting of type annotations frontend pipeline
Reviewed-by: jjg, jfranck, mcimadamore, jlahoda, wmdietl
2014-06-06 16:00:59 -04:00
Jonathan Gibbons
7e2e9759d5
8042358: some tests have placeholder bugid 1234567
...
Reviewed-by: mduigou
2014-05-02 16:41:10 -07:00
Jan Lahoda
e5c8101894
8038455: Use single Context for all rounds of annotation processing
...
One set of javac services, as well as created ClassSymbols, is reused for all rounds of processing now.
Reviewed-by: jjg, jfranck, darcy, vromero
2014-04-08 14:06:11 +02:00
Paul Govereau
e231918e58
8034933: Update documentation for Types.directSupertypes to clarify behavior
...
Reviewed-by: darcy
2014-04-01 23:52:10 -07:00
Joe Darcy
6fc7157058
8028543: Add SourceVersion.RELEASE_9
...
Reviewed-by: jjg
2014-01-07 11:43:56 -08:00
Jan Lahoda
b06d1bfb55
8029715: test needs bugID added to @bug tag
...
Adding forgotten bug number
Reviewed-by: vromero
2013-12-17 10:55:58 +01: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
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
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
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
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
5ec0ba7c47
8025087: Annotation processing api returns default modifier for interface static method
...
ClassReader must not set Flags.DEFAULT for interface static methods
Reviewed-by: vromero, jjg
2013-10-09 13:09:31 +02:00
Jan Lahoda
dd031ed38f
8025118: Annotation processing api returns default modifier for interface without default methods
...
TypeElement.getModifiers() should not contain Modifier.DEFAULT
Reviewed-by: darcy, jjg
2013-10-04 08:29:54 +02:00
Eric McCorkle
d03ac9784a
8025413: NPE in Type.java due to recent change
...
IsCompound throws a NPE for noType and other types. Made it return a reasonable result instead.
Reviewed-by: jjg, vromero
2013-09-28 13:46:14 -04:00
Eric McCorkle
c101eca6bb
6499673: Assertion check for TypeVariable.getUpperBound() fails
...
Fix TypeVariable.getUpperBound to return results as specified
Reviewed-by: jjg
2013-09-23 15:37:59 -04:00
Jonathan Gibbons
810c76f567
8006972: jtreg test fails: test/tools/javac/processing/model/element/TestMissingElement/TestMissingElement.java
...
Reviewed-by: darcy
2013-09-09 17:36:23 -07:00
Kumar Srinivasan
c9f3cedbfa
7179455: tools/javac/processing/model/testgetallmembers/Main.java fails against JDK 7 and JDK 8
...
Reviewed-by: jjg
2013-08-20 14:15:45 -07:00
Joel Borggrén-Franck
70ac5c3a48
8009367: Wrong kind of name used in comparison in javax.lang.model code for repeatable annotations
...
Reviewed-by: jjg, darcy
2013-08-07 01:32:39 +02:00
Joel Borggrén-Franck
2030148ec2
8007961: javax.lang.model tests for repeating annotations fail in getAnnotationsByType
...
Reviewed-by: jjg
2013-07-25 11:02:27 +02:00
Werner Dietl
54582cab82
8013852: update reference impl for type-annotations
...
Co-authored-by: Steve Sides <steve.sides@oracle.com>
Co-authored-by: Joel Borggren-Franck <joel.franck@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Reviewed-by: jjg
2013-05-14 15:04:06 -07:00
Jonathan Gibbons
155bd74411
8012728: Normalize @ignore comments on langtools tests
...
Reviewed-by: vromero, mcimadamore
2013-05-03 09:56:56 -07:00
Joel Borggrén-Franck
16bec05e63
8011027: Type parameter annotations not passed through to javax.lang.model
...
Reviewed-by: jjg, darcy
2013-04-22 10:24:19 +02:00
Joe Darcy
3aabe92c92
8011052: Add DEFAULT to javax.lang.model.Modifier
...
Reviewed-by: abuckley, jjg
2013-04-03 12:27:12 -07:00
Joel Borggrén-Franck
14c0c8eed8
8007279: Rename javax.l.model.element.Element.getAnnotations(Class) to getAnnotationsByType(Class)
...
Reviewed-by: darcy, abuckley
2013-02-13 10:33:13 +01:00
Matherey Nunez
024075fabb
8004822: RFE to write language model API tests for repeating annotations based on the spec updates
...
Reviewed-by: jjg, abuckley
2013-02-12 11:28:45 +01:00
Joe Darcy
44e3518c32
8007574: Provide isFunctionalInterface in javax.lang.model
...
Reviewed-by: jjg
2013-02-11 13:37:41 -08:00
Michael Ernst
659a96edf9
8006775: JSR 308: Compiler changes in JDK8
...
Co-authored-by: Werner Dietl <wmdietl@cs.washington.edu>
Co-authored-by: Matt Papi <mpapi@csail.mit.edu>
Co-authored-by: Mahmood Ali <mahmood@notnoop.com>
Reviewed-by: jjg
2013-01-23 13:27:24 -08:00
Lana Steuck
f2c7a7867a
Merge
2012-12-28 18:39:09 -08:00
Joe Darcy
378571e10e
8005282: Use @library tag with non-relative path for javac tests
...
Reviewed-by: jjg
2012-12-21 08:45:43 -08:00
David Katleman
8208c844dd
8004982: JDK8 source with GPL header errors
...
Reviewed-by: ohair
2012-12-20 16:24:18 -08:00
Joe Darcy
da02d4f3d5
8005046: Provide checking for a default method in javax.lang.model
...
Reviewed-by: jjg
2012-12-18 00:24:54 -08:00
Joe Darcy
01ee832f44
7025809: Provided new utility visitors supporting SourceVersion.RELEASE_8
...
Reviewed-by: jjg, mcimadamore
2011-07-05 16:37:24 -07:00
Lana Steuck
2eb3bc1633
Merge
2011-06-22 23:26:00 -07:00
Joe Darcy
fe7f869e78
7052122: Update JDK_MINOR_VERSION for JDK 8
...
Reviewed-by: mr, katleman
2011-06-13 12:17:14 -07:00
David Katleman
f1744917be
7044486: open jdk repos have files with incorrect copyright headers, which can end up in src bundles
...
Reviewed-by: ohair, trims
2011-05-25 13:32:10 -07:00
Jonathan Gibbons
e29746adb0
7029150: Project Coin: present union types from the tree API through to javax.lang.model
...
Reviewed-by: mcimadamore
2011-04-28 15:05:36 -07:00
Jonathan Gibbons
94164d4b45
7039019: test cannot run standalone
...
Reviewed-by: dlsmith
2011-04-25 15:50:30 -07:00
Jonathan Gibbons
cc992b27bf
6930508: Passing nested class names on javac command line interfere with subsequent name -> class lookup
...
Reviewed-by: darcy
2011-03-16 17:21:52 -07:00
Jonathan Gibbons
c2e4376861
7026414: Types.asElement() returns null for ErrorType
...
Reviewed-by: darcy
2011-03-14 11:33:33 -07:00