Jonathan Gibbons
a3f0f7b59c
4881269: improve diagnostic for ill-formed tokens
...
Reviewed-by: mcimadamore
2012-01-03 11:37:00 -08:00
Jonathan Gibbons
ea7f040a8e
7120736: refactor javac option handling
...
Reviewed-by: mcimadamore
2011-12-13 11:21:28 -08:00
Maurizio Cimadamore
b0a9998899
7115052: Add parser support for method references
...
Add support for parsing method references to JavacParser
Reviewed-by: jjg
2011-11-28 16:05:46 +00:00
Maurizio Cimadamore
4ac518143c
7115050: Add parser support for lambda expressions
...
Add support for parsing lambda expressions to JavacParser
Reviewed-by: jjg
2011-11-28 15:56:42 +00:00
Jonathan Gibbons
ebe950642c
7108669: cleanup Log methods for direct printing to streams
...
Reviewed-by: mcimadamore
2011-11-08 17:06:58 -08:00
Maurizio Cimadamore
1469ebc6da
7104618: MessageInfo.java is failing after lexer changes
...
Two langtools regression tests cannot be built due to a bad import statement
Reviewed-by: jjg
2011-10-25 15:40:34 +01:00
Maurizio Cimadamore
7873cba6b2
7098660: Write better overload resolution/inference tests
...
Add overload/inference debug diagnostics - added test harness using annotations to check outcome of overload resolution/inference
Reviewed-by: jjg
2011-10-24 13:00:30 +01:00
Jonathan Gibbons
4a8efe66a5
7075721: javac should have public enum for exit codes
...
Reviewed-by: mcimadamore
2011-09-22 09:24:01 -07:00
Jonathan Gibbons
ff7362918f
7092965: javac should not close processorClassLoader before end of compilation
...
Reviewed-by: darcy
2011-09-21 21:56:53 -07:00
Maurizio Cimadamore
08619c2e9c
7086601: Error message bug: cause for method mismatch is 'null'
...
Inference error during lub() does not set 'cause' for method resolution diagnostic
Reviewed-by: jjg
2011-09-13 14:15:39 +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
Jan Lahoda
6f70d425f2
7073631: (javac) javac parser improvements for error position reporting
...
JavacParser improvements for NetBeans, improved by LangTools.
Reviewed-by: mcimadamore, jjg
2011-09-01 09:14:25 -07:00
Jonathan Gibbons
654ae83d8e
7074416: Regression: JSR199: javac doesn't unwrap clientcodewrapper objects
...
Reviewed-by: mcimadamore
2011-08-31 15:39:00 -07:00
Maurizio Cimadamore
5c209a7d2d
7057297: Project Coin: diamond erroneously accepts in array initializer expressions
...
Diamond in array initializer expressions should be rejected
Reviewed-by: jjg
2011-07-27 19:01:33 +01:00
Joe Darcy
faf515b31f
6575445: Update annotation processor to only use java.util.ServiceLoader
...
Reviewed-by: jjg
2011-06-24 13:52:14 -07:00
Maurizio Cimadamore
fcbd7a77c4
7039931: Project Coin: diamond inference fail with generic constructor explicit type-arguments
...
Diamond should be disallowed in cases where explicit generic constructor parameters are specified
Reviewed-by: jjg
2011-04-30 11:57:46 +01:00
Maurizio Cimadamore
ea2c9e0af0
6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
...
Accessing a non-existing enum constant from an annotation whose class is available results in an internal error
Reviewed-by: jjg
2011-04-29 16:06:28 +01:00
Maurizio Cimadamore
e7081dbf6a
7039937: Improved catch analysis fails to handle a common idiom in the libraries
...
Disable generation of 'unreachable catch' warnings for catch statements catching Exception/Throwable
Reviewed-by: jjg
2011-04-29 16:05:29 +01:00
Kelly O'Hair
39cd646f25
Merge
2011-04-13 16:57:22 -07:00
Kelly O'Hair
b49579c56c
7033660: Update copyright year to 2011 on any files changed in 2011
...
Reviewed-by: dholmes
2011-04-06 20:33:44 -07:00
Jonathan Gibbons
ce0e6ca247
7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
...
Reviewed-by: darcy, mcimadamore
2011-03-30 18:18:11 -07:00
Maurizio Cimadamore
acf788aa1f
7027157: Project Coin: javac warnings for AutoCloseable.close throwing InterruptedException
...
Javac should warn about use/declaration of AutoCloseable subclasses that can throw InterruptedException
Reviewed-by: jjg
2011-03-29 16:41:18 +01:00
Maurizio Cimadamore
bc3a1c60ef
7030606: Project-coin: multi-catch types should be pairwise disjoint
...
Bring javac in sync with latest Project Coin EDR
Reviewed-by: jjg
2011-03-29 16:40:31 +01:00
Maurizio Cimadamore
eb4e1b86cd
6558548: The compiler needs to be aligned with clarified specification of throws
...
Javac should issue unconditional warnings when 'dead' catch clauses are detected
Reviewed-by: jjg
2011-03-16 11:12:26 +00:00
Jonathan Gibbons
593927cf2d
7010608: the string 'error' should appear in error messages
...
Reviewed-by: mcimadamore
2011-03-14 11:42:15 -07:00
Jonathan Gibbons
f71b78ced3
6980021: javac should document @file command line option
...
Reviewed-by: mcimadamore
2011-03-07 13:45:06 -08:00
Maurizio Cimadamore
409b9b8d25
7020044: Project Coin: diamond erroneous allowed on some anonymous inner classes
...
Disallow diamond on anonymous innner class creation expression (as per JSR 334's EDR)
Reviewed-by: jjg
2011-03-07 14:31:50 +00:00
Jonathan Gibbons
78ebde094c
7022310: test/tools/javac/diags/Example: args added twice
...
Reviewed-by: mcimadamore
2011-02-25 12:19:00 -08:00
Jonathan Gibbons
a51962066d
7021650: fix Context issues
...
Reviewed-by: mcimadamore
2011-02-25 12:09:33 -08:00
Maurizio Cimadamore
0f41147166
7020626: diamond: add diagnostic test for diamond and non-generic classes
...
Fix failure in regression test CheckExamples
Reviewed-by: jjg
2011-02-18 16:17:44 +00:00
Maurizio Cimadamore
dd20e6fdd7
7017104: improve error reporting for uncaught/undeclared exceptions from try-with-resources
...
Twr should generate better error message when uncaught exceptions are thrown by implicit call of close() method
Reviewed-by: jjg
2011-02-15 11:51:04 +00:00
Maurizio Cimadamore
dfec6e2301
7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123
...
Override clash algorithm is not implemented correctly
Reviewed-by: jjg
2011-02-07 18:10:13 +00:00
Joe Darcy
ba98ee427f
7014734: Project Coin: Allow optional trailing semicolon to terminate resources list in try-with-resources
...
Reviewed-by: jjg
2011-01-31 19:06:32 -08:00
Maurizio Cimadamore
1e776bc78a
6313164: javac generates code that fails byte code verification for the varargs feature
...
Method applicability check should fail if formal varargs element type is not accessible
Reviewed-by: jjg
2011-01-28 12:03:49 +00:00
Jim Holmlund
50d526442a
7015482: jtreg test tools/javac/diags/MessageInfo.java fails when test/ dir is not in langtools repo
...
Don't fail if the needed file isn't present, if running under jtreg.
Reviewed-by: jjg
2011-01-28 00:09:38 -08:00
Jonathan Gibbons
de3bde6688
7013272: Automatically generate info about how compiler resource keys are used
...
Reviewed-by: mcimadamore
2011-01-26 13:45:25 -08:00
Joe Darcy
ec50779b72
7013420: Project Coin: remove general expression support from try-with-resources statement
...
Reviewed-by: mcimadamore, jjg
2011-01-25 17:02:56 -08:00
Maurizio Cimadamore
96d0749bfc
6569633: Varargs: parser error when varargs element type is an array
...
Explicit error message when old-style array syntax is mixed with varargs
Reviewed-by: jjg
2011-01-24 15:45:24 +00:00
Maurizio Cimadamore
b77effad6c
6968793: issues with diagnostics
...
Several diagnostic improvements
Reviewed-by: jjg
2011-01-24 15:44:51 +00:00
Maurizio Cimadamore
0dae258b02
6949040: java.dyn package must be compiled with -target 7 or better
...
Issue error (rather than warning) when @PolymorphicSignature is found and target < 7
Reviewed-by: jjg
2011-01-14 09:46:44 +00:00
Maurizio Cimadamore
7d90979693
6992698: JSR 292: remove support for transient syntax in polymorphic signature calls
...
Special syntax to denote indy return type through type parameters should be removed (and cast shall be used instead)
Reviewed-by: jjg, jrose
2011-01-14 09:45:04 +00:00
Jonathan Gibbons
43e78a8d44
6992999: fully remove JSR 308 from langtools
...
Reviewed-by: mcimadamore
2011-01-10 14:57:59 -08:00
Maurizio Cimadamore
21c037bb9b
7010194: several langtools regression failures after JSR 292 changes (b123)
...
Some regression tests rely on unsupported JSR 292 features
Reviewed-by: jjg
2011-01-05 09:59:01 +00:00
Kelly O'Hair
84b5875f26
6962318: Update copyright year
...
Reviewed-by: xdono
2010-12-28 15:54:52 -08:00
Maurizio Cimadamore
6ef5228632
6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
...
Reviewed-by: jjg, darcy
2010-12-13 15:11:00 -08:00
Jonathan Gibbons
8e9c506c6c
6999210: javac should be able to warn of anomalous conditions in classfiles
...
Reviewed-by: mcimadamore, darcy
2010-12-07 14:13:25 -08:00
Jonathan Gibbons
be8a607fef
6900037: javac should warn if earlier -source is used and bootclasspath not set
...
Reviewed-by: darcy
2010-11-29 14:15:36 -08:00
Jonathan Gibbons
bdc7e81168
6999438: remove support for exotic identifiers from JDK 7
...
Reviewed-by: mcimadamore
2010-11-18 16:13:11 -08:00
Maurizio Cimadamore
64789c2491
6970016: Clean up ARM/try-with-resources implementation
...
Changed Xlint option name from -Xlint:arm to -Xlint:try
Reviewed-by: jjg
2010-11-12 12:34:18 +00:00
Maurizio Cimadamore
d4d5f60edc
6993963: Project Coin: Use precise exception analysis for effectively final catch parameters
...
More precise rethrow analysis should be extended to effectively-final exception parameters. Multicatch parameters should be made implicitly final.
Reviewed-by: jjg, darcy
2010-11-04 12:57:48 +00:00