Christine Lu
052ccfe98f
Added tag jdk7-b123 for changeset 00e80d00deea
2010-12-22 15:57:38 -08:00
Jim Holmlund
97663382e1
7008378: javac bootstrap launcher fails on cygwin when called via an absolute path
...
Use cygpath if it is cygwin
Reviewed-by: ksrini
2010-12-21 16:29:10 -08:00
Lana Steuck
15f4c783cb
Merge
2010-12-20 21:10:57 -08:00
Kumar Srinivasan
5032fcd7b5
6567415: Neverending loop in ClassReader
...
Reviewed-by: jjg
2010-12-18 09:38:39 -08:00
Kelly O'Hair
078473b261
Merge
2010-12-16 19:57:01 -08:00
Christine Lu
bb9ddb74a8
Added tag jdk7-b122 for changeset 41cc0cb556fe
2010-12-16 18:18:18 -08:00
Kelly O'Hair
f417e56d0c
Merge
2010-12-15 15:30:12 -08:00
Jonathan Gibbons
facb1c1b6d
7006564: NPE in javac running test/tools/javac/nio/compileTest/CompileTest.java
...
Reviewed-by: mcimadamore, alanb
2010-12-15 06:39:51 -08:00
Jonathan Gibbons
cfe2f7eb5d
6999891: DefaultFileManager incorrect
...
Reviewed-by: darcy
2010-12-14 14:17:20 -08:00
Jim Holmlund
aeae2e4203
6999460: Glassfish build with JDK 6 / 7 is 5x-10x slower on Windows than on Linux
...
Fixed JavacFileManager to not treat a non-existant pathname as a directory.
Reviewed-by: jjg
2010-12-13 17:35:57 -08:00
Maurizio Cimadamore
6ef5228632
6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
...
Reviewed-by: jjg, darcy
2010-12-13 15:11:00 -08:00
Bhavesh Patel
87db401cf5
Merge
2010-12-13 14:08:01 -08:00
Bhavesh Patel
8850af593b
7006270: Several javadoc regression tests are failing on windows
...
Reviewed-by: jjg
2010-12-13 13:44:47 -08:00
Maurizio Cimadamore
ecb30ce139
7006109: Add test library to simplify the task of writing automated type-system tests
...
Types.java needs to be more stress-tested
Reviewed-by: jjg
2010-12-13 14:56:50 +00:00
Lana Steuck
1cf7cebcc8
Merge
2010-12-12 21:58:56 -08:00
Lana Steuck
74809c0869
Merge
2010-12-12 15:31:28 -08:00
Jonathan Gibbons
bde6bdb43d
6990134: minor (but red) findbugs warnings
...
Reviewed-by: mcimadamore
2010-12-12 10:05:40 -08:00
Jonathan Gibbons
1ce40f31dd
6504896: TreeMaker.Literal(Object) does not support Booleans
...
Reviewed-by: mcimadamore
2010-12-10 07:38:28 -08:00
Maurizio Cimadamore
450d85b95a
6199075: Unambiguous varargs method calls flagged as ambiguous
...
Javac does not implement overload resolution w.r.t. varargs methods as described in the JLS
Reviewed-by: jjg
2010-12-10 15:24:17 +00:00
Maurizio Cimadamore
ba8f15cef1
7005671: Regression: compiler accepts invalid cast from X[] to primitive array
...
Regression in type conversion after 292 changes
Reviewed-by: jjg
2010-12-10 15:23:42 +00:00
David Katleman
90141befa8
Added tag jdk7-b121 for changeset 89ced394b320
2010-12-09 21:25:38 -08:00
Jonathan Gibbons
5d1c8426a1
6986242: cut-n-paste error in javadoc for Trees.instance(ProcessingEnvironment)
...
Reviewed-by: darcy
2010-12-09 19:53:03 -08:00
Jonathan Gibbons
b66118af84
7005856: avoid name clash for langtools when building on MacOS
...
Reviewed-by: mcimadamore
2010-12-09 18:33:32 -08:00
Jonathan Gibbons
cc42fec255
6985202: no access to doc comments from Tree API
...
Reviewed-by: mcimadamore
2010-12-09 08:48:08 -08:00
Jonathan Gibbons
3244279bb2
4917091: javac rejects array over 128 in length
...
Reviewed-by: mcimadamore
2010-12-09 08:24:42 -08:00
Maurizio Cimadamore
d2e437cb96
7005371: Multicatch: assertion error while generating LocalVariableTypeTable attribute
...
Compiler crashes with assertion error if '-g' option is passed and source contains multicatch
Reviewed-by: jjg
2010-12-09 15:50:57 +00:00
Maurizio Cimadamore
929d3fd3f5
6476118: compiler bug causes runtime ClassCastException for generics overloading
...
Compiler allows bridge methods to override unrelated method
Reviewed-by: jjg
2010-12-09 15:50:34 +00:00
Maurizio Cimadamore
e8d1ae243d
7005095: Cast: compile reject sensible cast from final class to interface
...
A previous fix to cast conversion has made the compiler too strict w.r.t. final cast
Reviewed-by: jjg
2010-12-09 15:50:10 +00:00
Joe Darcy
116762a60e
7003550: Loosen modeling requirements for annotation processing erroneous code
...
Reviewed-by: jjg
2010-12-08 21:21:42 -08:00
Jonathan Gibbons
b9f90baa59
7004698: javap does not output CharacterRangeTable attributes correctly
...
Reviewed-by: mcimadamore
2010-12-08 13:42:57 -08:00
Jonathan Gibbons
8e9c506c6c
6999210: javac should be able to warn of anomalous conditions in classfiles
...
Reviewed-by: mcimadamore, darcy
2010-12-07 14:13:25 -08:00
Lana Steuck
340be2d06f
Merge
2010-12-06 20:35:49 -08:00
Maurizio Cimadamore
5cdc149cc1
5088429: varargs overloading problem
...
Compiler implementation for overload resolution w/ varargs method does not match JLS
Reviewed-by: jjg
2010-12-06 11:51:02 +00:00
Maurizio Cimadamore
47f6d8a95e
7002070: If catch clause has an incompatible type, error pointer points to first exception type in list
...
Attribution should check each component of a disjunctive type separately, rather than checking the corresponding lub()
Reviewed-by: jjg
2010-12-06 11:50:37 +00:00
Maurizio Cimadamore
63f05334a6
7003744: Compiler error concerning final variables
...
Flow analysis does not cleanup init/uninint bit masks after for-loop
Reviewed-by: jjg
2010-12-06 11:49:00 +00:00
Michael Fang
b36751963d
Merge
2010-12-05 18:18:12 -08:00
Lana Steuck
6bdab59e81
Merge
2010-12-05 15:26:55 -08:00
Michael Fang
a1e7708fce
6522789: [zh_CN] translation of "enclosing class" in doclet is incorrect
...
Reviewed-by: yhuang
2010-12-03 20:31:57 -08:00
Kelly O'Hair
f578cfd959
Merge
2010-12-03 19:45:34 -08:00
Jim Holmlund
7c3b449ca9
6990209: JCK7-compiler lang/ICLS/icls006/icls00603/icls00603a.html#icls00603src test fails
...
Reviewed-by: jjg
2010-12-03 13:47:59 -08:00
Maurizio Cimadamore
8644a0bc46
7002837: Diamond: javac generates diamond inference errors when in 'finder' mode
...
Javac should disable error messages when analyzing instance creation expression in 'diamond finder' mode
Reviewed-by: jjg
2010-12-03 16:32:31 +00:00
Maurizio Cimadamore
7613f7a72c
6956758: NPE in com.sun.tools.javac.code.Symbol - isSubClass
...
Use of TransTypes.cast() instead of TransTypes.coerce() causes NPE in Lower
Reviewed-by: jjg
2010-12-03 16:31:23 +00:00
Christine Lu
7579c0a24d
Added tag jdk7-b120 for changeset 49e5caf5b854
2010-12-02 19:04:25 -08:00
Jonathan Gibbons
d4dee14cff
Merge
2010-12-02 16:38:16 -08:00
Per Bothner
e07cc985e8
7004029: intermittent failures compiling pack200
...
Remove "bogus" entries from star-import scopes
Reviewed-by: mcimadamore
2010-12-02 16:37:23 -08:00
Bhavesh Patel
275e77646d
6851834: Javadoc doclet needs a structured approach to generate the output HTML
...
Reviewed-by: jjg
2010-12-01 11:02:38 -08:00
Jonathan Gibbons
6edf2ff9a3
7003477: Paths.isDefaultBootClassPath needs to be public
...
Reviewed-by: mcimadamore
2010-11-30 09:38:48 -08:00
Jonathan Gibbons
be8a607fef
6900037: javac should warn if earlier -source is used and bootclasspath not set
...
Reviewed-by: darcy
2010-11-29 14:15:36 -08:00
Jonathan Gibbons
68ea64e30f
7003006: add option to list directory in deterministic order
...
Reviewed-by: mcimadamore
2010-11-29 10:09:48 -08:00
Jonathan Gibbons
cba5c7df9f
7002346: javap test relies on location of scratch directory
...
Reviewed-by: ksrini
2010-11-23 15:28:34 -08:00
Jonathan Gibbons
df07a3e457
6942366: javadoc no longer inherits doc from sourcepath
...
Reviewed-by: mcimadamore
2010-11-23 13:32:29 -08:00
Maurizio Cimadamore
3e65664acf
6995200: JDK 7 compiler crashes when type-variable is inferred from expected primitive type
...
15.12.2.8 should use boxing when expected type in assignment context is a primitive type
Reviewed-by: jjg
2010-11-23 11:08:43 +00:00
Christine Lu
dac44785bf
Added tag jdk7-b119 for changeset 2322464ada6f
2010-11-22 14:57:34 -08:00
Jonathan Gibbons
bdc7e81168
6999438: remove support for exotic identifiers from JDK 7
...
Reviewed-by: mcimadamore
2010-11-18 16:13:11 -08:00
Jan Lahoda
220f3b1c1b
7000973: isBogus needs to be called on the to-be-returned entry, not on the current entry
...
Reviewed-by: jjg
2010-11-17 15:07:43 -08:00
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
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
Lana Steuck
98b2aad842
Merge
2010-09-24 16:43:08 -07:00
Christine Lu
90841ef428
Added tag jdk7-b111 for changeset 4ad83e49760f
2010-09-23 17:33:52 -07:00
Jonathan Gibbons
5e44010f8c
6986772: langtools netbeans build should use ${ant.core.lib} instead of ${ant.home}/lib/ant.jar
...
Reviewed-by: ohair
2010-09-22 12:53:26 -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
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
Christine Lu
a8cfef66b3
Added tag jdk7-b110 for changeset a74f1fdb0bb8
2010-09-16 15:13: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
Christine Lu
7880134a10
Merge
2010-09-15 13:41:14 -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
Kelly O'Hair
fd65dbfc50
6982137: Rebranding pass 2 - missed copyright changes
...
Reviewed-by: mbykov
2010-09-09 16:29:40 -07:00
Christine Lu
e179cdf2fb
Added tag jdk7-b109 for changeset e14215cd81b9
2010-09-09 15:08:03 -07:00
Christine Lu
bca2254386
Merge
2010-09-09 13:49:03 -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
Christine Lu
990a6d67a1
Added tag jdk7-b108 for changeset 44d515c5b5b6
2010-09-03 12:50:19 -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
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
Christine Lu
38d1512949
Added tag jdk7-b107 for changeset c3c1f7961b1a
2010-08-26 16:17:15 -07:00
Jonathan Gibbons
98f8b67c3a
6980017: javap -XDdetail:source behaves badly if source not available
...
Reviewed-by: ksrini
2010-08-26 16:13:33 -07:00
Jonathan Gibbons
de9921986c
6604599: ToolProvider should be less compiler-specific
...
Reviewed-by: darcy
2010-08-26 15:17:17 -07:00
Naoto Sato
34fda8a36d
6875847: Java Locale Enhancement
...
Fix for javac to allow "sun.util.locale" package accessible.
Reviewed-by: jjg
2010-08-25 15:31:46 -07:00
Jonathan Gibbons
37fcc133f6
6960424: new option -Xpkginfo for better control of when package-info.class is generated
...
Reviewed-by: mcimadamore
2010-08-25 11:40:25 -07:00
Jonathan Gibbons
0e1661c2f1
6979564: ":" for path separator in dist/bin/javac does not work on Windows
...
Reviewed-by: jjh
2010-08-25 11:24:30 -07:00
Jonathan Gibbons
19a9622303
6929404: Filer.getResource(SOURCE_PATH, ...) does not work when -sourcepath contains >1 entry
...
Reviewed-by: darcy
2010-08-24 15:09:21 -07:00
Jonathan Gibbons
d6c5c969f0
6935638: -implicit:none prevents compilation with annotation processing
...
Reviewed-by: darcy
2010-08-24 11:31:00 -07:00
Lana Steuck
026d5787bb
Merge
2010-08-23 19:14:55 -07:00
Jonathan Gibbons
c12f12ce8e
6976747: JCDiagnostic: replace "boolean mandatory" with new "Set<JCDiagnostic.Flag>"
...
Reviewed-by: mcimadamore
2010-08-23 15:13:33 -07:00
Jonathan Gibbons
c72513c86b
6975005: improve JavacProcessingEnvironment.Round abstraction
...
Reviewed-by: darcy
2010-08-23 11:56:53 -07:00
Maurizio Cimadamore
92de62f50b
6978574: return statement in try block with multi-catch causes ClassFormatError
...
Wrong nested loops in Gen.java causes javac to generate bad bytecode
Reviewed-by: jjg
2010-08-23 17:00:07 +01:00
Maurizio Cimadamore
f5dd0bab3f
6932571: Compiling Generics causing Inconvertible types
...
Types.rewriteQuantifiers() does not work well with recursive type-variable bounds
Reviewed-by: jjg
2010-08-23 16:59:30 +01:00
Christine Lu
d13610cef5
Added tag jdk7-b106 for changeset 9af6b80c6f4b
2010-08-19 15:13:23 -07:00
Maurizio Cimadamore
634d001c64
6977800: Regression: invalid resolution of supertype for local class
...
Resolution of superclass/superinterfaces in extends/implements clause skips local classes
Reviewed-by: jjg
2010-08-19 11:54:25 +01:00
Maurizio Cimadamore
d56e09153a
6885255: Improve usability of raw warnings
...
Raw warnings should be disabled in (i) instanceof expressions and (ii) when java.lang.Class is not parameterized
Reviewed-by: jjg
2010-08-19 11:52:58 +01:00
Maurizio Cimadamore
71962ebfb0
6886247: regression: javac crashes with an assertion error in Attr.java
...
Capture conversion does not work on nested types
Reviewed-by: jjg
2010-08-19 11:50:50 +01:00
Jonathan Gibbons
d7787c25cf
6976833: options included twice in Example SimpleCompiler
...
Reviewed-by: darcy
2010-08-16 14:59:21 -07:00
Maurizio Cimadamore
2801325742
6369605: Unconstrained type variables fails to include bounds
...
Unconstrained type-variables with recursive bounds are not inferred properly
Reviewed-by: jjg
2010-08-16 14:58:10 +01:00
Maurizio Cimadamore
91bd86216a
6976649: javac does not enforce required annotation elements in arrays
...
Type annotation should take advantage of recursive annotation checking
Reviewed-by: jjg
2010-08-16 14:56:23 +01:00
Christine Lu
aff549a4ab
Added tag jdk7-b105 for changeset 60298a435212
2010-08-13 11:38:43 -07:00
Lana Steuck
673cb7c129
Merge
2010-08-12 19:59:10 -07:00
Maurizio Cimadamore
23a89dba04
6975231: Regression test for 6881115 is failing with compiler output not matching expected output
...
Missing symbols are collected in an HashSet which doesn't preserve ordering
Reviewed-by: jjg
2010-08-10 14:53:19 +01:00
Maurizio Cimadamore
132dde52c3
6975275: diamond implementation needs some cleanup
...
Resolution issues during diamond inference should be reported through Resolve.logResolveError()
Reviewed-by: jjg
2010-08-10 14:52:34 +01:00
Lana Steuck
35703f67d9
Merge
2010-08-09 16:03:07 -07:00
Christine Lu
80a48b15c7
Added tag jdk7-b104 for changeset fef4187d7622
2010-08-06 12:52:19 -07:00
Maurizio Cimadamore
fa2cb78a09
6857948: Calling a constructor with a doubly bogus argument causes an internal error
...
Problem when constructor resolution returns an erroneous symbol
Reviewed-by: jjg
2010-08-05 09:45:25 +01:00
Maurizio Cimadamore
156e82c164
6881115: javac permits nested anno w/o mandatory attrs => IncompleteAnnotationException
...
Default annotation value is not attributed
Reviewed-by: jjg, darcy
2010-08-05 09:44:54 +01:00
Lana Steuck
6581804c68
Merge
2010-08-02 19:46:14 -07:00
Jonathan Gibbons
0c1962f5de
6973626: test/tools/javac/processing/* tests fail with assertions enabled
...
Reviewed-by: darcy
2010-08-02 16:29:54 -07:00
Joe Darcy
74210780a0
6971877: Project Coin: improve semantics of suppressed exceptions in try-with-resources
...
Reviewed-by: jjb
2010-08-02 13:35:39 -07:00
Lana Steuck
9f50973389
Merge
2010-07-29 22:04:41 -07:00
Jonathan Gibbons
eff5854b96
6966604: JavacFiler not correctly notified of lastRound
...
Reviewed-by: darcy
2010-07-29 19:30:35 -07:00
Jonathan Gibbons
75b1007388
6340549: javax.tools.JavaCompilerTool.getStandardFileManager().list() includes directories
...
Reviewed-by: darcy
2010-07-29 19:27:11 -07:00
Jonathan Gibbons
30c006f23f
6972556: warning for using a file name instead of a binary name for Filer.createSourceFile
...
Reviewed-by: darcy
2010-07-29 18:06:34 -07:00
Christine Lu
f5bf509c49
Added tag jdk7-b103 for changeset a5cf09e6c109
2010-07-29 13:33:32 -07:00
Maurizio Cimadamore
a38fe743aa
6970833: Try-with-resource implementation throws an NPE during Flow analysis
...
Updated logic not to rely upon Symbol.implementation (which check in superinterfaces)
Reviewed-by: jjg
2010-07-29 15:57:43 +01:00
Maurizio Cimadamore
d7444b88be
6972747: CheckExamples fail when assertions are enabled
...
The test calls the wrong version of JavacMessage constructor
Reviewed-by: jjg
2010-07-29 15:57:18 +01:00
Maurizio Cimadamore
541f7a7a41
6938454: Unable to determine generic type in program that compiles under Java 6
...
A redundant dubtyping check causes spurious inference failure
Reviewed-by: jjg
2010-07-29 15:56:25 +01:00
Jonathan Gibbons
bcbe3b2577
6403456: -Werror should work with annotation processing
...
Reviewed-by: darcy
2010-07-27 11:52:11 -07:00
Jan Lahoda
157108fe22
6972327: JCTree.pos incorrect for annotations without modifiers and package
...
Reviewed-by: mcimadamore
2010-07-27 11:32:03 -07:00
Jonathan Gibbons
1c75e97108
6957438: improve code for generating warning messages containing option names
...
Reviewed-by: mcimadamore
2010-07-26 14:25:56 -07:00
Jonathan Gibbons
ccd014ed3f
6971882: Remove -XDstdout from javac test
...
Reviewed-by: darcy
2010-07-26 14:18:45 -07:00
Michael Wilkerson
3f659885ec
Added tag jdk7-b102 for changeset 755ea7201562
2010-07-23 16:42:36 -07:00
Jonathan Gibbons
7eb8c115ec
6968063: provide examples of code that generate diagnostics
...
Reviewed-by: mcimadamore
2010-07-22 11:02:54 -07:00
Lana Steuck
f1cce86e5b
Merge
2010-07-20 22:22:32 -07:00
Tom Ball
985efdc475
6911256: Project Coin: Support Automatic Resource Management (ARM) blocks in the compiler
...
6964740: Project Coin: More tests for ARM compiler changes
6965277: Project Coin: Correctness issues in ARM implementation
6967065: add -Xlint warning category for Automatic Resource Management (ARM)
Reviewed-by: jjb, darcy, mcimadamore, jjg, briangoetz
2010-07-16 19:35:24 -07:00
Michael Wilkerson
b9859c555d
Added tag jdk7-b101 for changeset 197b3b36b3f4
2010-07-15 20:11:54 -07:00
Tomas Zezula
9c273720d6
6964669: javac reports error on miranda methods
...
Synthetic name clash check should not apply to miranda methods
Reviewed-by: jjg
2010-07-15 16:31:56 +01:00
Mahmood Ali
aa93fd7701
6967002: JDK7 b99 javac compilation error (java.lang.AssertionError)
...
Bug in JavacParser related to parsing of type annotations in varargs position
Reviewed-by: jjg
2010-07-15 16:31:02 +01:00
Jonathan Gibbons
a1e7efde4a
6968789: incorrect text in "diamond not supported" message
...
Reviewed-by: darcy
2010-07-13 19:20:48 -07:00
Jonathan Gibbons
5db54afdea
6968434: test CheckResourceKeys fails on control builds
...
Reviewed-by: darcy
2010-07-13 19:17:55 -07:00
Jonathan Gibbons
ec05f75ccd
6966732: replace use of static Log.getLocalizedString with non-static alternative where possible
...
Reviewed-by: darcy
2010-07-13 19:14:09 -07:00
Lana Steuck
f45e422039
Merge
2010-07-12 19:43:19 -07:00
Jonathan Gibbons
29ceaebc37
6968497: localized text appears in raw diagnostic
...
Reviewed-by: darcy
2010-07-12 16:37:46 -07:00
Michael Wilkerson
5245d5d52c
Added tag jdk7-b100 for changeset 84d4886d48aa
2010-07-09 19:18:42 -07:00
Jonathan Gibbons
e438672595
6964768: need test program to validate javac resource bundles
...
Reviewed-by: darcy
2010-06-30 18:06:29 -07:00
Lana Steuck
e15e0c33b4
Merge
2010-06-29 22:43:59 -07:00
Lana Steuck
6bc7c5dcb7
Merge
2010-06-29 12:06:46 -07:00
Michael Wilkerson
9db4736a1e
Added tag jdk7-b99 for changeset c24b113fe4ac
2010-06-24 20:03:19 -07:00
Jonathan Gibbons
17e9572501
6917288: Unnamed nested class is not generated
...
Reviewed-by: mcimadamore
2010-06-24 10:34:53 -07:00
Joshua Bloch
5b2078e713
6911258: Project Coin: Add essential API support for Automatic Resource Management (ARM) blocks
...
Reviewed-by: darcy, alanb
2010-06-23 16:51:30 -07:00
Lana Steuck
6a10c59513
Merge
2010-06-21 22:09:18 -07:00
Jonathan Gibbons
dfd2d3b478
6961178: Allow doclet.xml to contain XML attributes
...
Reviewed-by: bpatel
2010-06-18 21:13:56 -07:00
Jonathan Gibbons
7210444d87
6962540: langtools Makefile sets DEV_NULL incorrectly
...
Reviewed-by: ohair
2010-06-18 16:45:13 -07:00
John R Rose
3141814177
Merge
2010-06-18 15:12:04 -07:00
Michael Wilkerson
5bdc7a2a88
Added tag jdk7-b98 for changeset eca02d17ce03
2010-06-17 16:28:21 -07:00
Lana Steuck
c97385de9d
Merge
2010-06-16 17:52:10 -07:00
Joshua Maurice
bb97fb0834
6956638: JavacTask.generate does not generate all required files
...
Reviewed-by: darcy
2010-06-16 16:23:27 -07:00
Lana Steuck
6c504b042e
Merge
2010-06-16 14:09:03 -07:00
Jonathan Gibbons
f6a7442983
6958836: javadoc should support -Xmaxerrs and -Xmaxwarns
...
Reviewed-by: darcy
2010-06-11 17:24:23 -07:00
Jonathan Gibbons
774e9847c4
6877961: langtools build should allow more options when running jtreg
...
Reviewed-by: mcimadamore
2010-06-11 07:12:07 -07:00
Jonathan Gibbons
19b81a2817
6960407: Potential rebranding issues in openjdk/langtools repository sources
...
Reviewed-by: darcy
2010-06-10 17:09:56 -07:00
Jonathan Gibbons
0dd9ef9b43
6944312: Potential rebranding issues in openjdk/langtools repository sources
...
Reviewed-by: darcy
2010-06-10 16:08:01 -07:00
Michael Wilkerson
75ed342228
Added tag jdk7-b97 for changeset 8dacdb7bb25b
2010-06-10 13:59:19 -07:00
Maurizio Cimadamore
875dc24cfc
6945418: Project Coin: Simplified Varargs Method Invocation
...
Add new mandatory warning for unsafe vararg method declaration. Warning can be suppressed as usual (@SuppressWarnings("varargs")/-Xlint:-varargs)
Reviewed-by: jjg, darcy
2010-06-10 09:29:23 +01:00
Lana Steuck
ff7f1b9999
Merge
2010-06-07 17:09:52 -07:00
Jonathan Gibbons
aa58d21213
6958802: cleanup and doc langtools build.xml file
...
Reviewed-by: ohair
2010-06-04 17:33:25 -07:00
Jonathan Gibbons
c8cce21323
6958391: add vizant support to langtools build
...
Reviewed-by: mcimadamore
2010-06-04 14:54:54 -07:00
Joe Darcy
da823fbf44
6519115: MirroredTypeException thrown but should be MirroredTypesException
...
Reviewed-by: jjg
2010-06-03 19:56:12 -07:00
Jonathan Gibbons
3bc126336f
6955264: add option to suppress Abort in Check.completionError
...
Reviewed-by: mcimadamore
2010-06-03 17:14:20 -07:00
Michael Wilkerson
324e5b7fcc
Added tag jdk7-b96 for changeset 766529b3422f
2010-06-03 13:30:30 -07:00
Joe Darcy
fa91c4b435
6933147: Provided new utility visitors supporting SourceVersion.RELEASE_7
...
Reviewed-by: jjg
2010-06-02 19:08:47 -07:00
Michael Wilkerson
369af2edbe
Merge
2010-06-02 15:40:01 -07:00
Lana Steuck
2592bab72c
Merge
2010-05-28 12:41:48 -07:00
Michael Wilkerson
68416bcd04
Added tag jdk7-b95 for changeset f8f961ea5739
2010-05-27 10:57:35 -07:00
Kelly O'Hair
3a941f57d3
6956202: Fix a few missed rebranding issues, please contact lines etc
...
Reviewed-by: darcy, jjg, weijun
2010-05-26 20:22:54 -07:00
Kelly O'Hair
776f9bbf9e
Merge
2010-05-26 10:40:10 -07:00
Kelly O'Hair
bd4f4be9d7
6943119: Rebrand source copyright notices
...
Reviewed-by: darcy
2010-05-25 15:54:51 -07:00
Lana Steuck
e75a23263b
Merge
2010-05-24 09:07:04 -07:00
Jonathan Gibbons
1955a6c375
6954901: langtools/test/Makefile should check for bin/javac(.exe) instead of lib/tools.jar
...
Reviewed-by: ohair
2010-05-21 17:32:19 -07:00
Michael Wilkerson
60ca370053
Added tag jdk7-b94 for changeset 1792af5280b8
2010-05-20 16:00:35 -07:00
Lana Steuck
eee1674849
Merge
2010-05-19 12:28:31 -07:00
Maurizio Cimadamore
836fb6fe52
6951833: latest diamond implementation generates spurious raw type warnings
...
Raw warning checks should be disabled in the presence of a diamond AST node
Reviewed-by: jjg
2010-05-19 16:43:30 +01:00
Maurizio Cimadamore
56c4bf22d4
6948381: javac Null Pointer Exception in Types.makeCompoundType
...
Race condition between symbol completion and attribution of import statements causes NPE when creating intersection type
Reviewed-by: jjg
2010-05-19 16:43:06 +01:00
Maurizio Cimadamore
cd66a7b462
6946618: sqe test fails: javac/generics/NewOnTypeParm in pit jdk7 b91 in all platforms
...
Bad cast to ClassType in the new diamond implementation fails if the target type of the instance creation expression is a type-variable
Reviewed-by: jjg
2010-05-19 16:42:37 +01:00
Maurizio Cimadamore
1bc9b6324e
6880344: Recursive type parameters do not compile
...
Issue in type-variable substitution causes valid code to be rejected
Reviewed-by: jjg
2010-05-19 16:41:57 +01:00
John R Rose
ffc05ac66b
Merge
2010-05-13 20:01:40 -07:00
Michael Wilkerson
e07663d108
Added tag jdk7-b93 for changeset 19b9aa23e950
2010-05-13 13:22:31 -07:00