Commit Graph

187 Commits

Author SHA1 Message Date
Bhavesh Patel
de73102ff4 6786682: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - HTML tag should have lang attribute
Reviewed-by: jjg
2009-01-15 17:21:11 -08: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
Mark Mahieu
9dff8d691f 6723444: javac fails to substitute type variables into a constructor's throws clause
Added constructor's actual type info to NewClass AST node

Reviewed-by: jjg
2009-01-13 13:28:42 +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
795b53a014 6765045: Remove rawtypes warnings from langtools
Removed all occurrences of rawtypes warnings from langtools

Reviewed-by: jjg, bpatel
2009-01-13 13:27:14 +00:00
Bhavesh Patel
a23159ffac Merge 2009-01-08 16:34:58 -08:00
Bhavesh Patel
a2a9e39ec7 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
Reviewed-by: jjg
2009-01-08 16:26:59 -08:00
Peter Runge
dda3b0af66 6512707: "incompatible types" after (unrelated) annotation processing
Reviewed-by: darcy
2009-01-07 14:48:29 -08:00
Tim Bell
1d9a30a4d2 Merge 2008-12-19 10:39:02 -08:00
Xiomara Jayasena
94649662ec Added tag jdk7-b42 for changeset f5855e0473e3 2008-12-18 21:34:20 -08:00
Xiomara Jayasena
b905401ddc Merge 2008-12-15 17:13:21 -08:00
Xiomara Jayasena
7582e6a1eb 6785258: Update copyright year
Update copyright for files that have been modified starting July 2008 to Dec 2008

Reviewed-by: katleman, ohair, tbell
2008-12-15 16:55:33 -08:00
Tim Bell
47b467dff2 Merge 2008-12-05 21:59:59 -08:00
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
Jonathan Gibbons
9ed3284766 6778638: javadoc regression tests require tabs
Reviewed-by: darcy
2008-12-02 14:35:22 -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