Commit Graph

747 Commits

Author SHA1 Message Date
Maurizio Cimadamore
80fdc078e7 6999635: Multicatch: crash while compiling simple code with a multicatch parameter
Missing erasure when computing stackmaps leads to assertion error

Reviewed-by: darcy
2010-11-15 14:41:21 +00:00
Maurizio Cimadamore
3a681162e4 6985719: Alike methods in interfaces (Inheritance and Overriding)
Javac should report error when interface inherits unrelated method with same erasure

Reviewed-by: jjg
2010-11-15 13:50:53 +00:00
Joe Darcy
f9f932a9f3 6991528: Support making Throwable.suppressedExceptions immutable
Reviewed-by: mcimadamore
2010-11-14 07:16:46 -08:00
Lana Steuck
67135065d9 Merge 2010-11-13 19:00:43 -08:00
Maurizio Cimadamore
64789c2491 6970016: Clean up ARM/try-with-resources implementation
Changed Xlint option name from -Xlint:arm to -Xlint:try

Reviewed-by: jjg
2010-11-12 12:34:18 +00:00
Maurizio Cimadamore
bb03754fd1 6999067: cast for invokeExact call gets redundant cast to <type> warnings
Xlint:cast should not report cast used in order to specify target type in polymorphic signature calls

Reviewed-by: jjg
2010-11-12 12:33:52 +00:00
Maurizio Cimadamore
8f61f3fcff 6598108: com.sun.source.util.Trees.isAccessible incorrect
JavacTrees' version of isAccessible should take into account enclosing class accessibility

Reviewed-by: jjg
2010-11-12 12:32:43 +00:00
Christine Lu
17b6195bbd Added tag jdk7-b118 for changeset f6bd6c4fcf54 2010-11-11 11:02:36 -08:00
Maurizio Cimadamore
83fb083bfa 6996914: Diamond inference: problem when accessing protected constructor
Special resolution scheme for diamond inference needs to open up protected constructors in anon inner class creation

Reviewed-by: jjg
2010-11-10 12:37:25 +00:00
Lana Steuck
1b5984baee Merge 2010-11-09 22:54:48 -08:00
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
Christine Lu
1d6db6ac20 Added tag jdk7-b117 for changeset 0c40f3078aa3 2010-11-04 15:54:46 -07:00
Lana Steuck
58e30546d1 Merge 2010-11-04 15:39:43 -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
Lana Steuck
298e9ecabf Merge 2010-11-02 19:41:59 -07: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
efcecaa50a 6996626: Scope fix issues for ImportScope
Reviewed-by: darcy
2010-11-01 19:28:40 -07: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
af760db464 6993304: JavacTrees.getAttrContext not updated to Tree.Kind.{ANNOTATION_TYPE,ENUM,INTERFACE}
Reviewed-by: mcimadamore
2010-10-29 12:47:49 -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
Christine Lu
fe482aaef1 Added tag jdk7-b116 for changeset 661f6dc7e63b 2010-10-28 13:31:55 -07:00
Per Bothner
3e7e25e084 6460352: Reintroduce Scope.dble
Reviewed-by: mcimadamore, jjg
2010-10-28 10:17:47 -07:00
Jonathan Gibbons
efaaa59c32 6949587: rename "DisjointType" to "DisjunctType"
Reviewed-by: mcimadamore
2010-10-26 14:29:48 -07:00
Lana Steuck
be83322c89 Merge 2010-10-26 10:58:44 -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
Christine Lu
9c7bfd60b5 Added tag jdk7-b115 for changeset 17f7431708c8 2010-10-21 17:12:55 -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
Lana Steuck
12468f7bcf Merge 2010-10-18 21:50:47 -07:00
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
Christine Lu
e79e841636 Added tag jdk7-b114 for changeset 114c3761ebd8 2010-10-14 19:25:23 -07:00
Lana Steuck
9dd9c6f50b Merge 2010-10-13 17:52:29 -07: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
214427fe78 6990133: AnnotationProxyMaker.ValueVisitor$1 contains non-transient non-serializable field
Reviewed-by: darcy
2010-10-12 14:22:55 -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
Lana Steuck
1966035b23 Merge 2010-10-12 12:52:49 -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
Christine Lu
85df6f646d Added tag jdk7-b113 for changeset edcbadb1c4b3 2010-10-07 15:12:31 -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
Lana Steuck
9b42254d9a Merge 2010-10-04 14:40:38 -07:00
Alan Bateman
ca93e7004f 6907737: (file) FileVisitor and Files.walkFileTree issues
Reviewed-by: jjg
2010-10-03 19:40:15 +01:00
Christine Lu
ee2df8c3c0 Added tag jdk7-b112 for changeset c325801e1b17 2010-10-01 15:45:26 -07:00
Jonathan Gibbons
b281273d71 6988436: Cleanup javac option handling
Reviewed-by: darcy
2010-09-30 10:47:12 -07:00