Commit Graph

781 Commits

Author SHA1 Message Date
Christine Lu
aff549a4ab Added tag jdk7-b105 for changeset 60298a435212 2010-08-13 11:38:43 -07:00
Lana Steuck
673cb7c129 Merge 2010-08-12 19:59:10 -07: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
Maurizio Cimadamore
132dde52c3 6975275: diamond implementation needs some cleanup
Resolution issues during diamond inference should be reported through Resolve.logResolveError()

Reviewed-by: jjg
2010-08-10 14:52:34 +01:00
Lana Steuck
35703f67d9 Merge 2010-08-09 16:03:07 -07:00
Christine Lu
80a48b15c7 Added tag jdk7-b104 for changeset fef4187d7622 2010-08-06 12:52:19 -07:00
Maurizio Cimadamore
fa2cb78a09 6857948: Calling a constructor with a doubly bogus argument causes an internal error
Problem when constructor resolution returns an erroneous symbol

Reviewed-by: jjg
2010-08-05 09:45:25 +01:00
Maurizio Cimadamore
156e82c164 6881115: javac permits nested anno w/o mandatory attrs => IncompleteAnnotationException
Default annotation value is not attributed

Reviewed-by: jjg, darcy
2010-08-05 09:44:54 +01:00
Lana Steuck
6581804c68 Merge 2010-08-02 19:46:14 -07:00
Jonathan Gibbons
0c1962f5de 6973626: test/tools/javac/processing/* tests fail with assertions enabled
Reviewed-by: darcy
2010-08-02 16:29:54 -07:00
Joe Darcy
74210780a0 6971877: Project Coin: improve semantics of suppressed exceptions in try-with-resources
Reviewed-by: jjb
2010-08-02 13:35:39 -07:00
Lana Steuck
9f50973389 Merge 2010-07-29 22:04:41 -07:00
Jonathan Gibbons
eff5854b96 6966604: JavacFiler not correctly notified of lastRound
Reviewed-by: darcy
2010-07-29 19:30:35 -07:00
Jonathan Gibbons
75b1007388 6340549: javax.tools.JavaCompilerTool.getStandardFileManager().list() includes directories
Reviewed-by: darcy
2010-07-29 19:27:11 -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
Christine Lu
f5bf509c49 Added tag jdk7-b103 for changeset a5cf09e6c109 2010-07-29 13:33:32 -07:00
Maurizio Cimadamore
a38fe743aa 6970833: Try-with-resource implementation throws an NPE during Flow analysis
Updated logic not to rely upon Symbol.implementation (which check in superinterfaces)

Reviewed-by: jjg
2010-07-29 15:57:43 +01: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
Maurizio Cimadamore
541f7a7a41 6938454: Unable to determine generic type in program that compiles under Java 6
A redundant dubtyping check causes spurious inference failure

Reviewed-by: jjg
2010-07-29 15:56:25 +01:00
Jonathan Gibbons
bcbe3b2577 6403456: -Werror should work with annotation processing
Reviewed-by: darcy
2010-07-27 11:52:11 -07:00
Jan Lahoda
157108fe22 6972327: JCTree.pos incorrect for annotations without modifiers and package
Reviewed-by: mcimadamore
2010-07-27 11:32:03 -07: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
ccd014ed3f 6971882: Remove -XDstdout from javac test
Reviewed-by: darcy
2010-07-26 14:18:45 -07:00
Michael Wilkerson
3f659885ec Added tag jdk7-b102 for changeset 755ea7201562 2010-07-23 16:42:36 -07:00
Jonathan Gibbons
7eb8c115ec 6968063: provide examples of code that generate diagnostics
Reviewed-by: mcimadamore
2010-07-22 11:02:54 -07:00
Lana Steuck
f1cce86e5b Merge 2010-07-20 22:22:32 -07:00
Tom Ball
985efdc475 6911256: Project Coin: Support Automatic Resource Management (ARM) blocks in the compiler
6964740: Project Coin: More tests for ARM compiler changes
6965277: Project Coin: Correctness issues in ARM implementation
6967065: add -Xlint warning category for Automatic Resource Management (ARM)

Reviewed-by: jjb, darcy, mcimadamore, jjg, briangoetz
2010-07-16 19:35:24 -07:00
Michael Wilkerson
b9859c555d Added tag jdk7-b101 for changeset 197b3b36b3f4 2010-07-15 20:11:54 -07:00
Tomas Zezula
9c273720d6 6964669: javac reports error on miranda methods
Synthetic name clash check should not apply to miranda methods

Reviewed-by: jjg
2010-07-15 16:31:56 +01:00
Mahmood Ali
aa93fd7701 6967002: JDK7 b99 javac compilation error (java.lang.AssertionError)
Bug in JavacParser related to parsing of type annotations in varargs position

Reviewed-by: jjg
2010-07-15 16:31:02 +01:00
Jonathan Gibbons
a1e7efde4a 6968789: incorrect text in "diamond not supported" message
Reviewed-by: darcy
2010-07-13 19:20:48 -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
ec05f75ccd 6966732: replace use of static Log.getLocalizedString with non-static alternative where possible
Reviewed-by: darcy
2010-07-13 19:14:09 -07:00
Lana Steuck
f45e422039 Merge 2010-07-12 19:43:19 -07:00
Jonathan Gibbons
29ceaebc37 6968497: localized text appears in raw diagnostic
Reviewed-by: darcy
2010-07-12 16:37:46 -07:00
Michael Wilkerson
5245d5d52c Added tag jdk7-b100 for changeset 84d4886d48aa 2010-07-09 19:18:42 -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
Lana Steuck
e15e0c33b4 Merge 2010-06-29 22:43:59 -07:00
Lana Steuck
6bc7c5dcb7 Merge 2010-06-29 12:06:46 -07:00
Michael Wilkerson
9db4736a1e Added tag jdk7-b99 for changeset c24b113fe4ac 2010-06-24 20:03:19 -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
Lana Steuck
6a10c59513 Merge 2010-06-21 22:09:18 -07:00
Jonathan Gibbons
dfd2d3b478 6961178: Allow doclet.xml to contain XML attributes
Reviewed-by: bpatel
2010-06-18 21:13:56 -07:00
Jonathan Gibbons
7210444d87 6962540: langtools Makefile sets DEV_NULL incorrectly
Reviewed-by: ohair
2010-06-18 16:45:13 -07:00
John R Rose
3141814177 Merge 2010-06-18 15:12:04 -07:00
Michael Wilkerson
5bdc7a2a88 Added tag jdk7-b98 for changeset eca02d17ce03 2010-06-17 16:28:21 -07:00
Lana Steuck
c97385de9d Merge 2010-06-16 17:52:10 -07:00
Joshua Maurice
bb97fb0834 6956638: JavacTask.generate does not generate all required files
Reviewed-by: darcy
2010-06-16 16:23:27 -07:00
Lana Steuck
6c504b042e Merge 2010-06-16 14:09:03 -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
774e9847c4 6877961: langtools build should allow more options when running jtreg
Reviewed-by: mcimadamore
2010-06-11 07:12:07 -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
Michael Wilkerson
75ed342228 Added tag jdk7-b97 for changeset 8dacdb7bb25b 2010-06-10 13:59:19 -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
Jonathan Gibbons
aa58d21213 6958802: cleanup and doc langtools build.xml file
Reviewed-by: ohair
2010-06-04 17:33:25 -07:00
Jonathan Gibbons
c8cce21323 6958391: add vizant support to langtools build
Reviewed-by: mcimadamore
2010-06-04 14:54:54 -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
Michael Wilkerson
324e5b7fcc Added tag jdk7-b96 for changeset 766529b3422f 2010-06-03 13:30:30 -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
Michael Wilkerson
369af2edbe Merge 2010-06-02 15:40:01 -07:00
Lana Steuck
2592bab72c Merge 2010-05-28 12:41:48 -07:00
Michael Wilkerson
68416bcd04 Added tag jdk7-b95 for changeset f8f961ea5739 2010-05-27 10:57:35 -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
776f9bbf9e Merge 2010-05-26 10:40:10 -07:00
Kelly O'Hair
bd4f4be9d7 6943119: Rebrand source copyright notices
Reviewed-by: darcy
2010-05-25 15:54:51 -07:00
Lana Steuck
e75a23263b Merge 2010-05-24 09:07:04 -07:00
Jonathan Gibbons
1955a6c375 6954901: langtools/test/Makefile should check for bin/javac(.exe) instead of lib/tools.jar
Reviewed-by: ohair
2010-05-21 17:32:19 -07:00
Michael Wilkerson
60ca370053 Added tag jdk7-b94 for changeset 1792af5280b8 2010-05-20 16:00:35 -07:00
Lana Steuck
eee1674849 Merge 2010-05-19 12:28:31 -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
John R Rose
ffc05ac66b Merge 2010-05-13 20:01:40 -07:00
Michael Wilkerson
e07663d108 Added tag jdk7-b93 for changeset 19b9aa23e950 2010-05-13 13:22:31 -07:00
Jonathan Gibbons
7648a5f5ef 6952188: update timeout for langtools jtreg tests on JPRT
Reviewed-by: ohair
2010-05-13 11:30:28 -07:00
Lana Steuck
2d03df07bd Merge 2010-05-11 16:36:13 -07:00
Michael Wilkerson
cac32ee636 Added tag jdk7-b92 for changeset f6dc4589a315 2010-05-06 18:26:18 -07: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
Michael Wilkerson
74597db90f Added tag jdk7-b91 for changeset cdc146f667c7 2010-04-29 14:33:03 -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
cec6ecbe3e Merge 2010-04-29 14:10:24 -07:00
Michael Wilkerson
07e63b95d1 Merge 2010-04-28 20:04:59 -07:00
Michael Wilkerson
24bf601cb1 Added tag jdk7-b90 for changeset e04dfc23e480 2010-04-22 16:54:44 -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
Lana Steuck
a97d95a1b8 Merge 2010-04-17 08:12:45 -07:00
Michael Wilkerson
78db557600 Added tag jdk7-b89 for changeset 8d57da0c20f6 2010-04-15 13:55:14 -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
Lana Steuck
4219c31cc5 Merge 2010-04-13 16:42:58 -07: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
Michael Wilkerson
92062ab139 Added tag jdk7-b88 for changeset 27beb127f317 2010-04-08 17:03:01 -07:00
Lana Steuck
4ac61feab4 Merge 2010-04-08 15:35:47 -07:00
Kelly O'Hair
9759f199cc 6938326: Use of "ant -diagnostics" a problem with ant 1.8.0, exit code 1 now
Reviewed-by: jjg
2010-03-26 22:37:04 -07:00
Michael Wilkerson
f59826eb7e Added tag jdk7-b87 for changeset ea586c2ae58a 2010-03-25 15:05: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
Lana Steuck
9eec6f646a Merge 2010-03-18 18:52:44 -07:00
Michael Wilkerson
6a97a152f0 Added tag jdk7-b86 for changeset cd99680e9c56 2010-03-18 13:53:10 -07:00
Jonathan Gibbons
a49bd21f3d 6934224: update langtools/test/Makefile
Reviewed-by: ohair
2010-03-12 12:00:42 -08:00
Jonathan Gibbons
2ed0d63583 6933914: fix missing newlines
Reviewed-by: ohair
2010-03-10 16:23:18 -08:00
Lana Steuck
a5884c7b3d Merge 2010-03-09 15:29:45 -08:00
Jonathan Gibbons
aa0b8a3b12 Merge 2010-03-05 16:13:58 -08: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
Michael Wilkerson
1e5ad14ac6 Added tag jdk7-b85 for changeset 6830a7ec21d0 2010-03-04 13:50:33 -08:00
Lana Steuck
6bea789770 Merge 2010-03-04 13:40:29 -08:00
Jonathan Gibbons
953e026858 6931126: jtreg tests not Windows friendly
Reviewed-by: darcy
2010-03-03 19:34:34 -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
87efbd8787 6931127: strange test class files
Reviewed-by: darcy
2010-03-02 16:43:29 -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
Lana Steuck
3333ae29a5 Merge 2010-02-23 10:17:51 -08:00
Andrew John Hughes
0592bca0a5 6928623: Behaviour of VERBOSE=true on langtools build
VERBOSE=true causes -diagnostics to be passed to ant rather than -debug

Reviewed-by: jjg
2010-02-22 21:37:13 +00:00
Jonathan Gibbons
19147ccb61 6927797: langtools/test/tools/javac/EarlyAssert.java fails when run with assertions enabled (-ea)
Reviewed-by: darcy
2010-02-18 15:41:36 -08:00
Michael Wilkerson
5e91da1b95 Added tag jdk7-b84 for changeset ae856f7b6776 2010-02-18 13:31:57 -08:00
Lana Steuck
4a3a9a4c1d Merge 2010-02-17 16:29:08 -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
Lana Steuck
dfcbef95d6 Merge 2010-02-17 10:25:26 -08:00
Joe Darcy
b8574a9e3b 6926703: apt tests should run with assertions enabled
Reviewed-by: jjg
2010-02-15 20:17:57 -08:00
Joe Darcy
779ba4bd83 6926699: Annotation processing regression tests should typically return SourceVersion.latest
Reviewed-by: jjg
2010-02-15 20:06:11 -08:00
Joe Darcy
1fb4cb4242 6634138: Source generated in last round not compiled
Reviewed-by: jjg
2010-02-15 18:20:57 -08:00
Jonathan Gibbons
f9cbc20c10 6926555: 6921979 breaks TreePosTest
Reviewed-by: darcy
2010-02-15 16:09:50 -08:00
Lana Steuck
c6007b2aa2 Merge 2010-02-14 23:39:40 -08:00
Michael Wilkerson
bad9881310 Added tag jdk7-b83 for changeset 36fcedcbb231 2010-02-12 13:25:27 -08:00
Lana Steuck
58baa04733 Merge 2010-02-08 23:59:53 -08:00
Michael Wilkerson
297505b256 Added tag jdk7-b82 for changeset 737d10f28a89 2010-02-04 11:19:44 -08:00
Jonathan Gibbons
c9c72ab9da 6923080: TreeScanner.visitNewClass should scan tree.typeargs
Reviewed-by: darcy
2010-02-04 10:14:28 -08:00
Jonathan Gibbons
9dff5300ae 6921979: add test program to verify annotations are attached to nodes as expected
Reviewed-by: darcy
2010-02-03 16:58:57 -08:00
Mahmood Ali
9452aaa027 6922300: [308] populate the reference_info for type annotations targeting primitive class literals
Co-authored-by: Michael Ernst <mernst@cs.washington.edu>
Reviewed-by: darcy, jjg
2010-02-03 11:33:57 -08:00
Jonathan Gibbons
3485352c43 6922429: extend tree position test waiver
Reviewed-by: darcy
2010-02-03 11:28:21 -08:00
Mahmood Ali
b0d7cf8472 6918625: handle annotations on array class literals
Co-authored-by: Michael Ernst <mernst@cs.washington.edu>
Reviewed-by: jjg, darcy
2010-02-02 10:56:10 -08:00
Mahmood Ali
378a8861c0 6919986: [308] change size of type_index (of CLASS_EXTENDS and THROWS) from byte to short
Co-authored-by: Michael Ernst <mernst@cs.washington.edu>
Reviewed-by: darcy, jjg
2010-02-01 17:05:35 -08:00
Jonathan Gibbons
0b2d026575 6499119: Created package-info class file modeled improperly
6920317: package-info.java file has to be specified on the javac cmdline, else it will not be avail

Reviewed-by: darcy
2010-01-29 16:54:52 -08:00
Jonathan Gibbons
305d4bc5fc 6919889: assorted position errors in compiler syntax trees
Reviewed-by: darcy
2010-01-29 16:06:51 -08:00
Michael Wilkerson
3ef1380219 Added tag jdk7-b81 for changeset 43ee00bea176 2010-01-28 11:27:04 -08:00
Lana Steuck
e8dd68545e Merge 2010-01-27 14:46:37 -08:00
Mahmood Ali
7235cabd9f 6917130: should test that annotations that have been optimized away are not emitted to classfile
Co-authored-by: Michael Ernst <mernst@cs.washington.edu>
Reviewed-by: jjg, darcy
2010-01-26 11:23:54 -08:00
Jonathan Gibbons
1433e8c817 6919944: incorrect position given for duplicate annotation value error
Reviewed-by: darcy
2010-01-26 11:15:49 -08:00
Lana Steuck
8fb9c68bfb Merge 2010-01-22 09:34:46 -08:00
Michael Wilkerson
529b769396 Added tag jdk7-b80 for changeset 50559985f09b 2010-01-21 11:12:47 -08:00
Mahmood Ali
187a9d305c 6918127: improve handling of TypeAnnotationPosition fields
Co-authored-by: Michael Ernst <mernst@cs.washington.edu>
Reviewed-by: jjg, darcy
2010-01-20 16:12:26 -08:00
Mahmood Ali
a9131d080c 6917067: refactor type annotations code from TransTypes into new TypeAnnotations class
Co-authored-by: Michael Ernst <mernst@cs.washington.edu>
Reviewed-by: jjg, darcy
2010-01-19 14:28:45 -08:00
Lana Steuck
4874fa7e28 Merge 2010-01-15 15:37:13 -08:00
Mahmood Ali
d7b99be648 6916986: handle spaces in langtools launcher path
Co-authored-by: Michael Ernst <mernst@cs.washington.edu>
Reviewed-by: darcy, jjg
2010-01-14 17:23:53 -08:00
Mahmood Ali
7d98f6dfb1 6917122: provide utility method to find the inner most type of a type tree
Co-authored-by: Michael Ernst <mernst@cs.washington.edu>
Reviewed-by: darcy, jjg
2010-01-14 17:18:30 -08:00
David Katleman
d5c43b2149 Added tag jdk7-b79 for changeset e7616c247414 2010-01-14 15:48:46 -08:00
Jonathan Gibbons
5d1e287266 6472751: SourcePositions.getStartPos returns incorrect value for enum constants
6567414: javac compiler reports no source file or line on enum constant declaration error

Reviewed-by: darcy
2010-01-13 17:39:44 -08:00
Jonathan Gibbons
6e3f4a8a4c 6909470: langtools stub generator should prune unnecessary imports
Reviewed-by: darcy
2010-01-11 16:18:05 -08:00
Jonathan Gibbons
2279a1af12 6915497: test test/tools/javac/nio/compileTest/CompileTest.java fails under Hudson
Reviewed-by: darcy
2010-01-11 14:17:01 -08:00
Jonathan Gibbons
8d42657600 6915476: java.util.regex.PatternSyntaxException in com.sun.tools.javac.nio.PathFileObject
Reviewed-by: darcy
2010-01-11 14:12:10 -08:00
Jesse Glick
dfe44a05ec 6764569: [PATCH] Fix unused imports in list resource bundles
Reviewed-by: ksrini
2010-01-11 14:09:15 -08:00
Jonathan Gibbons
4447330ab3 6326754: Compiler will fail to handle -Xmaxerrs with -ve numbers
Reviewed-by: ksrini
2010-01-11 14:05:21 -08:00
Jonathan Gibbons
09e737337b 6915152: langtools build failures with import.jdk on Windows
Reviewed-by: ohair
2010-01-08 13:14:45 -08:00
Jonathan Gibbons
2c83d314bc 6915078: ALT_JDK_IMPORT_PATH typo in langtools/make/Makefile
Reviewed-by: tbell
2010-01-08 11:32:57 -08:00
Jonathan Gibbons
fb26d8497e 6665791: com.sun.source.tree.MethodTree.toString() does not output default values
Reviewed-by: darcy
2010-01-08 11:28:49 -08:00
Jonathan Gibbons
114e3f9b31 6878146: incorrect unused value should be deleted
Reviewed-by: darcy
2010-01-08 11:16:23 -08:00
Jonathan Gibbons
9f2d8827db 6878147: Keywords.log is declared and initialized but unused
Reviewed-by: darcy
2010-01-08 11:11:33 -08:00
Jonathan Gibbons
b796b9a5d2 6855236: Compiler Tree API TreePath class generates NullPointerException from Iterator
Reviewed-by: darcy
2010-01-06 13:16:48 -08:00
Jonathan Gibbons
8fef75cd30 6307206: missing lint control for pkg-info
Reviewed-by: darcy
2010-01-06 13:09:52 -08:00
Tim Bell
c0821fc156 Merge 2009-12-19 10:26:47 -08:00
Joe Darcy
791e5e16c4 6911854: Update TestElementsAnnotatedWith.java to use @compile/proc
Reviewed-by: jjg
2009-12-18 11:15:23 -08:00
Michael Wilkerson
b8e2455d19 Added tag jdk7-b78 for changeset fcbbd4d49581 2009-12-17 14:10:44 -08:00
Michael Wilkerson
d25c6a3e0d Merge 2009-12-16 23:39:39 -08:00
Jesse Glick
a699196b30 6909462: Fix nbproject/private references in .hgignore
See bugzilla issue 100097

Reviewed-by: tbell
2009-12-16 12:52:23 -08:00
Jonathan Gibbons
5722595a5b 6910317: [classfile] typo and other issues in Dependency classes
Reviewed-by: ksrini
2009-12-15 13:26:06 -08:00
Jonathan Gibbons
8d1a5a5750 6907575: [classfile] add support for classfile dependency analysis
Reviewed-by: ksrini
2009-12-12 09:28:40 -08:00
Jonathan Gibbons
75f1feee86 6906175: bridge JSR199 and JSR 203 APIs
Reviewed-by: darcy, alanb
2009-12-11 14:26:27 -08:00
Joe Darcy
82e58a7b13 6909538: Clarify meaning of "element" in javax.lang.model.element API
Reviewed-by: ahe
2009-12-10 20:35:31 -08:00
Tim Bell
4a1724d4b4 Merge 2009-12-08 09:16:34 -08:00
Jonathan Gibbons
3d3790d91c 6907660: stupid typo in ZipFileIndex guarantees NPE
Reviewed-by: darcy
2009-12-07 14:35:07 -08:00
Joe Darcy
3229a1bbc6 6906748: Project Coin: Minor strings in switch cleanup
Reviewed-by: jjg
2009-12-03 14:03:53 -08:00
Michael Wilkerson
d57c12160a Added tag jdk7-b77 for changeset 2edda439128d 2009-12-03 12:53:12 -08:00
Tim Bell
fe7ec80761 Merge 2009-11-23 19:58:05 -08:00
Jonathan Gibbons
42bf8347dc 6902337: fix langtools build to allow forward refs into jdk/ repo
Reviewed-by: ohair, mcimadamore
2009-11-20 11:18:43 -08:00
Jonathan Gibbons
046d1831b0 6903456: 6898585 drops javadoc doclet.xml from JDK
Reviewed-by: ohair
2009-11-20 10:15:54 -08:00
Jonathan Gibbons
a502ed59ba 6902720: javac pretty printer does not handle enums correctly
Reviewed-by: mcimadamore
2009-11-19 11:49:27 -08:00
Jonathan Gibbons
26a6e8a198 6900511: javac command line help broken
Reviewed-by: ksrini
2009-11-19 11:43:43 -08:00
Jonathan Gibbons
ea8f607432 6902264: fix indentation of tableswitch and lookupswitch
Reviewed-by: ksrini
2009-11-19 11:38:38 -08:00
Jonathan Gibbons
538c9dbddf 6898585: restructure langtools build.xml to facilitate more options for <build-classes> macro
Reviewed-by: ohair
2009-11-17 16:45:19 -08:00
Tim Bell
9eead35e64 Merge 2009-11-17 10:35:52 -08:00
David Katleman
4d0aedf53a Added tag jdk7-b76 for changeset bd950c8f4fb3 2009-11-12 15:36:01 -08:00
Tim Bell
29be50f770 Merge 2009-11-06 17:29:00 -08:00