Commit Graph

3929 Commits

Author SHA1 Message Date
Tim Bell
0d23d8c962 Merge 2008-04-11 15:08:21 -07:00
Xiomara Jayasena
7e94966c91 Added tag jdk7-b25 for changeset 2afbdd3321d0 2008-04-09 11:19:15 -07:00
Maurizio Cimadamore
38763bd637 6559182: Cast from a raw type with non-generic supertype to a raw type fails unexpectedly
Javac doesn't conform to JLS 4.8 - all the supertypes of a raw type must be erased

Reviewed-by: jjg
2008-04-09 15:30:44 +01:00
Maurizio Cimadamore
e63129f7b5 6683438: Bad regression test for CR 6611449
The regression test for CR 6611449 contains some inconstistencies

Reviewed-by: jjg
2008-04-09 15:04:35 +01:00
Maurizio Cimadamore
d09cfea3c2 6657499: javac 1.6.0 fails to compile class with inner class
Lookup of member inner classes silently fails leading to an unwanted erasure to take place

Reviewed-by: jjg
2008-04-09 14:57:37 +01:00
Maurizio Cimadamore
bafc1f6d00 6450290: Capture of nested wildcards causes type error
A missing capture conversion makes javac to think that some expressions are well-formed even when they aren't

Reviewed-by: jjg
2008-04-09 14:45:50 +01:00
Maurizio Cimadamore
70bdf8ae8d 6481655: Parser confused by combination of parens and explicit type args
Bug in the parser caused by the fact that explicit type arguments are disabled when parsing parenthesized expressions

Reviewed-by: jjg
2008-04-09 14:05:24 +01:00
Maurizio Cimadamore
11b40a75ac 6365166: javac (generic) unable to resolve methods
Unignore regression test as this bug has been fixed by CR 6278587

Reviewed-by: jjg
2008-04-09 13:53:45 +01:00
Maurizio Cimadamore
3c80eb1a9e 5009937: hiding versus generics versus binary compatibility
Missing implementation of JLS 8.4.8.3 (different arguments with same erasure not always triggering a compiler error)

Reviewed-by: jjg
2008-04-09 13:41:45 +01:00
Maurizio Cimadamore
2daecbb697 6531075: Missing synthetic casts when accessing fields/methods of intersection types including type variables
Bug when javac generates code involving intersection types

Reviewed-by: jjg
2008-04-09 13:19:01 +01:00
Kumar Srinivasan
f62ccad5cd 6570242: Regression test failures with Javac on win32
Takes this test out of service until the reall bug is fixed

Reviewed-by: jjg
2008-04-03 18:01:55 -07:00
Maurizio Cimadamore
1be460dbdd 6531090: Cannot access methods/fields of a captured type belonging to an intersection type
Fixed lookup of field/methods on intersection types

Reviewed-by: jjg
2008-04-02 11:44:23 +01:00
Maurizio Cimadamore
8ef814eb9c 6509042: javac rejects class literals in enum constructors
Javac now distinguish between enum class literals and static fields

Reviewed-by: jjg
2008-04-02 11:38:16 +01:00
Maurizio Cimadamore
70bcd151a0 6569789: Compiler test lang/TYPE/type153/type15304/type15304.html fails since jdk7 b05
Improved glb on type-inference

Reviewed-by: jjg
2008-04-02 11:20:52 +01:00
Kumar Srinivasan
8cb91c890d 6618930: (javac) fix test after whitespace normalization
Whitespace normalization left the test unusable, back to service

Reviewed-by: jjg
2008-03-20 08:44:18 -07:00
Jonathan Gibbons
2f36d025ca 6638501: Regression with Javac in JDK6 U4 b03?
Replace some String paths with File paths in Paths.java

Reviewed-by: ksrini
2008-03-14 16:09:30 -07:00
Jonathan Gibbons
d3dcc1c115 6559315: Inconsistent non-standard Sun copyright in src/share/opensource/javac/doc/document.css
Remove obsolete files

Reviewed-by: mcimadamore
2008-03-13 13:42:38 -07:00
Jonathan Gibbons
7dbe0828de 6668794: javac puts localized text in raw diagnostics
6668796: bad diagnostic "bad class file" given for source files

Replace internal use of localized text with JCDiagnostic fragments; fix diagnostic for bad source file

Reviewed-by: mcimadamore
2008-03-12 13:06:00 -07:00
Jonathan Gibbons
4cd40a47ff 6307187: clean up code for -Xlint:options
Introduce common code for handling one-of and any-of options

Reviewed-by: mcimadamore
2008-03-11 13:14:55 -07:00
Jonathan Gibbons
a7ed75b36a 6668802: javac handles diagnostics for last line badly, if line not terminated by newline
Use CharBuffer.limit(), not the length of the backing array

Reviewed-by: mcimadamore
2008-03-06 10:25:04 -08:00
Michael Bailey
7c8027dace 4741726: allow Object += String
Remove code in line with restriction removed from JLS

Reviewed-by: mcimadamore
2008-03-06 10:07:25 -08:00
Maurizio Cimadamore
e82f625583 6663588: Compiler goes into infinite loop for Cyclic Inheritance test case
Interplay between cyclic inheritance and tvar bounds hangs javac

Reviewed-by: jjg
2008-03-04 15:45:20 +00:00
Maurizio Cimadamore
6350088352 6608214: Exception throw while analysing a file with error
Bad error-recovery after bad type-variable bound is detected

Reviewed-by: jjg
2008-03-04 15:19:06 +00:00
Maurizio Cimadamore
00c5620740 6660289: declared bound in inner class referring a type variable of the outer class
NPE caused by a defect in type-variable attribution

Reviewed-by: jjg
2008-03-04 13:00:08 +00:00
Maurizio Cimadamore
9e5259f792 6611449: Internal Error thrown during generic method/constructor invocation
Type-inference should fail since lub is not defined for primitive types

Reviewed-by: jjg
2008-03-04 12:14:13 +00:00
Maurizio Cimadamore
702926ba55 6614974: javac successfully compiles code that throws java.lang.VerifyError when run
Synthetic cast missing when translating autoboxing expressions

Reviewed-by: jjg
2008-03-03 16:03:53 +00:00
Mark Reinhold
c426bbd074 6669216: Add jcheck configuration directories
Reviewed-by: ohair, xdono
2008-02-29 20:04:03 -08:00
Xiomara Jayasena
3d9467a948 Added tag jdk7-b24 for changeset 06bc494ca11e 2007-12-04 16:28:45 -08:00
J. Duke
f57b87e8f6 Initial load 2007-12-01 00:00:00 +00:00