Jonathan Gibbons
1546b42862
6997958: test tools/javac/api/T6412669.java fails in PIT
...
Reviewed-by: darcy
2010-11-09 17:49:24 -08:00
Per Bothner
aa4bee613c
6998063: new Scope impl to fix Scope performance issues
...
Reviewed-by: jjg
2010-11-06 13:53:48 -07:00
Maurizio Cimadamore
e202a05c38
6714835: Safe cast is rejected (with warning) by javac
...
Rules for unchecked cast conversion do not take into account type-containment
Reviewed-by: jjg
2010-11-04 12:58:29 +00:00
Maurizio Cimadamore
d4d5f60edc
6993963: Project Coin: Use precise exception analysis for effectively final catch parameters
...
More precise rethrow analysis should be extended to effectively-final exception parameters. Multicatch parameters should be made implicitly final.
Reviewed-by: jjg, darcy
2010-11-04 12:57:48 +00:00
Maurizio Cimadamore
9b7bc21bb0
6939780: add a warning to detect diamond sites
...
Added hidden compiler flag '-XDfindDiamond' to detect 'diamondifiable' sites
Reviewed-by: jjg
2010-11-02 12:01:35 +00:00
Maurizio Cimadamore
ac9f97939f
6996415: Override bridges causes compiler-generated code to end up with synthetic infinite loop
...
Temporarily disable fix for override bridges (6337171)
Reviewed-by: jjg
2010-11-02 12:00:54 +00:00
Jonathan Gibbons
8954a44a05
6994608: javah no longer accepts parameter files as input
...
Reviewed-by: mcimadamore
2010-10-29 13:12:38 -07:00
Jonathan Gibbons
49e996e3c1
6994946: option to specify only syntax errors as unrecoverable
...
Reviewed-by: darcy, mcimadamore
2010-10-28 18:58:43 -07:00
Jonathan Gibbons
35cc8afcf9
6993301: catch parameters do not have correct kind (i.e. ElementKind.EXCEPTION_PARAMETER)
...
Reviewed-by: mcimadamore
2010-10-22 14:04:33 -07:00
Jonathan Gibbons
bf00a77f2d
6987760: remove 308 support from JDK7
...
Reviewed-by: darcy, mcimadamore
2010-10-19 15:02:48 -07:00
Athijegannathan Sundararajan
564807c643
6551367: javadoc throws ClassCastException when an @link tries to reference constructor
...
Reviewed-by: jjg, mcimadamore
2010-10-19 11:47:17 +05:30
Maurizio Cimadamore
4e9ee94a4d
6991980: polymorphic signature calls don't share the same CP entries
...
Wrong use of attr env in Infer.java prevents sharing of CP entries for PS calls
Reviewed-by: darcy, jrose
2010-10-18 19:14:36 +01:00
Jonathan Gibbons
b4b4ed03ec
6908476: test/tools/javac/T6705935.java fails if non-zip files found on platform class path
...
Reviewed-by: darcy
2010-10-12 14:47:51 -07:00
Jonathan Gibbons
8ce4604331
4942232: missing param class processes without error
...
Reviewed-by: darcy
2010-10-12 13:19:47 -07:00
Jonathan Gibbons
3f57abb0ba
6988407: javac crashes running processor on errant code; it used to print error message
...
Reviewed-by: darcy
2010-10-12 13:15:46 -07:00
Jonathan Gibbons
2baca00eeb
6989457: javadoc test file test/tools/javadoc/T4994049/FileWithTabs.java probably does not
...
Reviewed-by: mcimadamore
2010-10-12 12:55:38 -07:00
Jonathan Gibbons
0b7ceb0204
6990390: javah -help produces help screen with extraneous output
...
Reviewed-by: darcy
2010-10-11 10:19:57 -07:00
Jonathan Gibbons
1da6aa89d2
6990379: two examples fail under CheckExamples on Windows
...
Reviewed-by: darcy
2010-10-07 15:26:32 -07:00
Jonathan Gibbons
ec3cd6e3f0
6893932: javah help screen lists -h and -? but does not accept them
...
Reviewed-by: darcy
2010-10-05 17:37:31 -07:00
Jonathan Gibbons
5967ec228d
6988836: A new JavacElements is created for each round of annotation processing
...
Reviewed-by: darcy
2010-10-05 11:34:43 -07:00
Joe Darcy
4231c49495
6983738: Use a JavacTestingAbstractProcessor
...
Reviewed-by: jjg
2010-09-29 23:27:57 -07:00
Jonathan Gibbons
ef791d4adb
6502392: Invalid relative names for Filer.createResource and Filer.getResource
...
Reviewed-by: darcy
2010-09-29 14:01:37 -07:00
Athijegannathan Sundararajan
55a531c45f
6967842: Element not returned from tree API for ARM resource variables
...
Reviewed-by: jjg, darcy
2010-09-28 22:46:36 +05:30
Jonathan Gibbons
95a1a60964
6986246: Trees object is round-specific
...
Reviewed-by: darcy
2010-09-27 17:28:49 -07:00
Jonathan Gibbons
2730836d77
6877202: Elements.getDocComment() is not getting JavaDocComments
...
6861094: javac -Xprint <file> does not print comments
6985205: access to tree positions and doc comments may be lost across annotation processing rounds
Reviewed-by: darcy
2010-09-27 14:20:39 -07:00
Jonathan Gibbons
26f967ece4
6890226: javah -version is broken
...
Reviewed-by: darcy
2010-09-27 14:05:33 -07:00
Lana Steuck
78db31beb6
Merge
2010-09-25 12:02:32 -07:00
Athijegannathan Sundararajan
28c94557eb
6587674: NoClassdefFound when anonymously extending a class
...
Reviewed-by: jjg, mcimadamore
2010-09-22 20:53:34 +05:30
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
Lana Steuck
dc37688eb9
Merge
2010-09-16 11:20:36 -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
Kelly O'Hair
fd65dbfc50
6982137: Rebranding pass 2 - missed copyright changes
...
Reviewed-by: mbykov
2010-09-09 16:29:40 -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
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
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
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
Jonathan Gibbons
e96eb944c2
6980707: Reduce use of IOException in JavaCompiler
...
Reviewed-by: darcy
2010-08-27 17:59:08 -07:00
Jonathan Gibbons
fba51e328b
6570730: com.sun.source.tree.ModifiersTree.getFlags() should return class type
...
Reviewed-by: mcimadamore
2010-08-27 17:21:17 -07:00
Jonathan Gibbons
99d83d8d85
6980724: test/tools/javac/InterfaceAssert.java sometimes fails
...
Reviewed-by: darcy
2010-08-27 17:14:51 -07:00