374 Commits

Author SHA1 Message Date
Jonathan Gibbons
e438672595 6964768: need test program to validate javac resource bundles
Reviewed-by: darcy
2010-06-30 18:06:29 -07:00
Lana Steuck
6bc7c5dcb7 Merge 2010-06-29 12:06:46 -07:00
Jonathan Gibbons
17e9572501 6917288: Unnamed nested class is not generated
Reviewed-by: mcimadamore
2010-06-24 10:34:53 -07:00
Joshua Bloch
5b2078e713 6911258: Project Coin: Add essential API support for Automatic Resource Management (ARM) blocks
Reviewed-by: darcy, alanb
2010-06-23 16:51:30 -07:00
Jonathan Gibbons
dfd2d3b478 6961178: Allow doclet.xml to contain XML attributes
Reviewed-by: bpatel
2010-06-18 21:13:56 -07:00
John R Rose
3141814177 Merge 2010-06-18 15:12:04 -07:00
Jonathan Gibbons
f6a7442983 6958836: javadoc should support -Xmaxerrs and -Xmaxwarns
Reviewed-by: darcy
2010-06-11 17:24:23 -07:00
Jonathan Gibbons
19b81a2817 6960407: Potential rebranding issues in openjdk/langtools repository sources
Reviewed-by: darcy
2010-06-10 17:09:56 -07:00
Jonathan Gibbons
0dd9ef9b43 6944312: Potential rebranding issues in openjdk/langtools repository sources
Reviewed-by: darcy
2010-06-10 16:08:01 -07:00
Maurizio Cimadamore
875dc24cfc 6945418: Project Coin: Simplified Varargs Method Invocation
Add new mandatory warning for unsafe vararg method declaration. Warning can be suppressed as usual (@SuppressWarnings("varargs")/-Xlint:-varargs)

Reviewed-by: jjg, darcy
2010-06-10 09:29:23 +01:00
Lana Steuck
ff7f1b9999 Merge 2010-06-07 17:09:52 -07:00
Joe Darcy
da823fbf44 6519115: MirroredTypeException thrown but should be MirroredTypesException
Reviewed-by: jjg
2010-06-03 19:56:12 -07:00
Jonathan Gibbons
3bc126336f 6955264: add option to suppress Abort in Check.completionError
Reviewed-by: mcimadamore
2010-06-03 17:14:20 -07:00
Joe Darcy
fa91c4b435 6933147: Provided new utility visitors supporting SourceVersion.RELEASE_7
Reviewed-by: jjg
2010-06-02 19:08:47 -07:00
Lana Steuck
2592bab72c Merge 2010-05-28 12:41:48 -07:00
Kelly O'Hair
3a941f57d3 6956202: Fix a few missed rebranding issues, please contact lines etc
Reviewed-by: darcy, jjg, weijun
2010-05-26 20:22:54 -07:00
Kelly O'Hair
bd4f4be9d7 6943119: Rebrand source copyright notices
Reviewed-by: darcy
2010-05-25 15:54:51 -07:00
Maurizio Cimadamore
836fb6fe52 6951833: latest diamond implementation generates spurious raw type warnings
Raw warning checks should be disabled in the presence of a diamond AST node

Reviewed-by: jjg
2010-05-19 16:43:30 +01:00
Maurizio Cimadamore
56c4bf22d4 6948381: javac Null Pointer Exception in Types.makeCompoundType
Race condition between symbol completion and attribution of import statements causes NPE when creating intersection type

Reviewed-by: jjg
2010-05-19 16:43:06 +01:00
Maurizio Cimadamore
cd66a7b462 6946618: sqe test fails: javac/generics/NewOnTypeParm in pit jdk7 b91 in all platforms
Bad cast to ClassType in the new diamond implementation fails if the target type of the instance creation expression is a type-variable

Reviewed-by: jjg
2010-05-19 16:42:37 +01:00
Maurizio Cimadamore
1bc9b6324e 6880344: Recursive type parameters do not compile
Issue in type-variable substitution causes valid code to be rejected

Reviewed-by: jjg
2010-05-19 16:41:57 +01:00
Maurizio Cimadamore
de2b567108 6943289: Project Coin: Improved Exception Handling for Java (aka 'multicatch')
Reviewed-by: jjg, darcy
2010-05-03 17:12:59 -07:00
Lana Steuck
3c813135d9 Merge 2010-05-02 15:55:02 -07:00
John R Rose
a56ce23775 6939134: JSR 292 adjustments to method handle invocation
Split MethodHandle.invoke into invokeExact and invokeGeneric

Reviewed-by: twisti
2010-05-01 15:05:39 -07:00
Jonathan Gibbons
3b66a75150 6948251: need to quote args in langtools launcher script
Reviewed-by: darcy
2010-04-29 14:25:47 -07:00
Michael Wilkerson
07e63b95d1 Merge 2010-04-28 20:04:59 -07:00
Maurizio Cimadamore
dea5e42c57 6730476: invalid "unchecked generic array" warning
Reifiable-ness of varargs element type should be checked after JLS3 15.12.2.8

Reviewed-by: jjg
2010-04-21 12:24:56 +01:00
Yong Jeffrey Huang
803f749856 Merge 2010-04-20 01:30:04 -07:00
Maurizio Cimadamore
d3fa7f79ad 6939620: Switch to 'complex' diamond inference scheme
Implement new inference scheme for diamond operator that takes into account type of actual arguments supplied to constructor

Reviewed-by: jjg, darcy
2010-04-14 12:31:55 +01:00
Maurizio Cimadamore
965595d38b 6939618: Revert 'simple' diamond implementation
Backout changeset for 6840638

Reviewed-by: jjg
2010-04-14 12:23:29 +01:00
Yong Jeffrey Huang
f78418e286 6875904: Java 7 message synchronization 1
Reviewed-by: ogino, faryad
2010-04-11 23:24:24 -07:00
Jonathan Gibbons
3665722955 6942649: add hidden option to identify location and version of javac classes
Reviewed-by: darcy
2010-04-09 15:39:39 -07:00
Joe Darcy
04194bfc9a 6937417: javac -Xprint returns IndexOutOfBoundsException
Reviewed-by: jjg
2010-03-24 17:02:35 -07:00
Jonathan Gibbons
8ef8d879e4 6937318: jdk7 b86: javah and javah -help is no output for these commands
Reviewed-by: darcy
2010-03-24 12:18:17 -07:00
Jonathan Gibbons
624b674ca3 6937244: sqe ws7 tools javap/javap_t10a fail jdk7 b80 used output of javap is changed
Reviewed-by: darcy
2010-03-23 18:05:54 -07:00
Jonathan Gibbons
3c60c0e8ef 6930108: IllegalArgumentException in AbstractDiagnosticFormatter for tools/javac/api/TestJavacTaskScanner.jav
Reviewed-by: darcy
2010-03-05 16:12:33 -08:00
Jonathan Gibbons
a7dbb87f0e 6931927: position issues with synthesized anonymous class
Reviewed-by: darcy
2010-03-03 17:22:52 -08:00
Joe Darcy
077b9d9f1b 6449781: TypeElement.getQualifiedName for anonymous classes returns null instead of an empty name
Reviewed-by: jjg
2010-03-03 16:05:34 -08:00
Jonathan Gibbons
d55b727361 6931482: minor findbugs fixes
Reviewed-by: darcy
2010-03-02 16:40:37 -08:00
Joe Darcy
2b4f43efeb 6931130: Remove unused AnnotationCollector code from JavacProcessingEnvironment
Reviewed-by: jjg
2010-03-02 14:06:47 -08:00
Jonathan Gibbons
a5c51fcd1d 6930032: fix findbugs errors in com.sun.tools.javac.comp
Reviewed-by: darcy
2010-02-26 15:30:35 -08:00
Jonathan Gibbons
9ce36383eb 6930076: "null" can incorrectly appear in error message compiler.err.error.reading.file
Reviewed-by: darcy
2010-02-26 15:26:58 -08:00
Jonathan Gibbons
97162a48b1 6881645: Unchecked method call on a method declared inside anonymous inner causes javac to crash
Reviewed-by: mcimadamore
2010-02-26 08:42:22 -08:00
Jonathan Gibbons
02289ebec3 6893943: exit code from javah with no args is 0
Reviewed-by: darcy
2010-02-25 13:32:08 -08:00
Jonathan Gibbons
54cd0cc441 6929544: langtools source code uses statics qualified by instance variables
Reviewed-by: darcy
2010-02-25 12:26:39 -08:00
Joe Darcy
0f2c1bcc27 6929645: Address various findbugs warnings in langtools
Reviewed-by: jjg
2010-02-25 11:04:11 -08:00
Jonathan Gibbons
0cc023734d 4880220: Add a warning when accessing a static method via an reference
Reviewed-by: darcy
2010-02-25 09:42:35 -08:00
Jonathan Gibbons
f37b9d8245 6511613: javac unexpectedly doesn't fail in some cases if an annotation processor specified
Reviewed-by: darcy
2010-02-23 18:43:02 -08:00
Joe Darcy
e985558459 6927061: Refactor apt implemenation to use code from JSR 269
Reviewed-by: jjg
2010-02-17 14:30:17 -08:00
Joe Darcy
b8574a9e3b 6926703: apt tests should run with assertions enabled
Reviewed-by: jjg
2010-02-15 20:17:57 -08:00