388 Commits

Author SHA1 Message Date
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
Joe Darcy
1fb4cb4242 6634138: Source generated in last round not compiled
Reviewed-by: jjg
2010-02-15 18:20:57 -08:00
Jonathan Gibbons
c9c72ab9da 6923080: TreeScanner.visitNewClass should scan tree.typeargs
Reviewed-by: darcy
2010-02-04 10:14:28 -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
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
Jonathan Gibbons
1433e8c817 6919944: incorrect position given for duplicate annotation value error
Reviewed-by: darcy
2010-01-26 11:15:49 -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
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
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
8d42657600 6915476: java.util.regex.PatternSyntaxException in com.sun.tools.javac.nio.PathFileObject
Reviewed-by: darcy
2010-01-11 14:12:10 -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
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
8fef75cd30 6307206: missing lint control for pkg-info
Reviewed-by: darcy
2010-01-06 13:09:52 -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
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
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
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
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
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