31 Commits

Author SHA1 Message Date
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
Maurizio Cimadamore
9b7bc21bb0 6939780: add a warning to detect diamond sites
Added hidden compiler flag '-XDfindDiamond' to detect 'diamondifiable' sites

Reviewed-by: jjg
2010-11-02 12:01:35 +00:00
Jonathan Gibbons
bf00a77f2d 6987760: remove 308 support from JDK7
Reviewed-by: darcy, mcimadamore
2010-10-19 15:02:48 -07:00
Jonathan Gibbons
1da6aa89d2 6990379: two examples fail under CheckExamples on Windows
Reviewed-by: darcy
2010-10-07 15:26:32 -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
John Rose
cd74d63c12 6979327: method handle invocation should use casts instead of type parameters to specify return type
Infer return type for polymorphic signature calls according to updated JSR 292 draft

Reviewed-by: jjg
2010-09-07 17:32:27 +01:00
Jonathan Gibbons
e96eb944c2 6980707: Reduce use of IOException in JavaCompiler
Reviewed-by: darcy
2010-08-27 17:59:08 -07:00
Jonathan Gibbons
d7787c25cf 6976833: options included twice in Example SimpleCompiler
Reviewed-by: darcy
2010-08-16 14:59:21 -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
Maurizio Cimadamore
23a89dba04 6975231: Regression test for 6881115 is failing with compiler output not matching expected output
Missing symbols are collected in an HashSet which doesn't preserve ordering

Reviewed-by: jjg
2010-08-10 14:53:19 +01:00
Jonathan Gibbons
eff5854b96 6966604: JavacFiler not correctly notified of lastRound
Reviewed-by: darcy
2010-07-29 19:30:35 -07:00
Jonathan Gibbons
30c006f23f 6972556: warning for using a file name instead of a binary name for Filer.createSourceFile
Reviewed-by: darcy
2010-07-29 18:06:34 -07:00
Maurizio Cimadamore
d7444b88be 6972747: CheckExamples fail when assertions are enabled
The test calls the wrong version of JavacMessage constructor

Reviewed-by: jjg
2010-07-29 15:57:18 +01:00
Jonathan Gibbons
1c75e97108 6957438: improve code for generating warning messages containing option names
Reviewed-by: mcimadamore
2010-07-26 14:25:56 -07:00
Jonathan Gibbons
7eb8c115ec 6968063: provide examples of code that generate diagnostics
Reviewed-by: mcimadamore
2010-07-22 11:02:54 -07:00
Jonathan Gibbons
5db54afdea 6968434: test CheckResourceKeys fails on control builds
Reviewed-by: darcy
2010-07-13 19:17:55 -07:00
Jonathan Gibbons
e438672595 6964768: need test program to validate javac resource bundles
Reviewed-by: darcy
2010-06-30 18:06:29 -07:00