Commit Graph

886 Commits

Author SHA1 Message Date
Lana Steuck
74226a1c9e Merge 2011-02-24 18:05:10 -08:00
Christine Lu
6c237e3450 Added tag jdk7-b131 for changeset 4de608132976 2011-02-24 15:16:13 -08:00
Christine Lu
507393b830 Merge 2011-02-23 15:49:34 -08:00
Lana Steuck
f042640a89 Merge 2011-02-21 14:35:12 -08:00
Joe Darcy
dc728d5d5a 7020047: Project Coin: generate null-check around try-with-resources close call
Reviewed-by: jjg
2011-02-18 15:55:20 -08:00
Christine Lu
1f7e05695e Added tag jdk7-b130 for changeset 09e47b898040 2011-02-18 14:23:59 -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
Kumar Srinivasan
3b676c4925 7018859: javac turn off the Zip optimization by default
Reviewed-by: jjg
2011-02-18 08:12:06 -08:00
Maurizio Cimadamore
7d8c3e9460 7020043: Project Coin: diamond allowed on non-generic type
Diamond oerator should be disallowed on non-generic class types (i.e. String)

Reviewed-by: jjg
2011-02-18 12:28:49 +00:00
Kelly O'Hair
c378d70f33 7013964: openjdk LICENSE file needs rebranding
Reviewed-by: darcy, katleman, jjg
2011-02-16 13:30:12 -08:00
Dan Smith
f1181c706c 6990136: Cleanup use of Type.clone()
Introduced factory methods in class Types which can be used rather than clone().

Reviewed-by: jjg, mcimadamore
2011-02-16 10:27:00 -08:00
Kelly O'Hair
3388e7fb44 Merge 2011-02-15 12:34:33 -08:00
Lana Steuck
3df9af054e Merge 2011-02-15 08:35:05 -08: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
77f10a1c5f 7017664: Add listeners infrastracture to javac scopes
Add listeners to javac scopes, added CompoundScope and correct invalidation logic for ImplementationCache

Reviewed-by: jjg
2011-02-15 11:49:46 +00:00
Lana Steuck
5b708c4ff5 Merge 2011-02-14 16:31:21 -08:00
Kelly O'Hair
511e9c3dcb 7008433: Minor copyright changes
Reviewed-by: jjg
2011-02-14 14:27:47 -08:00
Michael Fang
8166a6ad38 Merge 2011-02-11 23:49:42 -08:00
Michael Fang
200f78309b Merge 2011-02-11 22:58:59 -08:00
Jonathan Gibbons
710ec9f95d 6505047: javax.lang.model.element.Element.getEnclosingElement() doesn't return null for type parameter
Reviewed-by: darcy
2011-02-11 17:10:26 -08:00
Michael Fang
c800d6ea46 7017734: jdk7 message drop 1 translation integration
Reviewed-by: ogino, yhuang
2011-02-10 16:51:53 -08:00
Christine Lu
07038649d5 Added tag jdk7-b129 for changeset 22e1f19ae95c 2011-02-10 16:24:51 -08:00
Jonathan Gibbons
caf0257075 6485027: javac incorrectly handles relative paths in manifest classpath
Reviewed-by: mcimadamore
2011-02-10 15:05:33 -08:00
Jonathan Gibbons
5ca7f854cf 7018452: langtools not buildable on Mac
Reviewed-by: ohair
2011-02-10 14:27:34 -08:00
Jonathan Gibbons
1406a86c7d 7018098: CacheFSInfo persists too long
Reviewed-by: mcimadamore
2011-02-10 14:24:26 -08:00
Daniel Smith
76468b0bcf 7018447: langtools launcher template fails if tools run from their own directory
Reviewed-by: jjg
2011-02-09 18:26:08 -08:00
Jonathan Gibbons
c9335a55e1 7010792: remove bad debugging method from javac
Reviewed-by: mcimadamore
2011-02-09 14:10:52 -08:00
Jonathan Gibbons
a71eecc4f7 7016750: tools/javac/nio/CompileTest failing in nightly test
Reviewed-by: mcimadamore
2011-02-09 14:04:53 -08:00
Peter B. Kessler
fef1c1e816 7017675: typo in JavacParser for allowUnderscoresInLiterals
Reviewed-by: dlsmith
2011-02-07 11:42:12 -08: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
Maurizio Cimadamore
3c0d8e8275 7017414: before the move of JSR 292 to package java.lang.invoke, javac must recognize the new package
Added support for future 292 package (support for old location 'java.dyn' will be removed in followup changeset)

Reviewed-by: jjg
2011-02-07 18:09:46 +00:00
Lana Steuck
3f331b632b Merge 2011-02-04 17:30:28 -08:00
Christine Lu
2eb8699d50 Added tag jdk7-b128 for changeset 4b78c27c217f 2011-02-03 17:22:28 -08:00
Maurizio Cimadamore
f4daf3d7bf 7014715: javac returns different error code for certain failure(s)
Javac silently crashes when emitting certain kinds of resolution diagnostics

Reviewed-by: jjg
2011-02-03 09:38:19 +00:00
Maurizio Cimadamore
536bd08692 6969184: poor error recovery after symbol not found
Generic type-well formedness check should ignore erroneous symbols

Reviewed-by: jjg
2011-02-03 09:37:28 +00:00
Maurizio Cimadamore
6ded62c828 5017953: spurious cascaded diagnostics when name not found
When an operator is applied to one or more erroneous operands, spurious diagnostics are generated

Reviewed-by: jjg
2011-02-03 09:36:28 +00:00
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
Lana Steuck
c9d15dc78b Merge 2011-01-28 10:06:08 -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
Christine Lu
732cd2c94f Added tag jdk7-b127 for changeset 97fc02571ce4 2011-01-27 17:28:57 -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