Tim Bell
|
e005d5df51
|
Merge
|
2009-03-09 23:53:41 -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 |
|
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
|
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 |
|
Joe Darcy
|
178049faf3
|
6498938: Faulty comparison of TypeMirror objects in getElementsAnnotatedWith implementation
Reviewed-by: jjg
|
2009-02-24 17:48:53 -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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
Peter Runge
|
dda3b0af66
|
6512707: "incompatible types" after (unrelated) annotation processing
Reviewed-by: darcy
|
2009-01-07 14:48:29 -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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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
|
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 |
|
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 |
|
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 |
|
Maurizio Cimadamore
|
5fc92453b6
|
6747671: -Xlint:rawtypes
Add an Xlint option for detecting all raw types usages (ccc-approved)
Reviewed-by: jjg
|
2008-09-29 12:00:29 +01:00 |
|
Maurizio Cimadamore
|
ec0853a113
|
6500343: compiler generates bad code when translating conditional expressions
TransTypes needs to deal with intersection types coming from conditional expressions
Reviewed-by: jjg
|
2008-09-29 11:34:43 +01:00 |
|
Jonathan Gibbons
|
fc58b54ba3
|
6420151: need to improve byfile compile policy to eliminate footprint issues
Reviewed-by: mcimadamore
|
2008-09-23 10:44:51 -07:00 |
|
Jonathan Gibbons
|
2fecfdfb50
|
6728697: tools/javac/versionOpt.sh fails on OpenJDK builds
Reviewed-by: darcy
|
2008-09-18 13:47:43 -07:00 |
|
Jonathan Gibbons
|
3ca95fc7a6
|
6574134: Allow for alternative implementation of Name Table with garbage collection of name bytes
Reviewed-by: darcy, mcimadamore
|
2008-09-16 18:35:18 -07:00 |
|