263 Commits

Author SHA1 Message Date
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
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
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
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
Jonathan Gibbons
4de45a009d 6874249: Check has duplicate local variable and field for "source"
Reviewed-by: mcimadamore
2009-09-02 10:20:46 -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
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
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