Commit Graph

173 Commits

Author SHA1 Message Date
Tim Bell
ecc1d3a67c Merge 2008-12-05 09:52:51 -08:00
Xiomara Jayasena
8ffbb1eee1 Added tag jdk7-b41 for changeset 6471e8a4578f 2008-12-04 11:10:35 -08:00
Mark Wielaard
69e0e018d4 6778493: Fix (langtools) ant build to honor fcs MILESTONE setting
Reviewed-by: ohair
2008-12-01 12:15:14 -08:00
Maurizio Cimadamore
71eb016652 6776289: Regression: javac7 doesnt resolve method calls properly
Superclass' private methods shouldn't be considered during method resolution

Reviewed-by: jjg
2008-11-26 11:07:07 +00:00
Tim Bell
da14ef4113 Merge 2008-11-21 15:21:41 -08:00
Xiomara Jayasena
6683daa8c7 Added tag jdk7-b40 for changeset 5db12b3a75ea 2008-11-20 11:39:58 -08:00
Maurizio Cimadamore
454f269528 6768932: Add support for multiline diagnostics
Added basic support for multiline/tabular diagnostics

Reviewed-by: jjg
2008-11-12 14:17:03 +00:00
Tim Bell
68e605f7a4 Merge 2008-11-07 11:45:49 -08:00
Xiomara Jayasena
803f241db6 Added tag jdk7-b39 for changeset 628049ac53ed 2008-11-06 12:10:41 -08:00
Maurizio Cimadamore
caa22f1483 6763518: Impossible to suppress raw-type warnings
Check.validate(Type) should be invoked after -Xlint is augmented in Attr.visitVarDef

Reviewed-by: darcy
2008-10-28 14:05:59 +00:00
Jonathan Gibbons
49c8929c4a 6764226: ListTest fails on javap output with bad characters
Reviewed-by: darcy
2008-10-27 14:25:59 -07:00
Tim Bell
c85afdbe86 Merge 2008-10-24 20:47:47 -07:00
Maurizio Cimadamore
a21aaaa7dc 6762569: Javac crashes with AssertionError in Types.containedBy
Types.containedBy should be more liberal with UndetVars

Reviewed-by: jjg
2008-10-24 12:46:51 +01:00
Maurizio Cimadamore
418461fae2 6758789: Some method resolution diagnostic should be improved
Recent work on diagnostics left out some resolution corner cases

Reviewed-by: jjg
2008-10-24 12:46:34 +01:00
Maurizio Cimadamore
dd2a864f51 6746184: javac fails to compile call to public varargs method
Javac's resolution process should go through all steps described in JLS 15.12.2.2

Reviewed-by: jjg
2008-10-24 12:46:07 +01:00
Maurizio Cimadamore
3a7c0b423c 6680106: StackOverFlowError for Cyclic inheritance in TypeParameters with ArrayType Bounds
Javac ends up in an infinite loop while attributing mutually referring array type-parameter bounds

Reviewed-by: jjg
2008-10-24 12:45:47 +01:00
Tim Bell
d01291bb6e Merge 2008-10-23 21:56:41 -07:00
Maurizio Cimadamore
5a17e28602 6557954: Inner class type parameters doesn't get substituted when checking type well-formedness
Validator.visitTypeApply should substitute all formal typevars with actual parameters

Reviewed-by: jjg
2008-10-23 18:29:11 +01:00
Xiomara Jayasena
2531ec2c03 Added tag jdk7-b38 for changeset 62c548002ecb 2008-10-23 10:13:23 -07: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
b2ffad7180 6487370: javac incorrectly gives ambiguity warning with override-equivalent abstract inherited methods
Javac should not compare erased return types when checking for ambiguity errors during overload resolution

Reviewed-by: jjg
2008-10-23 18:00:05 +01:00
Maurizio Cimadamore
90e6379916 6711619: javac doesn't allow access to protected members in intersection types
Accordingly to new accessibility rules all members of intersection types (but private ones) should be accessible

Reviewed-by: jjg
2008-10-23 17:59:43 +01:00
Maurizio Cimadamore
be7b82ffe4 6732484: Bound error on wildcard code
Check.checkExtends should cope with captured type-variables

Reviewed-by: jjg
2008-10-23 17:59:16 +01:00
Jonathan Gibbons
7d2872604d 6759996: ignore empty entries on paths
Reviewed-by: darcy
2008-10-20 13:42:45 -07:00
Tim Bell
b99ff1ffeb Merge 2008-10-17 16:47:54 -07:00
Jonathan Gibbons
fac7f6fd8a 6760930: empty element on bootclasspath breaks test/tools/apt/Discovery/discovery.sh
Reviewed-by: darcy
2008-10-17 16:06:32 -07:00
Jonathan Gibbons
8175eb6c0e 6760805: empty element on bootclasspath breaks test/tools/apt/Compile/compile.sh
Reviewed-by: darcy
2008-10-17 10:34:06 -07:00
Jonathan Gibbons
c6c8882d70 6760500: test com/sun/javadoc/testSupplementary/TestSupplementary.java is not same-VM safe
Reviewed-by: darcy
2008-10-16 16:53:56 -07:00
Maurizio Cimadamore
1cfe36b8a1 6760226: test/tools/javap/T6622260.java fails with specific locale settings
Changed the regression test in order to make it more robust w.r.t. to locale settings

Reviewed-by: jjg
2008-10-16 18:07:37 +01:00
Jonathan Gibbons
72ffb28a4d 6759810: bad regression test causes source file to be deleted
Reviewed-by: mcimadamore
2008-10-16 07:39:53 -07:00
Jonathan Gibbons
ad3ca8d8f2 6759775: RegularFileObject.inferBinaryName gives bad result on empty path
Reviewed-by: mcimadamore
2008-10-16 07:30:13 -07:00
Jonathan Gibbons
a75a5f00d6 6759796: test/tools/javac/6348193/T6348193.java fails if there are empty entries on the bootclasspath
Reviewed-by: darcy
2008-10-15 13:20:03 -07:00
Jonathan Gibbons
a2201c5ae7 6759795: test/tools/apt/Basic/print.sh may fail depending on jtreg options
Reviewed-by: darcy
2008-10-15 11:13:23 -07:00
Maurizio Cimadamore
0f7dc30816 6759682: APT: compiler message file broken after refactoring of com.sun.tools.javac.util.Message
JavacMessages should refresh its own bundle cache when a new resource bundle is added by APT

Reviewed-by: jjg
2008-10-15 17:23:55 +01:00
Jonathan Gibbons
55ef4bc22e 6748541: javadoc should be reusable
Reviewed-by: bpatel
2008-10-15 08:07:59 -07:00
Maurizio Cimadamore
1dc1dcab49 6759143: com.sun.tools.javac.util.Messages is obsolete and should be removed
Push for 6406133 should have removed com.sun.tools.javac.util.Messages

Reviewed-by: jjg
2008-10-14 17:05:48 +01:00
Tim Bell
4fddc7cbee Merge 2008-10-10 13:29:11 -07:00
Xiomara Jayasena
16155a7d48 Added tag jdk7-b37 for changeset 076a3cde30d5 2008-10-09 11:13:34 -07: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
Maurizio Cimadamore
68c9df4110 6731573: diagnostic output should optionally include source line
Added an -XD option to optionally prints out source lines in error messages

Reviewed-by: jjg
2008-10-09 16:19:13 +01:00
Maurizio Cimadamore
7a442ce178 6406133: JCDiagnostic.getMessage ignores locale argument
Compiler API should take into account locale settings

Reviewed-by: jjg
2008-10-09 16:07:38 +01:00
Maurizio Cimadamore
ab5f1cb24b 6724345: incorrect method resolution for enum classes entered as source files
Enum's abstract methods shouldn't be skipped during method resolution

Reviewed-by: jjg
2008-10-09 16:04:29 +01:00
Maurizio Cimadamore
67339c0aab 6738538: javac crashes when using a type parameter as a covariant method return type
Capture conversion should be applied when acccessing a member of an intersection type

Reviewed-by: jjg
2008-10-09 16:02:29 +01:00
Maurizio Cimadamore
9315b88d67 6751514: Unary post-increment with type variables crash javac during lowering
Lower.abstractRval should take into account parenthesized expressions

Reviewed-by: jjg
2008-10-09 15:56:20 +01:00
Jonathan Gibbons
98ab03e7e5 6749967: regression tests for apt should be same-vm friendly
Reviewed-by: darcy
2008-10-07 15:39:19 -07:00
Jonathan Gibbons
1a0a9d1a6f 6748546: javadoc API should be classloader-friendly
Reviewed-by: bpatel
2008-10-06 16:57:15 -07:00
Tim Bell
ebc51f0813 Merge 2008-10-04 22:59:05 -07:00
Tim Bell
7fe650bc36 Merge 2008-10-04 22:49:54 -07:00
Xiomara Jayasena
4dcb55b4b5 6754988: Update copyright year
Update for files that have been modified starting July 2008

Reviewed-by: ohair, tbell
2008-10-02 19:58:40 -07:00
Jonathan Gibbons
02332d6aa7 6748601: javadoc API should allow varargs use
Reviewed-by: bpatel
2008-10-01 16:26:33 -07:00