Commit Graph

257 Commits

Author SHA1 Message Date
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
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
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
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
Jonathan Gibbons
3c60c0e8ef 6930108: IllegalArgumentException in AbstractDiagnosticFormatter for tools/javac/api/TestJavacTaskScanner.jav
Reviewed-by: darcy
2010-03-05 16:12:33 -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
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
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
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
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
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
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
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
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
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
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
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
b796b9a5d2 6855236: Compiler Tree API TreePath class generates NullPointerException from Iterator
Reviewed-by: darcy
2010-01-06 13:16:48 -08:00
Joe Darcy
791e5e16c4 6911854: Update TestElementsAnnotatedWith.java to use @compile/proc
Reviewed-by: jjg
2009-12-18 11:15: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
Jonathan Gibbons
a502ed59ba 6902720: javac pretty printer does not handle enums correctly
Reviewed-by: mcimadamore
2009-11-19 11:49:27 -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
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
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
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