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
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
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
Lana Steuck
6bdab59e81
Merge
2010-12-05 15:26:55 -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