6292 Commits

Author SHA1 Message Date
Maurizio Cimadamore
05fb73163c 6863465: javac doesn't detect circular subclass dependencies via qualified names
Class inheritance circularity check should look at trees, not just symbols

Reviewed-by: jjg
2010-09-18 14:24:09 -07:00
Maurizio Cimadamore
cd3371e702 5088624: cannot find symbol message should be more intelligent
Resolve.java should keep track of all candidates found during a method resolution sweep to generate more meaningful diagnostics

Reviewed-by: jjg
2010-09-18 09:56:23 -07:00
Maurizio Cimadamore
fbf72650b9 6980862: too aggressive compiler optimization causes stale results of Types.implementation()
Use a scope counter in order to determine when/if the implementation cache entries are stale

Reviewed-by: jjg
2010-09-18 09:54:51 -07:00
Jonathan Gibbons
e0caf9f660 6985115: tests create too much output
Reviewed-by: mcimadamore
2010-09-16 09:57:37 -07:00
Jonathan Gibbons
1144807f1f 6985181: Annotations lost from classfile
Reviewed-by: mcimadamore
2010-09-16 09:56:25 -07:00
Jonathan Gibbons
e3c7ca0c53 6978974: [langtools] <findbugs> task should use ${target.java.home}
Reviewed-by: mcimadamore
2010-09-13 11:40:58 -07:00
Jesse Glick
0d2b8790d3 6965264: langtools build should use ${ant.core.lib} instead of ${ant.home}/lib/ant.jar
Reviewed-by: mcimadamore
2010-09-13 11:35:27 -07:00
Jonathan Gibbons
949983f6b0 6983239: TreeScanner does not scan default value for method
Reviewed-by: mcimadamore
2010-09-09 13:31:28 -07:00
Athijegannathan Sundararajan
a5aa8a0943 6900149: IllegalStateException when compiling same files and DiagnosticListener is set
Reviewed-by: jjg
2010-09-09 09:42:45 +05:30
Kelly O'Hair
f44a7ee069 Merge 2010-09-07 15:49:48 -07:00
Kelly O'Hair
8890e99b2c 6982946: Change make/jprt.properties to defer to JPRT itself for jdk platform list
Reviewed-by: kamg
2010-09-07 15:14:49 -07:00
Maurizio Cimadamore
4da9c57770 6970584: Flow.java should be more error-friendly
Added a post-attribution visitor that fixup uninitialized types/symbol in AST after erroneous attribution

Reviewed-by: jjg
2010-09-07 17:33:43 +01:00
Maurizio Cimadamore
c1ac5e8862 6981185: com.sun.tools.model.JavacTypes.contains() calls Type.contains instead of Types.containsType
Wrong implementation is causing trivial containment tests to fail unexpectedly (when such tests are executed using compiler API)

Reviewed-by: jjg
2010-09-07 17:32:52 +01:00
John Rose
cd74d63c12 6979327: method handle invocation should use casts instead of type parameters to specify return type
Infer return type for polymorphic signature calls according to updated JSR 292 draft

Reviewed-by: jjg
2010-09-07 17:32:27 +01:00
Maurizio Cimadamore
73825fc885 6337171: javac should create bridge methods when type variable bounds restricted
Javac should add synthetic overrides for inherited abstract methods in order to preserve binary compatibility

Reviewed-by: jjg
2010-09-07 17:31:54 +01:00
Jonathan Gibbons
c09fe5cafb 6930507: Symbols for anonymous and local classes made too late for use by java tree API
Reviewed-by: mcimadamore
2010-09-06 12:55:09 -07:00
Lana Steuck
5b58b51e22 Merge 2010-09-03 12:00:21 -07:00
Athijegannathan Sundararajan
977ad1ae6a 6956462: AssertionError exception thrown in the Compiler Tree API in JDK 7
Reviewed-by: jjg
2010-09-03 12:36:43 +05:30
Athijegannathan Sundararajan
60cf6eb1de 6458823: Messager messages on TypeParamterElements to not include position information
Reviewed-by: jjg
2010-09-03 11:25:43 +05:30
Lana Steuck
3069fdf9a9 Merge 2010-09-02 22:11:39 -07:00
Jonathan Gibbons
753b8d0fea 6921495: spurious semicolons in class def cause empty NOPOS blocks
Reviewed-by: mcimadamore
2010-09-02 18:26:21 -07:00
Athijegannathan Sundararajan
183a7b7797 6458749: TypeParameterElement.getEnclosedElements throws NPE within javac
Reviewed-by: jjg
2010-09-02 23:10:05 +05:30
John R Rose
ca3dbff3f8 6979683: inconsistent interaction of reference cast with box/unbox conversions leaves out a useful case
Allow casts which narrow and then unbox.

Reviewed-by: mcimadamore
2010-09-01 03:19:16 -07:00
Jonathan Gibbons
0930f81131 6403465: javac should defer diagnostics until it can be determined they are persistent
Reviewed-by: mcimadamore, darcy
2010-08-30 18:03:35 -07:00
Lana Steuck
0c82e12244 Merge 2010-08-29 22:42:08 -07:00
J. Duke
ecec377dfb Merge 2017-07-05 17:20:50 +02:00
J. Duke
1024d6cff1 Merge 2017-07-05 17:20:47 +02:00
J. Duke
75e441bde8 Merge 2017-07-05 17:20:45 +02:00
J. Duke
04cfde006d Merge 2017-07-05 17:20:42 +02:00
J. Duke
42e29debd9 Merge 2017-07-05 17:20:40 +02:00
J. Duke
1320f8414e Merge 2017-07-05 17:20:37 +02:00
J. Duke
1c123ba7ee Merge 2017-07-05 17:20:35 +02:00
J. Duke
53342071dd Added tag jdk7-b107 for changeset 439de530aac5 2017-07-05 17:20:27 +02:00
J. Duke
2d4322b265 Merge 2017-07-05 17:20:27 +02:00
J. Duke
da4d3b0482 Merge 2017-07-05 17:20:24 +02:00
J. Duke
461702e4e6 Merge 2017-07-05 17:20:21 +02:00
J. Duke
d71c0e6a0b Merge 2017-07-05 17:20:19 +02:00
J. Duke
d1d2698351 Merge 2017-07-05 17:20:17 +02:00
J. Duke
f5ed1d3224 Merge 2017-07-05 17:20:14 +02:00
J. Duke
44d4120f65 Merge 2017-07-05 17:20:12 +02:00
J. Duke
e86933fff3 Added tag jdk7-b106 for changeset 6bdae472f772 2017-07-05 17:20:05 +02:00
J. Duke
b2679e3dc4 Merge 2017-07-05 17:20:05 +02:00
J. Duke
3a4aad2225 Merge 2017-07-05 17:20:03 +02:00
J. Duke
e4b2c239c4 Merge 2017-07-05 17:20:00 +02:00
J. Duke
f25ae0ee7e Merge 2017-07-05 17:19:57 +02:00
J. Duke
36a66bf5ec Merge 2017-07-05 17:19:55 +02:00
J. Duke
99d320c026 Merge 2017-07-05 17:19:52 +02:00
J. Duke
18cbe9120e Merge 2017-07-05 17:19:49 +02:00
J. Duke
9ba9de33df Added tag jdk7-b105 for changeset 1ce7938efb03 2017-07-05 17:19:35 +02:00
J. Duke
4862cbc68f Merge 2017-07-05 17:19:35 +02:00