Commit Graph

504 Commits

Author SHA1 Message Date
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
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
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