Commit Graph

297 Commits

Author SHA1 Message Date
Maurizio Cimadamore
d0892edd69 6816548: Uninitialized register when performing casting + auto(un)boxing
Constant value of final variable is lost during lowering

Reviewed-by: jjg
2009-03-25 10:28:52 +00:00
Maurizio Cimadamore
8321605121 6182950: methods clash algorithm should not depend on return type
Fixed code that checks for duplicate method declarations

Reviewed-by: jjg
2009-03-25 10:28:36 +00:00
Tim Bell
e969cae170 Merge 2009-03-21 13:53:11 -07:00
Bhavesh Patel
34d8fbb5e2 6820360: Fix for definition list tags nesting adds an extra list tag for package summary page
Reviewed-by: jjg
2009-03-20 15:50:50 -07:00
Bhavesh Patel
fd5bc72005 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
Reviewed-by: jjg
2009-03-19 19:00:54 -07:00
Xiomara Jayasena
f714e2735c Added tag jdk7-b51 for changeset 95e3c21b2919 2009-03-19 13:25:44 -07:00
Tim Bell
61485906a3 6814592: Legal notice repair needed in langtools/test/tools/javap/T4884240.java
Reviewed-by: jjg
2009-03-17 11:28:24 -07:00
Tim Bell
e005d5df51 Merge 2009-03-09 23:53:41 -07:00
Xiomara Jayasena
2978ffb9f9 Merge 2009-03-09 13:34:19 -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
Tim Bell
9d3e087075 Merge 2009-03-06 10:53:48 -08:00
Xiomara Jayasena
4ae52d7dc1 Added tag jdk7-b50 for changeset 7faffd237305 2009-03-05 09:49:26 -08:00
Maurizio Cimadamore
a46fd793cc 6799605: Basic/Raw formatters should use type/symbol printer instead of toString()
Create new combo type/symbol visitor printer used by all diagnostic formatters

Reviewed-by: jjg
2009-03-05 17:25:37 +00:00
Maurizio Cimadamore
938af6ca9f 6807255: LineNumberTable wrong if enhanced-for-loops are used
End position of iterable for-each loop was not set properly

Reviewed-by: jjg
2009-03-05 17:25:13 +00:00
Maurizio Cimadamore
5ff31e060f 6804733: javac generates spourious diagnostics for ill-formed type-variable bounds
Fixed algorithm for checking cycles in typevar declarations

Reviewed-by: jjg
2009-03-05 17:24:40 +00: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
Tim Bell
f4e320bfb9 Merge 2009-03-02 15:11:29 -08:00
Bhavesh Patel
5020864887 6786690: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - DL tag and nesting issue
Reviewed-by: jjg
2009-02-27 18:57:17 -08:00
Tim Bell
3c46295767 Merge 2009-02-27 10:54:11 -08:00
Xiomara Jayasena
d9ebfd3ddd Added tag jdk7-b49 for changeset 12d66066c9b7 2009-02-26 10:57:31 -08:00
Joe Darcy
178049faf3 6498938: Faulty comparison of TypeMirror objects in getElementsAnnotatedWith implementation
Reviewed-by: jjg
2009-02-24 17:48:53 -08:00
Joe Darcy
0b44eecef2 6501749: 6501749 Filer should state connection between created files and root elements
Reviewed-by: jjg
2009-02-24 17:16:18 -08:00
Tim Bell
4b732c2f61 Merge 2009-02-24 07:55:30 -08:00
Tim Bell
ea24f38417 Merge 2009-02-21 09:58:08 -08:00
Joe Darcy
f73daa0e58 6460529: Provide mixin interfaces for getQualifiedName and getTypeParameters
Reviewed-by: jjg
2009-02-20 11:56:09 -08:00
Tim Bell
8c702dfd66 Merge 2009-02-19 18:04:54 -08:00
Xiomara Jayasena
55676cacc2 Added tag jdk7-b48 for changeset 299092b5d884 2009-02-19 14:08:22 -08:00
Bhavesh Patel
11a5dc38c7 6802694: Javadoc doclet does not display deprecated information with -nocomment option for serialized form
Reviewed-by: jjg
2009-02-18 13:47:27 -08:00
Tim Bell
cf4c6b351a Merge 2009-02-17 09:07:14 -08: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
Xiomara Jayasena
824fac8c75 Added tag jdk7-b47 for changeset c445221445df 2009-02-12 14:00:59 -08:00
Tim Bell
5e0a625580 Merge 2009-02-06 17:24:04 -08:00
Joe Darcy
553a2dfa66 6794071: Provide exception superclass for UnknownFooExceptions
Reviewed-by: jjg
2009-02-06 12:49:48 -08:00
Jonathan Gibbons
21507b2ba7 6595666: fix -Werror
Reviewed-by: mcimadamore
2009-02-06 10:23:57 -08:00
Tim Bell
23ab3ee383 Merge 2009-02-06 09:44:58 -08:00
Xiomara Jayasena
212dd5d9b8 Added tag jdk7-b46 for changeset b60cca94e94d 2009-02-05 16:07:57 -08:00
Tim Bell
c597e8b844 Merge 2009-01-30 23:28:38 -08:00
Tim Bell
722c67692b Merge 2009-01-29 21:48:36 -08:00
Xiomara Jayasena
f32326c000 Added tag jdk7-b45 for changeset 779f966ee652 2009-01-29 13:21:18 -08:00
Maurizio Cimadamore
4021098c46 6729401: Compiler error when using F-bounded generics with free type variables
Javac applies wrong substitution to recursive type-variable bounds

Reviewed-by: jjg
2009-01-29 12:19:14 +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
552a7a0e19 6315770: javac inference allows creation of strange types: Integer & Runnable
Javac does not apply glb correctly as per JLS3 15.12.2.8

Reviewed-by: jjg
2009-01-29 12:17:57 +00:00
Jonathan Gibbons
4aefa80bf1 6176978: current Javadoc's invocation and extension (Doclet) mechanisms are problematic
Reviewed-by: darcy
2009-01-27 18:38:39 -08:00
Joe Darcy
f82d6e454b 6707027: langtools/test/tools/javac/processing/model/testgetallmember/Main.java fails
Reviewed-by: jjg
2009-01-27 17:50:53 -08:00
Tim Bell
1b49bea0ad 6797871: Fix for 6797463 did not remove the jtreg tests, and it should have
Reviewed-by: jjg
2009-01-26 15:14:46 -08:00
Tim Bell
57af527fbb Merge 2009-01-24 16:35:52 -08:00
Tim Bell
e6ce4c2488 6797463: 6557199 breaks the jax-ws workspace
Reviewed-by: jjg
2009-01-24 11:07:32 -08:00
Jonathan Gibbons
cf1252d823 6795365: NetBeans projects in langtools repository are not NB6.5-friendly
Reviewed-by: mcimadamore
2009-01-23 11:23:10 -08:00
Jonathan Gibbons
72a1863490 6796965: dev-time wrapper script for javac broken
Reviewed-by: ksrini
2009-01-22 15:45:44 -08:00
Xiomara Jayasena
3112e3e065 Added tag jdk7-b44 for changeset 9d204be2281a 2009-01-22 14:42:22 -08:00
Jonathan Gibbons
f495424a45 6795030: Files in langtools build can be compiled ignoring java.home settings
Reviewed-by: mcimadamore
2009-01-21 08:21:41 -08:00
Jonathan Gibbons
15099c9ffe 6795903: fix latent build warnings in langtools repository
Reviewed-by: darcy
2009-01-20 18:23:13 -08:00
Jonathan Gibbons
981f025a85 6794582: javadoc should read files using a FileManager
Reviewed-by: darcy, bpatel
2009-01-20 15:17:45 -08:00
Maurizio Cimadamore
19b769a375 6557199: Fails to reject bad override of generic method
Javac does not correctly implement JLS3 8.4.5

Reviewed-by: jjg
2009-01-20 17:49:49 +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
Jonathan Gibbons
a1f31b73db 6794959: add new switch -XDexpectKeys=key,key...
Reviewed-by: mcimadamore
2009-01-19 19:36:14 -08:00
Joe Darcy
6644396543 6583626: Improve serialization support in javax.lang.model.type exception classes
Reviewed-by: jjg
2009-01-16 14:05:55 -08:00
Tim Bell
1fab872b02 Merge 2009-01-16 10:38:31 -08:00
Jonathan Gibbons
b4747d3188 6794520: MessageRetriever should be upgraded to use varargs Object..
Reviewed-by: bpatel
2009-01-15 18:06:36 -08:00
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
Xiomara Jayasena
0590d5d822 Added tag jdk7-b43 for changeset a02ba404f9c6 2009-01-15 11:46:43 -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