Commit Graph

723 Commits

Author SHA1 Message Date
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
Joe Darcy
54d7808702 6827009: Project Coin: Strings in Switch
Reviewed-by: jjg, mcimadamore
2009-11-02 21:36:59 -08:00
Michael Wilkerson
b967181a3f Added tag jdk7-b75 for changeset 0096541a388e 2009-10-30 10:55:00 -07:00
Jonathan Gibbons
65e203be59 6893062: remove support for obsolete attributes
Reviewed-by: ksrini
2009-10-20 10:59:13 -07:00
Jonathan Gibbons
613eae59d0 6889255: javac MethodSymbol throws NPE if ClassReader does not read parameter names correctly
Reviewed-by: darcy
2009-10-19 13:38:09 -07:00
Jonathan Gibbons
e634c0ee8e 6888367: classfile library parses signature attributes incorrectly
Reviewed-by: ksrini
2009-10-16 12:56:50 -07:00
Tim Bell
32b3e2c86a Merge 2009-10-15 22:48:34 -07:00
Xiomara Jayasena
d6388ffec9 Added tag jdk7-b74 for changeset 17d415c7180f 2009-10-15 16:40:44 -07:00
Joe Darcy
bb0ea6325c 6558804: Specification for Elements.getDocComment(Element e) should be clarified
Reviewed-by: jjg
2009-10-14 18:56:37 -07:00
Jonathan Gibbons
44767bbfbe 6838467: JSR199 FileObjects don't obey general contract of equals
Reviewed-by: darcy
2009-10-14 15:41:28 -07:00
Jonathan Gibbons
51a7e38600 6891079: Compiler allows invalid binary literals 0b and oBL
Reviewed-by: darcy
2009-10-13 15:26:30 -07:00
Jonathan Gibbons
837c2b0a07 6887895: CONSTANT_Class_info getBaseName does not handle arrays of primitives correctly
Reviewed-by: ksrini
2009-10-13 14:02:53 -07:00
Tim Bell
c824fc2f7a Merge 2009-10-07 14:14:45 -07:00
Xiomara Jayasena
c0a2b68ef8 Added tag jdk7-b73 for changeset 6a163854aee4 2009-10-02 11:26:53 -07:00
Jonathan Gibbons
9caa2fcaf2 6886348: apt incorrectly uses Scope.table
Reviewed-by: darcy
2009-09-28 16:48:30 -07:00
Tim Bell
2fa89790cc Merge 2009-09-25 22:04:43 -07:00
Tim Bell
81aa7df4c9 Merge 2009-09-25 14:24:14 -07:00
Joe Darcy
06d5d6e0ea 6337964: should ignore last comma in annotation array
Reviewed-by: jjg
2009-09-24 16:00:03 -07:00
Jonathan Gibbons
e116c27b51 6572945: javah should be written as an annotation processor, not a doclet
Reviewed-by: darcy
2009-09-23 19:15:04 -07:00
Jonathan Gibbons
6e3d970196 6410637: Make decision on deprecated methods in DefaultFileManager and BaseFileObject
6747645: ZipFileObject.getName is incorrectly deprecated
6885123: JavaFileObject getName issues

Reviewed-by: mcimadamore
2009-09-23 18:48:13 -07:00
Joe Darcy
2f016d3e82 6517779: javax.lang.model.util.Elements.getConstantExpression() doesn't throw any exception
6517907: javax.lang.model.util.Elements.getConstantExpression() with negative byte value fails

Fix various problems with Elements.getConstantExpression()

Reviewed-by: jjg
2009-09-23 18:29:41 -07:00
Xiomara Jayasena
dbe66b7524 6884624: Update copyright year
Update copyright for files that have been modified in 2009 through Septermber

Reviewed-by: tbell, ohair
2009-09-22 14:06:29 -07:00
Joe Darcy
2486dde2ef 6884227: Clarify ordering requirements of javax.lang.model.TypeElement.getEnclosedElements
Reviewed-by: ahe
2009-09-21 21:08:11 -07:00
Tim Bell
f73e24fb02 Merge 2009-09-18 08:48:50 -07:00
Xiomara Jayasena
20b992369b Added tag jdk7-b72 for changeset 182e4a28c0ce 2009-09-17 13:47:11 -07:00
Jonathan Gibbons
e4f3f066c0 6860965: Project Coin: binary literals
6860973: Project Coin: Underscores in literals

[Portions contributed by Bruce Chapman]

Reviewed-by: darcy
2009-09-15 18:36:21 -07:00
Jonathan Gibbons
8a6e77c436 6882235: invalid exponent causes silent javac crash
Reviewed-by: darcy
2009-09-15 12:20:55 -07:00
Jonathan Gibbons
e851626bac 6881317: regression: NPE in CloseableURLClassLoader
Reviewed-by: darcy
2009-09-14 17:13:00 -07:00
Peter von der Ahe
528f733b28 6709246: ClassCastException in javadoc
Reviewed-by: jjg
2009-09-08 14:08:26 -07:00
Peter von der Ahe
f4883897ce 5093723: REGRESSION: ClassCastException in SingleIndexWriter
Reviewed-by: jjg
2009-09-08 13:53:10 -07:00
Jonathan Gibbons
b2645b9065 6879371: javap does not close internal default file manager
Reviewed-by: darcy
2009-09-08 11:43:57 -07:00
Jonathan Gibbons
a8e28960cd 6879346: files have Windows newlines
Reviewed-by: darcy
2009-09-08 11:29:58 -07:00
Jonathan Gibbons
b2eaa8339f 6419701: DefaultFileManager clean up: URI.create
6483788: DefaultFileManager.ZipFileObject.toUri() fails to escape space characters
6501502: JSR 199: FileObject.toUri should return file:///c:/ or file:/c:/ not file://c:/
6877206: JavaFileObject.toUri returns bogus URI (win)
6877223: tests @ignored because of issues with File.toURI on Windows

Reviewed-by: mcimadamore, alanb
2009-09-08 11:12:13 -07:00
Tim Bell
85c1521893 Merge 2009-09-03 18:34:17 -07:00
Xiomara Jayasena
b08657d2a5 Added tag jdk7-b71 for changeset cdf91569d4eb 2009-09-03 10:53:14 -07:00
Jonathan Gibbons
4de45a009d 6874249: Check has duplicate local variable and field for "source"
Reviewed-by: mcimadamore
2009-09-02 10:20:46 -07:00
Jonathan Gibbons
98fa57b3ac 6877763: update langtools/test/Makefile for JPRT
Reviewed-by: ohair
2009-09-01 11:35:00 -07:00
Maurizio Cimadamore
1de40db76d 6650759: Inference of formal type parameter (unused in formal parameters) is not performed
Propagate inference constraints from 15.12.2.7 to 15.12.2.8

Reviewed-by: jjg
2009-09-01 14:53:39 +01:00
Jonathan Gibbons
a4d40c3100 6877759: test/tools/javac/processing/environment/round/TestElementsAnnotatedWith.java leaves open file
Reviewed-by: darcy
2009-08-31 19:43:06 -07:00
Jonathan Gibbons
729ed5d746 6877751: test/tools/javac/6627362/T6627362.java fails
Reviewed-by: darcy
2009-08-31 18:25:00 -07:00
Jonathan Gibbons
9df373712c 6877744: delete extraneous file
Reviewed-by: darcy
2009-08-31 17:16:52 -07:00
Jonathan Gibbons
ec2a9994f5 6877229: more javac tests fail on Windows
Reviewed-by: darcy
2009-08-31 12:36:26 -07:00
Tim Bell
9d0ed63add Merge 2009-08-28 16:54:10 -07:00
Jonathan Gibbons
45e9a3c1e9 6877188: some javac shell tests do not work on Windows
Reviewed-by: darcy
2009-08-28 14:48:49 -07:00
Jonathan Gibbons
e4158efc0e 6876782: two javadoc tests fail on Windows
Reviewed-by: darcy
2009-08-28 12:12:08 -07:00
Jonathan Gibbons
944568ba4b 6876765: javah tests fail on Windows
Reviewed-by: darcy
2009-08-27 18:25:21 -07:00
Jonathan Gibbons
57102e24d4 6876755: apt tests fail on Windows
Reviewed-by: darcy
2009-08-27 17:50:21 -07:00
Jonathan Gibbons
ba8c7416f8 6876753: javap tests fail on Windows
Reviewed-by: darcy
2009-08-27 17:39:16 -07:00
Jonathan Gibbons
cf9084dc86 6843707: bad tests generate files in the test/ directory
6876699: generated files in repository

Reviewed-by: darcy
2009-08-27 15:12:36 -07:00
Jonathan Gibbons
af2f2e8d36 6875336: some tests should use /nodynamiccopyright/
Reviewed-by: darcy
2009-08-27 11:08:27 -07:00
Maurizio Cimadamore
e5ce4a752b 6840638: Project Coin: Improved Type Inference for Generic Instance Creation (aka 'diamond')
Diamond operator implementation (simple approach)

Reviewed-by: jjg
2009-08-27 13:40:48 +01:00
Joe Darcy
a898594639 6548708: Annotation processing should free service loader if there are no processors
Reviewed-by: jjg
2009-08-26 19:28:51 -07:00
Joe Darcy
47307bdb89 6872011: Update printing processor to support JSR 308
Reviewed-by: jjg
2009-08-25 16:41:32 -07:00
Tim Bell
44055d286a Merge 2009-08-24 22:28:37 -07:00
Jonathan Gibbons
b91de4eb6a 6869216: testgetallmembers should consistently use correct filemanager
Reviewed-by: darcy
2009-08-24 14:38:42 -07:00
Jonathan Gibbons
0ec5040633 6873845: refine access to symbol file
Reviewed-by: darcy
2009-08-21 14:58:21 -07:00
Jonathan Gibbons
bde1a2faf8 6873849: suppress notes generated by javac
Reviewed-by: darcy
2009-08-21 11:25:45 -07:00
Xiomara Jayasena
792dd2427f Added tag jdk7-b70 for changeset b4c0c49979ff 2009-08-20 11:20:31 -07:00
Joe Darcy
54aaa7ae7a 6871291: Please clarify javax.tools.JavaCompiler.getTask() "classes" parameter
Reviewed-by: jjg
2009-08-19 17:12:36 -07:00