Commit Graph

62 Commits

Author SHA1 Message Date
Tim Bell
bfe81fd61c Merge 2008-07-04 15:06:27 -07:00
Xiomara Jayasena
bd5973ed58 Added tag jdk7-b30 for changeset 372aa565a221 2008-07-03 11:01:49 -07:00
Xiomara Jayasena
4d965a7153 6719955: Update copyright year
Update copyright year for files that have been modified in 2008

Reviewed-by: ohair, tbell
2008-07-02 12:56:02 -07:00
Tim Bell
ab32cfbffe Merge 2008-06-25 23:30:55 -07:00
Jonathan Gibbons
dd0f4f4cc6 6507179: javadoc -source 1.3 does not work with jdk6
Reviewed-by: mcimadamore
2008-06-25 14:24:53 -07:00
Tim Bell
e27161b934 Merge 2008-06-20 16:36:18 -07:00
Xiomara Jayasena
8b4b14af5c Added tag jdk7-b29 for changeset 94987e5c1597 2008-06-20 08:45:15 -07:00
Maurizio Cimadamore
f33c28c7fb 6294779: Problem with interface inheritance and covariant return types
Problematic overriding check when two methods defined in two distinct superinterfaces are overriden by an interface

Reviewed-by: jjg
2008-06-20 11:25:03 +01:00
Jonathan Gibbons
cfd8c6e652 6716866: some javac regression tests fail to compile with re-orged file manager
Reviewed-by: darcy
2008-06-19 15:52:31 -07:00
Jonathan Gibbons
2e420d4001 6715767: javap on java.lang.ClassLoader crashes
Reviewed-by: ksrini
2008-06-18 16:53:08 -07:00
Jonathan Gibbons
27b7da6dfc 6714365: refactor JavacFileManager to move nested classes to top level
Reviewed-by: mcimadamore
2008-06-18 07:23:25 -07:00
Jonathan Gibbons
d39e209011 6625520: javac handles missing entries on classpath badly
Reviewed-by: mcimadamore
2008-06-17 10:44:32 -07:00
Tim Bell
dc6f119d59 Merge 2008-06-16 22:23:33 -07:00
Jonathan Gibbons
c8fdd80cc2 6714364: refactor javac File handling code into new javac.file package
Reviewed-by: mcimadamore
2008-06-16 13:28:00 -07:00
Tim Bell
7cad138c70 Merge 2008-06-12 13:19:16 -07:00
Xiomara Jayasena
f7134c8cfd Added tag jdk7-b28 for changeset 9ab834e560b8 2008-06-10 10:37:23 -07:00
Tim Bell
94e7336593 Merge 2008-06-06 15:17:35 -07:00
Jonathan Gibbons
92cea6ce44 6711276: langtools has incorrect -Werror switch
Reviewed-by: ksrini
2008-06-05 13:46:26 -07:00
Jonathan Gibbons
0a7516d744 4075303: Use javap to enquire aboput a specific inner class
4348375: Javap is not internationalized
4459541: "javap -l" shows line numbers as signed short; they should be unsigned
4501660: change diagnostic of -help as 'print this help message and exit'
4776241: unused source file in javap..
4870651: javap should recognize generics, varargs, enum
4876942: javap invoked without args does not print help screen
4880663: javap could output whitespace between class name and opening brace
4975569: javap doesn't print new flag bits
6271787: javap dumps LocalVariableTypeTable attribute in hex, needs to print a table
6305779: javap: support annotations
6439940: Clean up javap implementation
6469569: wrong check of searchpath in JavapEnvironment
6474890: javap does not open .zip files in -classpath
6587786: Javap throws error : "ERROR:Could not find <classname>" for JRE classes
6622215: javap ignores certain relevant access flags
6622216: javap names some attributes incorrectly
6622232: javap gets whitespace confused
6622260: javap prints negative bytes incorrectly in hex

Reviewed-by: ksrini
2008-06-03 13:26:47 -07:00
Tim Bell
39482b230d Merge 2008-06-02 22:35:16 -07:00
Maurizio Cimadamore
e3ba3ecd1d 6677785: REGRESSION: StackOverFlowError with Cyclic Class level Type Parameters when used in constructors
This regression has been caused by previous fix of 6660289

Reviewed-by: jjg
2008-05-30 11:08:40 +01:00
Maurizio Cimadamore
afb636d599 6507024: casting an array to a generic type results in a 'capture#69 of ?' type error
Types.isSubtypeUnchecked() should handle type-variables subtyping properly

Reviewed-by: jjg
2008-05-30 10:42:43 +01:00
Maurizio Cimadamore
617daebc69 6665223: Static import of inherited protected method causes compiler exception
Buggy accessibility check causes NPE during resolution of imported static methods

Reviewed-by: jjg
2008-05-30 10:29:27 +01:00
Tim Bell
92579e1577 Merge 2008-05-28 00:02:28 -07:00
Jonathan Gibbons
e7c264308c 6705935: javac reports path name of entry in ZipFileIndex incorectly
Reviewed-by: darcy
2008-05-22 17:40:53 -07:00
Jonathan Gibbons
e3cb6a2c82 6657909: javap has unchecked compilation warnings
Reviewed-by: mcimadamore
2008-05-22 16:06:00 -07:00
Jonathan Gibbons
aefbc41695 6705945: com.sun.tools.javac.zip files do not have valid copyright
Reviewed-by: mcimadamore
2008-05-22 15:51:41 -07:00
Xiomara Jayasena
2bd5006eac Added tag jdk7-b27 for changeset ae44a6d84438 2008-05-22 09:37:57 -07:00
Tim Bell
fcc59caffc Merge 2008-05-12 18:07:48 -07:00
Tim Bell
a51865fc90 Merge 2008-04-25 15:22:39 -07:00
Xiomara Jayasena
74c68ed959 Added tag jdk7-b26 for changeset a19298c17815 2008-04-24 12:12:28 -07:00
Maurizio Cimadamore
c2e37f139a 6682380: Foreach loop with generics inside finally block crashes javac with -target 1.5
A missing type-erasure in Lower.java causes the compiler to crash since JDK6

Reviewed-by: jjg
2008-04-23 17:10:03 +01:00
Tim Bell
01af1b8223 Merge 2008-04-15 17:48:22 -07:00
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