Commit Graph

846 Commits

Author SHA1 Message Date
Maurizio Cimadamore
79d1b7b1e1 6594914: @SuppressWarnings("deprecation") does not not work for the type of a variable
Lint warnings generated during MemberEnter might ignore @SuppressWarnings annotations

Reviewed-by: jjg
2011-02-03 09:35:21 +00:00
Joe Darcy
9be3c0f789 6961571: Update visitors to support ARM's ElementKind.RESOURCE_VARIABLE
Reviewed-by: jjg
2011-02-01 10:11:05 -08: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
Joe Darcy
8f9c072c89 7015530: Reiterate API specializations in javax.lang.model.elment subinterfaces
Reviewed-by: jjg
2011-01-28 16:54:18 -08:00
Alan Bateman
434b2147c7 Merge 2011-01-28 12:36:34 +00:00
Maurizio Cimadamore
15959fbf11 6838943: inference: javac is not handling type-variable substitution properly
Free type-variables are being replaced with type-variables bound to forall type leading to unsoundness

Reviewed-by: jjg, dlsmith
2011-01-28 12:06:21 +00: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
Maurizio Cimadamore
6647b73cc8 6910550: javac 1.5.0_17 fails with incorrect error message
Multiple clashing members declared in same class should be added to the class' scope in order to avoid downstream spurious diagnostics

Reviewed-by: jjg
2011-01-28 12:01:07 +00:00
Alan Bateman
68c23b7878 7006126: (fs) Updates to file system API (1/2011)
Reviewed-by: jjg
2011-01-28 09:25:20 +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
Jonathan Gibbons
a184b53cec 6554097: "final" confuses @SuppressWarnings
Reviewed-by: mcimadamore
2011-01-26 11:20:19 -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
Jonathan Gibbons
bcf09ec04f 6988106: javac report 'java.lang.IllegalMonitorStateException'
Reviewed-by: ksrini
2011-01-24 16:38:56 -08:00
Jonathan Gibbons
1ab227adc4 6581775: Fix the white space problem in javac shell tests
Reviewed-by: mcimadamore
2011-01-24 16:34:25 -08:00
Jonathan Gibbons
1d1fd8962d 6963934: JCCompilationUnit.getImports does not report all imports
Reviewed-by: mcimadamore
2011-01-24 16:17:33 -08:00
Maurizio Cimadamore
6bd5b48ca7 7013865: varargs: javac crashes during overload resolution with generic varargs
Fixed regression with varargs overload resolution that leads javac to crash

Reviewed-by: jjg
2011-01-24 15:45:41 +00: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
13ecf26ded 6510286: Wording of javac error for inner classes
'inner classes cannot have static declarations' message needs to be reworked

Reviewed-by: jjg
2011-01-24 15:45:06 +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
df54c56a04 6943278: spurious error message for inference and type-variable with erroneous bound
Type-inference should ignore erroneous bounds

Reviewed-by: jjg
2011-01-24 15:44:15 +00:00
Lana Steuck
a13fa350f1 Merge 2011-01-19 19:01:35 -08:00
Kumar Srinivasan
41aff425b6 6982999: tools must support -target 7 bytecodes
Reviewed-by: jjg, jrose
2011-01-18 08:37:05 -08:00
Kumar Srinivasan
8efa2d97ed 7011272: langtools build.xml should provide a patch target
Reviewed-by: jonathan, jjh
2011-01-14 13:59:18 -08:00
Lana Steuck
09eaf981e6 Merge 2011-01-14 13:48:40 -08:00
Jonathan Gibbons
f1c4dc3a28 6571165: Minor doc bugs in JavaCompiler.java
Reviewed-by: mcimadamore
2011-01-14 11:55:53 -08:00
Jonathan Gibbons
9a6afb10e4 6419926: JSR 199: FileObject.toUri() generates URI without schema (Solaris)
Reviewed-by: mcimadamore
2011-01-14 11:45:19 -08: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
ede9924b4e 7007432: Test generic types well-formedness
Add a new kind of check (well-formedness of generic type w.r.t. declared bounds) in the type-harness

Reviewed-by: jjg
2011-01-14 09:45:52 +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
Bhavesh Patel
1551fd74e2 7010528: javadoc performance regression
Reviewed-by: jjg
2011-01-13 21:28:38 -08:00
Christine Lu
f063bf980c Added tag jdk7-b125 for changeset ae40314fa64e 2011-01-13 16:44:11 -08:00
Lana Steuck
5f83c52141 Merge 2011-01-13 15:05:09 -08:00
Jonathan Gibbons
e66871ae10 6430241: Hard to disable symbol file feature through API
Reviewed-by: mcimadamore
2011-01-13 11:48:10 -08:00
Jonathan Gibbons
12f8b2493e 6993305: starting position of a method without modifiers and with type parameters is incorrect
Reviewed-by: mcimadamore
2011-01-11 08:05:28 -08:00
Jonathan Gibbons
e2ed68fb2f 6396503: javac should not require assertions enabled
Reviewed-by: mcimadamore
2011-01-10 15:08:31 -08:00
Jonathan Gibbons
43e78a8d44 6992999: fully remove JSR 308 from langtools
Reviewed-by: mcimadamore
2011-01-10 14:57:59 -08:00
Christine Lu
8365212a9f Added tag jdk7-b124 for changeset 1f0819a3341f 2011-01-06 20:10:44 -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
Lana Steuck
34c5f24321 Merge 2011-01-04 17:10:35 -08:00
Kelly O'Hair
84b5875f26 6962318: Update copyright year
Reviewed-by: xdono
2010-12-28 15:54:52 -08:00
Jim Holmlund
4157467833 6982992: Tests CheckAttributedTree.java, JavacTreeScannerTest.java, and SourceTreeeScannerTest.java timeout
Hoist some invariant code out of a loop

Reviewed-by: ksrini
2010-12-23 12:29:21 -08:00
Jim Holmlund
089d748192 7008869: Debug printlns accidentally added to make/build.xml
Delete bogus echo statements

Reviewed-by: ksrini
2010-12-23 10:08:53 -08:00
Lana Steuck
af98cf033c Merge 2010-12-22 23:15:17 -08:00
Christine Lu
052ccfe98f Added tag jdk7-b123 for changeset 00e80d00deea 2010-12-22 15:57:38 -08:00
Jim Holmlund
97663382e1 7008378: javac bootstrap launcher fails on cygwin when called via an absolute path
Use cygpath if it is cygwin

Reviewed-by: ksrini
2010-12-21 16:29:10 -08:00
Lana Steuck
15f4c783cb Merge 2010-12-20 21:10:57 -08:00
Kumar Srinivasan
5032fcd7b5 6567415: Neverending loop in ClassReader
Reviewed-by: jjg
2010-12-18 09:38:39 -08:00
Kelly O'Hair
078473b261 Merge 2010-12-16 19:57:01 -08:00
Christine Lu
bb9ddb74a8 Added tag jdk7-b122 for changeset 41cc0cb556fe 2010-12-16 18:18:18 -08:00