Commit Graph

20 Commits

Author SHA1 Message Date
Kelly O'Hair
84b5875f26 6962318: Update copyright year
Reviewed-by: xdono
2010-12-28 15:54:52 -08: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
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
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
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
Kelly O'Hair
bd4f4be9d7 6943119: Rebrand source copyright notices
Reviewed-by: darcy
2010-05-25 15:54:51 -07:00
Jonathan Gibbons
2ed0d63583 6933914: fix missing newlines
Reviewed-by: ohair
2010-03-10 16:23:18 -08:00
Jonathan Gibbons
af2f2e8d36 6875336: some tests should use /nodynamiccopyright/
Reviewed-by: darcy
2009-08-27 11:08:27 -07:00
Joe Darcy
05ea258bbb 6843761: Update langtools tests to remove unncessary -source and -target options
Reviewed-by: jjg
2009-05-27 22:34:43 -07:00
Tim Bell
e005d5df51 Merge 2009-03-09 23:53:41 -07:00
Xiomara Jayasena
56fcf6c052 6814575: Update copyright year
Update copyright for files that have been modified in 2009, up to 03/09

Reviewed-by: katleman, tbell, ohair
2009-03-09 13:29:06 -07:00
Maurizio Cimadamore
7b461338a0 6467183: javac fails to raise unchecked warning on cast of parameterized generic subclass
Cleanup code for generating unchecked cast warnings

Reviewed-by: jjg
2009-03-05 17:24:08 +00:00
Maurizio Cimadamore
198f2427b4 6769027: Source line should be displayed immediately after the first diagnostic line
Added support for customizing diagnostic output via API/command line flags

Reviewed-by: jjg
2009-02-13 11:57:33 +00:00
Maurizio Cimadamore
c5d6131368 6557182: Unchecked warning *and* inconvertible types
Redundant warnings are generated when casting from intersection types

Reviewed-by: jjg
2009-01-29 12:18:19 +00:00
Maurizio Cimadamore
dffa62753f 6795580: parser confused by square brackets in qualified generic cast
Parser rejects cast with qualified generic array types

Reviewed-by: jjg
2009-01-20 17:49:09 +00:00
Maurizio Cimadamore
34719749c5 6558559: Extra "unchecked" diagnostic
Fixed Types.sideCast in order to suppress redundant unchecked warnings

Reviewed-by: jjg
2009-01-13 13:31:35 +00:00
Maurizio Cimadamore
f6cd370370 6665356: Cast not allowed when both qualifying type and inner class are parameterized
Fixed parser and cats conversion in order to allow cast between generic inner classes

Reviewed-by: jjg
2009-01-13 13:28:20 +00:00
Maurizio Cimadamore
0408a1adae 6548436: Incorrect inconvertible types error
Types.rewrite quantifiers should cope with captured type-variables properly

Reviewed-by: jjg
2008-10-23 18:10:23 +01:00
Maurizio Cimadamore
c09e705e04 6586091: javac crashes with StackOverflowError
Types.adapt should avoid infinite loops by exploiting a local cache

Reviewed-by: jjg
2008-10-09 16:21:04 +01:00
J. Duke
f57b87e8f6 Initial load 2007-12-01 00:00:00 +00:00