Commit Graph

18710 Commits

Author SHA1 Message Date
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
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
Jonathan Gibbons
89197f0946 8014636: TestLiteralCodeInPre fails on windows
Reviewed-by: ksrini
2013-07-17 18:18:45 -07: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
Jonathan Gibbons
9dd2fe90d4 8020278: NPE in javadoc
Reviewed-by: mcimadamore, vromero
2013-07-12 13:11:12 -07:00
Maurizio Cimadamore
617386d568 8013404: Unclear spec for target typing with conditional operator (?:)
Fix previously ignored test

Reviewed-by: jjg, vromero
2013-07-11 15:37:02 +01:00
Robert Field
d3d1da337a 8016281: The SAM method should be passed to the metafactory as a MethodType not a MethodHandle
8020010: Move lambda bridge creation from metafactory and VM to compiler

Langtools/javac component of the bridge support and MethodType vs. MethodHandle changes.

Reviewed-by: jjg, vromero, briangoetz, forax
2013-07-11 14:07:39 +01:00
David Katleman
94e178de87 Added tag jdk8-b98 for changeset d3db5fb3d72f 2013-07-11 10:13:57 -07:00
J. Duke
5b4e46bf5f Merge 2017-07-05 19:03:14 +02:00
J. Duke
5508dc48a0 Merge 2017-07-05 19:03:11 +02:00
J. Duke
4596b27070 Merge 2017-07-05 19:03:04 +02:00
J. Duke
3b013d87d7 Merge 2017-07-05 19:03:01 +02:00
J. Duke
08c11f5b17 Merge 2017-07-05 19:02:58 +02:00
J. Duke
fcc33aa056 Merge 2017-07-05 19:02:49 +02:00
J. Duke
cc5d5ff7d0 Merge 2017-07-05 19:02:46 +02:00
J. Duke
2d09aa608f Merge 2017-07-05 19:02:28 +02:00
J. Duke
dc7547e0c0 Added tag jdk8-b97 for changeset 0a85476a0b9c 2017-07-05 19:02:09 +02:00
J. Duke
618a814772 Merge 2017-07-05 19:02:09 +02:00
J. Duke
8cac8e4bf0 Merge 2017-07-05 19:02:06 +02:00
J. Duke
1a9aa5e32f Merge 2017-07-05 19:02:03 +02:00
J. Duke
300560cccc Merge 2017-07-05 19:02:00 +02:00
J. Duke
bdf31a3c89 Merge 2017-07-05 19:01:56 +02:00
J. Duke
7d625b8a1c Merge 2017-07-05 19:01:53 +02:00
J. Duke
86b33eec31 Merge 2017-07-05 19:01:51 +02:00
J. Duke
a81dd4d9b5 Merge 2017-07-05 19:01:47 +02:00
J. Duke
a4b7a83147 Added tag jdk8-b96 for changeset ea73f01b9053 2017-07-05 19:01:33 +02:00
J. Duke
d9e5bebaa6 Merge 2017-07-05 19:01:32 +02:00
J. Duke
66d6e28ea0 Merge 2017-07-05 19:01:29 +02:00
J. Duke
af8a1f099f Merge 2017-07-05 19:01:16 +02:00
J. Duke
2976020cd7 Merge 2017-07-05 19:01:11 +02:00
J. Duke
36b1c206e7 Merge 2017-07-05 19:01:02 +02:00
J. Duke
4aa69982c6 Merge 2017-07-05 19:00:49 +02:00
J. Duke
f7c235467c Merge 2017-07-05 19:00:41 +02:00