Eric McCorkle
914b1751c4
8013846: javac fails to reject semantically equivalent generic method declarations
...
Cause javac to consider intersection types with the same elements to be equal regardless of order.
Reviewed-by: jjg, vromero
2013-09-12 14:52:28 -04:00
Andreas Lundblad
fae7d60062
8005222: Fixed bugs should have tests with bugid in @bug tag
...
Reviewed-by: jfranck, jjg
2013-09-10 13:47:51 +02:00
Jan Lahoda
a9e5e17bd2
8019521: Enhanced rethrow disabled in lambdas
...
Fixing effectively final detection inside lambdas, small cleanup related to thrown types detection in lambdas
Reviewed-by: mcimadamore, jjg
2013-09-09 23:13:45 +02: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
Brian Goetz
b03e5fc290
8015322: Javac template test framework
...
Putback of the javac template test framework from the Lambda repository
Reviewed-by: jjg
2013-09-09 17:11:55 -04: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
Vicente Romero
1704a9454c
8024154: Fix for 8016177: structural most specific and stuckness breaks 6 langtools tests
...
Reviewed-by: jjg, jfranck
2013-09-09 16:32:08 +01:00
Andreas Lundblad
5df75e001d
8022260: Rename javac.code.Annotations to javac.code.SymbolMetadata
...
Reviewed-by: jfranck, jjg
2013-09-09 09:58:20 +02:00
Vicente Romero
a3b1359af5
8024398: javac, compiler crashes with try with empty body
...
Reviewed-by: jjg
2013-09-08 11:54:21 +01:00
Vicente Romero
26758f0ffd
8024039: javac, previous solution for JDK-8022186 was incorrect
...
Reviewed-by: jjg
2013-09-06 09:53:24 +01:00
Maurizio Cimadamore
4cc7a55aab
8023549: Compiler emitting spurious errors when constructor reference type is inferred and explicit type arguments are supplied
...
Reviewed-by: jjg, vromero
2013-09-04 00:01:05 +01:00
Vicente Romero
cab6b226ff
8023545: Misleading error message when using diamond operator with private constructor
...
Reviewed-by: jjg
2013-09-03 23:41:37 +01:00
Maurizio Cimadamore
06caeea3d6
8023389: Javac fails to infer type for lambda used with intersection type and wildcards
...
Reviewed-by: jjg, vromero
2013-09-03 23:31:33 +01:00
Vicente Romero
46d7a993ad
8022162: Incorrect signature determination for certain inner class generics
...
Reviewed-by: jjg
2013-09-02 22:44:06 +01:00
Maurizio Cimadamore
0382c78ff1
8016177: structural most specific and stuckness
...
Reviewed-by: jjg, vromero
2013-09-02 22:38:36 +01:00
Jonathan Gibbons
3dd18b5d8c
8024093: Two *.rej files checked in to langtools/test directory
...
Reviewed-by: mchung
2013-08-30 15:14:51 -07:00
Jonathan Gibbons
445a49ecb6
8023522: tools/javac/tree/TypeAnnotationsPretty.java test cases with @TA newline fail on windows only
...
Reviewed-by: darcy
2013-08-29 11:57:52 -07:00
Henry Jen
8873ff4e48
8014566: Remove @ignore tags from MethodReference66 and InInterface when 8013875 is fixed
...
Reviewed-by: briangoetz, jjg
2013-08-28 10:17:23 -07:00
Werner Dietl
d99f710f70
8023768: Use the unannotatedType in cyclicity checks
...
Reviewed-by: jjg
2013-08-26 15:55:46 -07:00
Eric McCorkle
0d3a9fcd89
8020745: Suspicious MethodParameters attribute generated for local classes capturing local variables
...
Corrected an error in a previous patch that caused captured locals to be added to the beginning, not the end of a parameter list.
Reviewed-by: jjg, mcimadamore, ksrini, abuckley
2013-08-22 12:47:46 -04:00
Vicente Romero
c65abc95df
8023112: javac should not use lazy constant evaluation approach for method references
...
Reviewed-by: jjg, mcimadamore
2013-08-22 13:12:43 +01:00
Vicente Romero
7b989a82fd
8022316: Generic throws, overriding and method reference
...
Reviewed-by: jjg, mcimadamore
2013-08-22 10:22:44 +01:00
Eric McCorkle
febfa82cfb
8023520: Add missing test for JDK-7118412
...
The test for JDK-7118412 was dropped from the changeset in a merging accident.
Reviewed-by: jjg
2013-08-21 20:41:42 -04:00
Jonathan Gibbons
64412dad17
8022287: javac.sym.Profiles uses a static Map when it should not
...
Reviewed-by: ksrini
2013-08-21 17:26:22 -07:00
Werner Dietl
1dc32a077e
8023515: import type-annotations updates
...
Reviewed-by: jjg
2013-08-21 16:13:50 -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
Joe Darcy
557cb9c6b1
8011043: Warn about use of 1.5 and earlier source and target values
...
Reviewed-by: jjg
2013-08-20 12:15:19 -07:00
Joel Borggrén-Franck
07d44a6520
8019243: AnnotationTypeMismatchException instead of MirroredTypeException
...
Reviewed-by: jjg
2013-08-20 17:21:47 +02:00
Alexander Zuev
7947e49ae3
7182350: Regression in wording of unchecked warning message
...
Reviewed-by: mcimadamore, jjg
2013-08-20 17:34:06 +04:00
Kumar Srinivasan
7870f1a6dc
7071377: Exception when javac -processor is given a class name with invalid postfix
...
Reviewed-by: jjg, vromero
2013-08-19 07:47:10 -07:00
Jan Lahoda
d992a67102
8022508: javac crashes if the generics arity of a base class is wrong
...
Reviewed-by: mcimadamore, vromero
2013-08-15 22:36:08 +02:00
Jan Lahoda
59e0637339
8015809: More user friendly compile-time errors for uncaught exceptions in lambda expression
...
Producing individual errors for uncaught undeclared exceptions inside lambda expressions, rather than one error for the whole lambda
Reviewed-by: mcimadamore
2013-08-15 22:33:43 +02:00
Vicente Romero
746be81338
8022053: javac generates unverifiable initializer for nested subclass of local class
...
Reviewed-by: jjg, mcimadamore
2013-08-16 10:32:42 +01:00
Kumar Srinivasan
ce4eb93249
8007517: DefaultMethodRegressionTests.java fail in TL
...
Reviewed-by: jjg, vromero
2013-08-14 07:07:55 -07:00
Vicente Romero
d36ef0edd0
8013394: compile of iterator use fails with error \"defined in an inaccessible class or interface\"
...
Reviewed-by: mcimadamore
2013-08-14 10:53:37 +01:00
Maurizio Cimadamore
58d92c516a
8021567: Javac doesn't report \"java: reference to method is ambiguous\" any more
...
Javac incorrectly forgets about constant folding results within lambdas
Reviewed-by: jjg, vromero
2013-08-12 17:28:31 +01:00
Maurizio Cimadamore
4e85a5ae43
6537020: JCK tests: a compile-time error should be given in case of ambiguously imported fields (types, methods)
...
Hiding check does not support interface multiple inheritance
Reviewed-by: jjg
2013-08-12 17:25:07 +01:00
Vicente Romero
190f9337b1
6983297: methods missing from NewArrayTree
...
Reviewed-by: jjg
2013-08-10 16:29:26 +01:00
Vicente Romero
22652f5354
8022622: javac, two tests are failing with compile time error after class Collector was modified
...
Reviewed-by: mcimadamore
2013-08-10 16:26:50 +01:00
Vicente Romero
cee3c2853b
8009640: -profile <compact> does not work when -bootclasspath specified
...
Reviewed-by: jjg
2013-08-10 13:27:38 +01:00
Kumar Srinivasan
35e27fd594
8022161: javac Null Pointer Exception in Enter.visitTopLevel
...
Reviewed-by: jjg, vromero, jlahoda
2013-08-09 15:01:33 -07:00
Vicente Romero
cecb5cc0ea
8019486: javac, generates erroneous LVT for a test case with lambda code
...
Reviewed-by: mcimadamore
2013-08-08 11:49:16 +01:00
Vicente Romero
0fb4cd9d38
8020997: TreeMaker.AnnotationBuilder creates broken element literals with repeating annotations
...
Reviewed-by: jjg, jfranck
2013-08-07 10:41:20 +01: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
Vicente Romero
5f5b303d7e
8022186: javac generates dead code if a try with an empty body has a finalizer
...
Reviewed-by: jjg
2013-08-06 15:08:49 +01:00
Kumar Srinivasan
da7f38703d
8014826: c.s.t.javac.tree.Pretty.visitNewArray() prints duplicate dimension markers
...
Reviewed-by: jjg, vromero
2013-07-31 08:37:34 -07:00
Vicente Romero
5540c7cbe1
8013179: assertion failure in javac when compiling with -source 1.6 -target 1.6
...
Reviewed-by: jjg
2013-07-31 10:52:01 +01:00
Jan Lahoda
0847cbc403
8021338: Diamond finder may mark a required type argument as unnecessary
...
Reviewed-by: mcimadamore
2013-07-28 10:17:45 +02:00
Jan Lahoda
21ab6d5558
8020689: Missing LineNumberTable entries in compiled class files
...
Reviewed-by: ksrini, mcimadamore
2013-07-28 10:17:45 +02:00
Lana Steuck
f5da332e66
Merge
2013-07-26 14:08:37 -07:00