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
Erik Joelsson
99a38df3ab
8023146: Sjavac test failes in langtools nightly
...
Reviewed-by: mcimadamore, jfranck
2013-08-16 16:00:12 +02: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
Erik Joelsson
fd4983b254
8015145: Smartjavac needs more flexibility with linking to sources
...
Reviewed-by: jjg, ohrstrom
2013-08-15 17:24:35 +02: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
Maurizio Cimadamore
da6bbaf42b
8020843: javac crashes on accessibility check with method reference with typevar receiver
...
Method reference overload check doesn't walk through type-variable receivers
Reviewed-by: jjg
2013-07-25 14:51:40 +01:00
Maurizio Cimadamore
663170c654
8016081: field initialized with lambda in annotation types doesn't compile
...
Check for annotation attributes should skip over synthetic methods
Reviewed-by: jjg
2013-07-25 14:49:16 +01:00
Maurizio Cimadamore
67362236e8
8020804: javac crashes when speculative attribution infers intersection type with array component
...
Assertion is causing javac to crash because of lack of support for arrays in intersection types
Reviewed-by: jjg
2013-07-25 14:47:43 +01: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
Jonathan Gibbons
0c5c756933
8020556: doclint does not check type variables for @throws
...
Reviewed-by: mcimadamore
2013-07-24 17:35:42 -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
Jonathan Gibbons
2a95b6ac74
8021215: javac gives incorrect doclint warnings on normal package statements
...
Reviewed-by: darcy
2013-07-23 16:06:11 -07:00
Lana Steuck
524a340ac9
Merge
2013-07-22 17:39:45 -07:00
Kumar Srinivasan
c6c6fe7b5e
8017216: javac doesn't fill in end position for some errors of type not found
...
8019421: Javac doesn't fill in end position for some annotation related errors
8019422: Javac doesn't fill in end position for uninitialized variable errors
Reviewed-by: jjg, mcimadamore
2013-07-19 07:22:53 -07:00
Jonathan Gibbons
c42bcf4526
8020664: doclint gives incorrect warnings on normal package statements
...
Reviewed-by: mcimadamore
2013-07-17 19:16:12 -07:00
Jonathan Gibbons
772640d4e8
8020313: doclint doesn't reset HTML anchors correctly
...
Reviewed-by: mcimadamore
2013-07-17 19:12:03 -07:00
Maurizio Cimadamore
70e005a7eb
8013638: Few policy tests are failing in Lambda nightly
...
BridgeHarness test is leaving files open
Reviewed-by: ksrini
2013-07-17 19:28:40 +01:00
Lana Steuck
be00b8110f
Merge
2013-07-17 10:40:53 -07:00
Jan Lahoda
35af8eccde
8020586: Warning produced for an incorrect file
...
Always using DeferredLintHandler.immediateHandler when processing import classes
Reviewed-by: mcimadamore
2013-07-17 15:08:58 +02:00
Maurizio Cimadamore
a2a579a4bd
8019942: Graph inference: avoid redundant computation during bound incorporation
...
Bound incorporation should not perform same operation multiple times
Reviewed-by: jjg
2013-07-17 14:21:12 +01:00
Maurizio Cimadamore
717a989214
8019340: varargs-related warnings are meaningless on signature-polymorphic methods such as MethodHandle.invokeExact
...
Disable certain varargs warnings when compiling polymorphic signature calls
Reviewed-by: jjg
2013-07-17 14:19:25 +01:00
Maurizio Cimadamore
73953320cc
8020149: Graph inference: wrong logic for picking best variable to solve
...
Replace logic for selecting best inference leaf in the graph during an unsticking round
Reviewed-by: jjg
2013-07-17 14:19:02 +01:00
Maurizio Cimadamore
8850329bc1
8016640: compiler hangs if the generics arity of a base class is wrong
...
Check.checkCompatibleConcretes hang when javac creates synthetic supertypes for 269 model API
Reviewed-by: jjg
2013-07-17 14:16:25 +01:00
Maurizio Cimadamore
defbb67771
7041019: Bogus type-variable substitution with array types with dependencies on accessibility check
...
Call to upperBound() when performing type-variable substitution on element type leads to unsoundness
Reviewed-by: jjg
2013-07-17 14:14:49 +01:00
Maurizio Cimadamore
732e49f6dc
8020286: Wrong diagnostic after compaction
...
Compact diagnostic shows the least relevant method in the list
Reviewed-by: jjg
2013-07-17 14:14:32 +01:00
Maurizio Cimadamore
eb4e8153b3
8020147: Spurious errors when compiling nested stuck lambdas
...
Scope of deferred types is not copied correctly; postAttr analyzer should not run on stuck expressions
Reviewed-by: jjg
2013-07-17 14:13:15 +01:00
Maurizio Cimadamore
e92a56fade
8012238: Nested method capture and inference
...
8008200: java/lang/Class/asSubclass/BasicUnit.java fails to compile
Inference support should be more flexible w.r.t. nested method calls returning captured types
Reviewed-by: jjg, vromero
2013-07-17 14:11:41 +01:00
Maurizio Cimadamore
99b0413d48
8016175: Add bottom-up type-checking support for unambiguous method references
...
Type-checking of non-overloaded method references should be independent from target-type
Reviewed-by: jjg, vromero
2013-07-17 14:09:46 +01:00
Maurizio Cimadamore
941752ea25
8012242: Lambda compatibility and checked exceptions
...
Inference variables in 'throws' clause with no constraints should be inferred as RuntimeException
Reviewed-by: jjg, vromero
2013-07-17 14:04:01 +01:00