Commit Graph

1075 Commits

Author SHA1 Message Date
Jonathan Gibbons
afaeb37bb5 7090700: fix for 7080267 breaks two tests
Reviewed-by: ksrini
2011-09-14 15:49:54 -07:00
Jonathan Gibbons
2bbf651156 7090249: IllegalStateException from Trees.getScope when called from JSR 199
Reviewed-by: mcimadamore
2011-09-14 12:14:30 -07:00
Jonathan Gibbons
1ec8f70fdd 7080267: Call to toString() from an ExpressionStatementTree doesn't take in consideration the ";" at the end
Reviewed-by: mcimadamore
2011-09-14 12:07:50 -07:00
Mandy Chung
12a0dac949 7090297: Remove com.sun.tools.javac.Launcher from tools.jar
Reviewed-by: jjg
2011-09-13 16:37:09 -07:00
Maurizio Cimadamore
08619c2e9c 7086601: Error message bug: cause for method mismatch is 'null'
Inference error during lub() does not set 'cause' for method resolution diagnostic

Reviewed-by: jjg
2011-09-13 14:15:39 +01:00
Maurizio Cimadamore
0208d38b3c 7003595: IncompatibleClassChangeError with unreferenced local class with subclass
Compiler omits unreferenced local inner classes from the InnerClasses attribute

Reviewed-by: jjg
2011-09-13 14:15:22 +01:00
Maurizio Cimadamore
8db2f8de59 7086595: Error message bug: name of initializer is 'null'
Implementation of MethodSymbol.location() should take into account static/instance initializers

Reviewed-by: jjg
2011-09-13 14:14:57 +01:00
Jonathan Gibbons
c1efbbc362 Merge 2011-09-12 11:40:07 -07:00
Jonathan Gibbons
8166c2b32b 7068451: Regression: javac compiles fixed sources against previous, not current, version of generated sources
Reviewed-by: mcimadamore
2011-09-12 11:39:08 -07:00
Lana Steuck
14cdfec16f Merge 2011-09-10 21:31:08 -07:00
Jonathan Gibbons
a0084596d4 7073508: Regression: NullPointerException at com.sun.tools.javac.code.Lint$AugmentVisitor.augment
Reviewed-by: darcy
2011-09-09 17:19:26 -07:00
Suchen Chien
c66c50437c Added tag jdk8-b04 for changeset cd423392ab94 2011-09-08 16:59:53 -07:00
Maurizio Cimadamore
a456f20739 7086261: javac doesn't report error as expected, it only reports ClientCodeWrapper$DiagnosticSourceUnwrapper
Missing override for toString() in ClientCodeUnwrapper.DiagnosticSourceUnwrapper

Reviewed-by: jjg
2011-09-02 17:35:56 +01:00
Bruce Chapman
0da4a58897 7024096: Stack trace has invalid line numbers
Reviewed-by: jjg, darcy
2011-09-02 07:54:16 -07:00
Jim Holmlund
7d7c8d7cdf 7086071: tools/javac/7079713/TestCircularClassfile.java fails on windows
Delete file before renaming another file to it

Reviewed-by: jjg
2011-09-01 14:35:59 -07:00
Suchen Chien
fd8978fa75 Added tag jdk8-b03 for changeset df130f34ab4c 2011-09-01 13:54:50 -07:00
Jan Lahoda
6f70d425f2 7073631: (javac) javac parser improvements for error position reporting
JavacParser improvements for NetBeans, improved by LangTools.

Reviewed-by: mcimadamore, jjg
2011-09-01 09:14:25 -07:00
Jonathan Gibbons
654ae83d8e 7074416: Regression: JSR199: javac doesn't unwrap clientcodewrapper objects
Reviewed-by: mcimadamore
2011-08-31 15:39:00 -07:00
Maurizio Cimadamore
67f3781cb1 7079713: javac hangs when compiling a class that references a cyclically inherited class
Types.membersClosure needs to handle pathological cases of cyclic inheritance

Reviewed-by: jjg, jjh
2011-08-31 16:15:19 +01:00
Maurizio Cimadamore
68039c2904 7085024: internal error; cannot instantiate Foo
Types.isConvertible does not handle erroneous types correctly

Reviewed-by: jjg
2011-08-31 16:11:28 +01:00
Suchen Chien
4198da6308 Added tag jdk8-b02 for changeset 88a0fd8156da 2011-08-25 17:18:25 -07:00
Christine Lu
700b93fe42 Added tag jdk8-b01 for changeset cca843a7d258 2011-08-18 18:55:34 -07:00
Kumar Srinivasan
8b16f518cb 7064544: (javadoc) miscellaneous fixes requested by netbeans
Contributed by netbeans team, modified to suit by the langtools team.

Reviewed-by: jjg, bpatel
2011-08-05 19:41:05 -07:00
Jonathan Gibbons
4cd6c8c31e 7074189: some javac tests fail with latest jtreg 4.1 b03
Reviewed-by: darcy
2011-08-05 15:57:59 -07:00
Joe Darcy
dba9612ad9 7071246: Enclosing string literal in parenthesis in switch-case crashes javac
Reviewed-by: mcimadamore
2011-08-04 11:15:37 -07:00
Kumar Srinivasan
53abe0d254 7068902: (javac) allow enabling or disabling of String folding
Contributed by netbeans team, modified to suit by the langtools team.

Reviewed-by: jjg, mcimadamore
2011-07-27 11:53:17 -07:00
Maurizio Cimadamore
5c209a7d2d 7057297: Project Coin: diamond erroneously accepts in array initializer expressions
Diamond in array initializer expressions should be rejected

Reviewed-by: jjg
2011-07-27 19:01:33 +01:00
Maurizio Cimadamore
02802c9449 7046778: Project Coin: problem with diamond and member inner classes
Diamond inference generates spurious error messages when target type is a member inner class

Reviewed-by: jjg
2011-07-27 19:01:08 +01:00
Maurizio Cimadamore
af30a2dbf3 7062745: Regression: difference in overload resolution when two methods are maximally specific
Fix most specific when two methods are maximally specific and only one has non-raw return type

Reviewed-by: jjg, dlsmith
2011-07-27 19:00:53 +01:00
Kelly O'Hair
a6cbb46a23 Merge 2011-07-22 21:31:14 -07:00
Kelly O'Hair
a6b33d5a4a 7069993: Adjust make/jprt.properties file for jdk8
Reviewed-by: katleman
2011-07-22 17:35:20 -07:00
Lana Steuck
d77b9c2ff6 Merge 2011-07-14 18:58:27 -07:00
David Schlosnagle
5f2157a8bc 7061125: Proposed javac argument processing performance improvement
Reviewed-by: jjg, dlsmith, mcimadamore, forax
2011-07-07 13:29:31 -07:00
Joe Darcy
01ee832f44 7025809: Provided new utility visitors supporting SourceVersion.RELEASE_8
Reviewed-by: jjg, mcimadamore
2011-07-05 16:37:24 -07:00
Kumar Srinivasan
69c7455330 7060642: (javadoc) improve performance on accessing inlinedTags
Reviewed-by: jjg, bpatel
2011-07-01 14:28:19 -07:00
Kumar Srinivasan
a195753a0c 6735320: StringIndexOutOfBoundsException for empty @serialField tag
Reviewed-by: jjg, bpatel
2011-07-01 13:34:37 -07:00
Kumar Srinivasan
37aa419c8a 7059905: (javadoc) promote method visibility for netbeans usage
Reviewed-by: jjg, bpatel
2011-06-30 14:33:45 -07:00
Lana Steuck
1dbd0c3e5e Merge 2011-06-30 14:19:25 -07:00
Jonathan Gibbons
00fd0bdcfd 7060926: Attr.PostAttrAnalyzer misses a case
Reviewed-by: mcimadamore
2011-06-30 12:00:53 -07:00
Suchen Chien
17c7ea1f76 Merge 2011-06-27 14:11:09 -07:00
Suchen Chien
a3a8789cac Added tag jdk7-b147 for changeset af62a2ace951 2011-06-27 13:21:47 -07:00
Joe Darcy
faf515b31f 6575445: Update annotation processor to only use java.util.ServiceLoader
Reviewed-by: jjg
2011-06-24 13:52:14 -07:00
Lana Steuck
672c2326e2 Merge 2011-06-23 17:30:49 -07:00
Alexandre Boulgakov
d44dc19842 7058174: Reduce langtools build warnings
Reviewed-by: jjg
2011-06-23 11:49:27 -07:00
Lana Steuck
2eb3bc1633 Merge 2011-06-22 23:26:00 -07:00
Joe Darcy
55d52a83a8 6449184: Provide JavacProcessingEnvironment.getWriter
Reviewed-by: jjg
2011-06-22 17:07:02 -07:00
Lana Steuck
1433317e29 Merge 2011-06-22 12:41:28 -07:00
Jeff Dinkins
de7673ad9d 7057046: Add embedded license to THIRD PARTY README
Reviewed-by: lana
2011-06-22 10:11:58 -07:00
Suchen Chien
2f43bbd50b Merge 2011-06-20 17:39:54 -07:00
Suchen Chien
372f63f99b Added tag jdk7-b146 for changeset 996242032853 2011-06-20 16:25:52 -07:00