Evgeny Mandrikov
e52d76e53e
8160928: javac incorrectly copies over interior type annotations to bridge method
...
Reviewed-by: vromero, mcimadamore
2018-08-31 18:43:01 +01:00
Srikanth Adayapalam
cf3017f096
8191969: javac produces incorrect RuntimeInvisibleTypeAnnotations length attribute
...
Reviewed-by: jlahoda, vromero
2017-12-04 10:33:18 -05:00
Andreas Lundblad
030d57517f
8028389: NullPointerException compiling annotation values that have bodies
...
Made sure anonymous class declarations inside class- and package-level annotations are properly entered.
Reviewed-by: jfranck
2014-01-10 12:47:15 +01:00
Jan Lahoda
a3e88b936c
8080338: Incorrect GPL header causes RE script to miss swap to commercial header for licensee source bundle
...
8080339: Incorrect GPL header causes RE script to miss swap to commercial header for licensee source bundle
8080340: Incorrect GPL header causes RE script to miss swap to commercial header for licensee source bundle
Fixing incorrect file headers; also reviewed by kevin.l.brown@oracle.com
Reviewed-by: vromero
2015-05-18 09:27:09 +02:00
Joe Darcy
51f333ee32
8068639: Make certain annotation classfile warnings opt-in
...
Reviewed-by: jjg
2015-01-09 09:27:16 -08:00
Eric McCorkle
ba82472a1e
8067039: Revert changes to annotation attribute generation
...
Revert changes from JDK-8029012 and JDK-8065132
Reviewed-by: jjg
2014-12-11 10:06:50 -05:00
Eric McCorkle
8c01cb9a34
8065132: Parameter annotations not updated when synthetic parameters are prepended
...
Cause javac to add synthetic parameters to Runtime[In]VisibleParameterAnnotations attributes
Reviewed-by: jjg, jfranck
2014-11-25 08:30:52 -05:00
Eric McCorkle
d8c52878fb
8029012: parameter_index for type annotation not updated after outer.this added
...
Fix javac's handling of type annotations when synthetic parameters are added
Reviewed-by: jjg, mcimadamore
2014-11-24 12:49:30 -05:00
Joel Borggrén-Franck
d70857aa76
8054448: (ann) Cannot reference field of inner class in an anonymous class
...
Reviewed-by: jlahoda, mcimadamore
2014-10-28 08:56:23 +01:00
Paul Govereau
6e0cb619bb
8027886: javac allows illegal receiver parameters
...
8029042: Receiver parameter not supported on local class constructor
Reviewed-by: jfranck, jlahoda
2014-06-18 12:30:29 -04:00
Jan Lahoda
eb58718c31
8038788: javac behaves incorrectly for annotations after method type parameters in some cases
...
Reviewed-by: jjg, emc
2014-04-18 11:53:34 +02:00
Jan Lahoda
b0987758cd
8035890: jdk8 javac -source 7 compiles test case it should not
...
Ensuring source level checks are performed in two additional cases related to type annotations, adding specialized error message for annotations after method type parameters.
Reviewed-by: jfranck, jjg
2014-03-31 21:27:25 +02:00
Jan Lahoda
f088b12ca4
8028576: Incorrect RuntimeVisibleTypeAnnotations for exception parameters when not generating debuging info
...
The exception parameters with type annotations need to be added into the varBuffer even if not generating debug info
Reviewed-by: jjg, emc
2014-01-15 13:49:57 +01:00
Joel Borggrén-Franck
2df6caaf04
8029017: ElementType.TYPE_USE should be a logical superset of ElementType.TYPE and ANNOTATION_TYPE
...
Reviewed-by: abuckley, jlahoda, vromero
2014-01-23 14:09:29 +01:00
Matherey Nunez
8ce79f8480
8027477: Enable repeating annotations test cases since JDK-8004912 is fixed
...
Reviewed-by: jjg
2014-01-23 11:59:06 -08:00
Steve Sides
93876b4349
8029230: Update copyright year to match last edit in jdk8 langtools repository for 2013
...
Reviewed-by: ksrini
2013-12-24 09:17:37 -08:00
Vicente Romero
679f831609
8029721: javac crash for annotated parameter type of lambda in a field
...
Reviewed-by: rfield, jfranck
2013-12-13 14:13:03 +00:00
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
Joel Borggrén-Franck
979151dfa9
8028428: strictfp allowed as annotation element modifier
...
Reviewed-by: jjg
2013-11-26 13:33:33 +01: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
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
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
Matherey Nunez
c57660ca19
8008192: Better ordering checks needed in repeatingAnnotations/combo/ReflectionTest
...
Reviewed-by: jjg, jfranck
2013-10-17 13:50:00 +02: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
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
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
Eric McCorkle
a78344ba67
8008762: Type annotation on inner class in anonymous class show up as regular type annotations
...
8015257: type annotation with TYPE_USE and FIELD attributed differently if repeated
8013409: test failures for type annotations
Fixes to address some problems in type annotations
Reviewed-by: jfranck, jjg
2013-10-10 20:12:08 -04:00
Jan Lahoda
6c9b134b12
8022765: Compiler crashes with exception on wrong usage of an annotation
...
Error recovery for incorrect annotation attribute values - ensure the values are always attributed appropriately
Reviewed-by: jfranck, jjg
2013-09-27 17:28:31 +02:00
Eric McCorkle
5b76a0d216
8022322: Reject default and static methods in annotation
...
Causes javac to reject static and default method declarations inside an annotation
Reviewed-by: jjg
2013-09-09 16:26:55 -04:00
Werner Dietl
d99f710f70
8023768: Use the unannotatedType in cyclicity checks
...
Reviewed-by: jjg
2013-08-26 15:55:46 -07:00
Werner Dietl
1dc32a077e
8023515: import type-annotations updates
...
Reviewed-by: jjg
2013-08-21 16:13:50 -07:00
Eric McCorkle
be2ea6f949
8016880: 42 tests in annot102* fail with compile-time errors
...
Fixes error in type equality when bounds of type variables have annotations.
Reviewed-by: jjg, mcimadamore
2013-07-23 20:42:54 -04:00
Lana Steuck
ba0fc64a03
Merge
2013-06-03 16:10:18 -07:00
David Katleman
b08f6026b4
8015525: JDK8 b91 source with GPL header errors
...
Reviewed-by: dholmes, lancea
2013-05-29 10:16:32 -07:00
Joel Borggrén-Franck
4a4457b237
8013180: Qualified type reference with annotations in throws list crashes compiler
...
Reviewed-by: jjg
2013-05-21 12:00:29 +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
Joel Borggrén-Franck
d5eeeb875b
8013485: javac can't handle annotations with a <clinit> from a previous compilation unit
...
Reviewed-by: mcimadamore
2013-05-08 14:10:53 +02:00
Jonathan Gibbons
155bd74411
8012728: Normalize @ignore comments on langtools tests
...
Reviewed-by: vromero, mcimadamore
2013-05-03 09:56:56 -07:00
Maurizio Cimadamore
3044b19d21
8010659: Javac Crashes while building OpenJFX
...
Reviewed-by: jjg
2013-04-13 12:25:44 +01:00
Matherey Nunez
cd78ad2c8a
8007767: TargetAnnoCombo.java need to be updated to add a new test mode
...
Reviewed-by: jjg, strarup
2013-03-15 13:39:04 +01:00
Joel Borggrén-Franck
09e3f06ae6
8006547: Repeating annotations: No Target on container annotation with all targets on base annotation gives compiler error
...
Reviewed-by: jjg
2013-03-13 22:03:09 +01:00
Joel Borggrén-Franck
4de6d2c42c
7196531: Duplicate error messages on repeating annotations
...
Reviewed-by: jjg
2013-03-12 17:39:34 +01:00
Joel Borggrén-Franck
c3e43ab7d5
8005205: tests missing bugid for repeating annotation change
...
Reviewed-by: jjg, ssides
2013-03-12 11:16:30 +01:00
Jonathan Gibbons
971f247b1b
8008339: Test TargetAnnoCombo.java is broken
...
Reviewed-by: jjh
2013-02-18 14:29:40 -08:00
Sonali Goel
2fb38081d5
8001457: New tests needed for library-side changes for repeating annotations
...
Reviewed-by: darcy
2013-02-13 23:05:17 -08:00
Werner Dietl
464abcb4fa
8008077: update reference impl for type-annotations
...
Reviewed-by: jjg
2013-02-12 17:15:29 -08:00
Sonali Goel
f1442d8261
7195131: Update 2 compiler combo tests for repeating annotations to include package and default use cases
...
Reviewed-by: darcy
2013-02-07 20:47:06 -08:00
Joe Darcy
71b457cb97
8007351: Malformed copyright statements in typeAnnotations test directory
...
Reviewed-by: jjg
2013-01-31 18:58:17 -08:00
Joe Darcy
4484857b50
8007313: Remove use of {ContainerFor/ContainedBy} from langtools
...
Reviewed-by: jjg
2013-01-31 12:16:03 -08:00