Maurizio Cimadamore
75b2a03bf9
8067883: Javac misses some opportunities for diagnostic simplification
...
Javac always report full inference diagnostic, even when message does not mention inference variables.
Reviewed-by: jlahoda
2015-01-06 15:46:41 +00:00
Maurizio Cimadamore
0382c78ff1
8016177: structural most specific and stuckness
...
Reviewed-by: jjg, vromero
2013-09-02 22:38:36 +01:00
Maurizio Cimadamore
732e49f6dc
8020286: Wrong diagnostic after compaction
...
Compact diagnostic shows the least relevant method in the list
Reviewed-by: jjg
2013-07-17 14:14:32 +01:00
Maurizio Cimadamore
f0112464e0
7116676: RichDiagnosticFormatter throws NPE when formatMessage is called directly
...
Fix NPE in RichDiagnosticFormatter.formatMessage
Reviewed-by: jjg
2013-06-04 11:30:51 +01:00
Maurizio Cimadamore
ec458693f7
8012003: Method diagnostics resolution need to be simplified in some cases
...
Unfold method resolution diagnostics when they mention errors in poly expressions
Reviewed-by: jjg, vromero
2013-05-15 14:00:31 +01:00
Maurizio Cimadamore
7ee4846b45
8010387: Javac crashes when diagnostic mentions anonymous inner class' type variables
...
Rich formatter doesn't preprocess supertypes of an anonymous inner class
Reviewed-by: jjg
2013-03-22 12:44:48 +00:00
Maurizio Cimadamore
1ec5dfafe0
8007464: Add graph inference support
...
Add support for more aggressive type-inference scheme
Reviewed-by: jjg
2013-02-12 19:25:09 +00:00
Maurizio Cimadamore
5b1a78dc92
8006694: temporarily workaround combo tests are causing time out in several platforms
...
Reviewed-by: jjg
2013-01-23 20:57:40 +00:00
Maurizio Cimadamore
442154dcf9
8005244: Implement overload resolution as per latest spec EDR
...
Add support for stuck expressions and provisional applicability
Reviewed-by: jjg
2013-01-21 20:13:56 +00:00
Vicente Romero
9d4f6a0ebe
8005167: execution time of combo tests in javac should be improved
...
Reviewed-by: jjg, jjh
2013-01-08 13:47:57 +00:00
Maurizio Cimadamore
7c849a94da
8000931: Cleanup Resolve.java
...
Unify all method resolution routines
Reviewed-by: jjg
2012-11-04 11:01:49 +00:00
Maurizio Cimadamore
319150fde0
7177386: Add attribution support for method references
...
Add type-checking/lookup routines for method references
Reviewed-by: jjg, dlsmith
2012-10-06 10:35:38 +01:00
Maurizio Cimadamore
b03ad3ae09
7175911: Simplify error reporting API in Check.CheckContext interface
...
Make error messages generated during Check.checkType more uniform and more scalable
Reviewed-by: jjg, dlsmith
2012-08-02 18:22:41 +01:00
Maurizio Cimadamore
d951098c65
7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
...
Remove bound checking rules from recursive subtype visitors in Types.java and replace with centralized bound-checking logic
Reviewed-by: jjg, dlsmith
2012-04-11 10:50:11 +01:00
Maurizio Cimadamore
9b1e54dae3
7151492: Encapsulate check logic into Attr.ResultInfo
...
ResultInfo class should be used to make attribution code transparent w.r.t. check logic being used
Reviewed-by: jjg, dlsmith
2012-03-26 15:28:22 +01:00
Maurizio Cimadamore
bd420dc94e
7086586: Inference producing null type argument
...
Inference should fail in 15.12.2.7 when inference variables with 'nulltype' upper bounds are found
Reviewed-by: dlsmith
2011-09-16 14:16:11 +01:00
Maurizio Cimadamore
8db2f8de59
7086595: Error message bug: name of initializer is 'null'
...
Implementation of MethodSymbol.location() should take into account static/instance initializers
Reviewed-by: jjg
2011-09-13 14:14:57 +01:00
Jonathan Gibbons
593927cf2d
7010608: the string 'error' should appear in error messages
...
Reviewed-by: mcimadamore
2011-03-14 11:42:15 -07:00
Maurizio Cimadamore
cd3371e702
5088624: cannot find symbol message should be more intelligent
...
Resolve.java should keep track of all candidates found during a method resolution sweep to generate more meaningful diagnostics
Reviewed-by: jjg
2010-09-18 09:56:23 -07:00
Maurizio Cimadamore
2801325742
6369605: Unconstrained type variables fails to include bounds
...
Unconstrained type-variables with recursive bounds are not inferred properly
Reviewed-by: jjg
2010-08-16 14:58:10 +01:00
Kelly O'Hair
bd4f4be9d7
6943119: Rebrand source copyright notices
...
Reviewed-by: darcy
2010-05-25 15:54:51 -07:00
Jonathan Gibbons
6e3d970196
6410637: Make decision on deprecated methods in DefaultFileManager and BaseFileObject
...
6747645: ZipFileObject.getName is incorrectly deprecated
6885123: JavaFileObject getName issues
Reviewed-by: mcimadamore
2009-09-23 18:48:13 -07:00
Jonathan Gibbons
b2eaa8339f
6419701: DefaultFileManager clean up: URI.create
...
6483788: DefaultFileManager.ZipFileObject.toUri() fails to escape space characters
6501502: JSR 199: FileObject.toUri should return file:///c:/ or file:/c:/ not file://c:/
6877206: JavaFileObject.toUri returns bogus URI (win)
6877223: tests @ignored because of issues with File.toURI on Windows
Reviewed-by: mcimadamore, alanb
2009-09-08 11:12:13 -07:00
Jonathan Gibbons
af2f2e8d36
6875336: some tests should use /nodynamiccopyright/
...
Reviewed-by: darcy
2009-08-27 11:08:27 -07:00
Maurizio Cimadamore
fe1aaa8154
6864382: NPE in the rich formatter when processing an unattributed type-variable
...
Unattributed type variable should not be accessed by the rich formatter when emitting where clauses
Reviewed-by: jjg
2009-07-30 10:30:24 +01:00
Maurizio Cimadamore
25497fcea7
6862608: rich diagnostic sometimes contain wrong type variable numbering
...
The rich formatter generates worng numbers for type-variables in where clauses
Reviewed-by: jjg
2009-07-30 10:30:10 +01:00
Maurizio Cimadamore
ae2586d2c3
6860795: NullPointerException when compiling a negative java source
...
Rich formatter shouldn't propagate visits on method symbols that have a null type
Reviewed-by: jjg
2009-07-15 17:01:47 +01:00
Maurizio Cimadamore
518efd59c1
6845686: basic and raw formatters do not display captured var id properly when javac runs in -XDoldDiags mode
...
Basic and raw formatters do not override Printer methods properly
Reviewed-by: jjg
2009-06-16 10:45:11 +01:00
Maurizio Cimadamore
a74aa28243
6722234: javac diagnostics need better integration with the type-system
...
Added RichDiagnosticFormatter which provides better formatting capabilities for javac types/symbols
Reviewed-by: jjg
2009-05-21 10:56:36 +01: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
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