Commit Graph

1108 Commits

Author SHA1 Message Date
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
Bhavesh Patel
a715a4095a Merge 2011-06-17 20:14:05 -07:00
Bhavesh Patel
0982a2586d 7052425: Change the look and feel of the javadoc generate HTML pages using stylesheet
Reviewed-by: jjg
2011-06-17 20:12:46 -07:00
Joe Darcy
fe7f869e78 7052122: Update JDK_MINOR_VERSION for JDK 8
Reviewed-by: mr, katleman
2011-06-13 12:17:14 -07:00
Jim Holmlund
089c11bb9b 7052782: Two langtools regression tests fail due to fix for 7034977 which removed the invokeGeneric method
Change the tests to call invoke instead of invokeGeneric

Reviewed-by: jrose, mcimadamore
2011-06-09 09:13:50 -07:00
Suchen Chien
4137646027 Merge 2011-06-08 10:25:17 -07:00
Suchen Chien
67cd1c65ef Added tag jdk7-b145 for changeset e4b5be572a36 2011-06-07 14:01:26 -07:00
Lana Steuck
e9d626d5ec Merge 2011-06-02 13:38:55 -07:00
Joe Darcy
42cb36b770 7025784: Add SourceVersion.RELEASE_8
7025786: Add -source 8 and -target 8 to javac
7025789: Change javac source and target default to 8

Reviewed-by: jjg
2011-06-01 23:56:31 -07:00
Jonathan Gibbons
8df816992b 7042623: Regression: javac silently crash when attributing non-existent annotation
Reviewed-by: mcimadamore
2011-06-01 11:25:50 -07:00
Jeff Dinkins
0cd0c8c54f 7045697: JDK7 THIRD PARTY README update
Reviewed-by: lana
2011-05-27 15:02:39 -07:00
Suchen Chien
8e987420b4 Added tag jdk7-b144 for changeset 3e48977e539d 2011-05-26 20:20:16 -07:00
David Katleman
f1744917be 7044486: open jdk repos have files with incorrect copyright headers, which can end up in src bundles
Reviewed-by: ohair, trims
2011-05-25 13:32:10 -07:00
Mark Reinhold
d418cb71c2 7048009: Update .jcheck/conf files for JDK 8
Reviewed-by: jjh
2011-05-24 15:28:18 -07:00
Maurizio Cimadamore
fa196116c7 7046348: Regression: javac complains of missing classfile for a seemingly unrelated interface
Types.implementation forces unnecessary symbol completion on superinterfaces of a given type

Reviewed-by: jjg
2011-05-23 11:55:55 +01:00
Suchen Chien
94128d3cf0 Added tag jdk7-b143 for changeset 1eab738591a7 2011-05-20 16:04:23 -07:00
Maurizio Cimadamore
1ee0f8da66 7043922: Regression: internal compiler error for nested anonymous inner class featuring varargs constructor
Attributing a constructor call does not clean up the compiler's attribution context

Reviewed-by: jjg
2011-05-16 09:38:04 +01:00
Lana Steuck
40e9a55470 Merge 2011-05-14 11:29:34 -07:00
Suchen Chien
26adfef762 Added tag jdk7-b142 for changeset 4fc57aa6bbab 2011-05-12 17:17:50 -07:00
Jonathan Gibbons
31ffaa86e5 7043867: docs/jdk/api/javac have html files that have issues with HTML4 compliance
Reviewed-by: darcy
2011-05-11 14:55:02 -07:00
Maurizio Cimadamore
568387fe02 7041730: Regression: compiler accepts invalid cast from int to Byte
Implementation of cast conversion rules between primitive and boxed types is too liberal

Reviewed-by: jjg
2011-05-11 13:12:11 +02:00
Maurizio Cimadamore
d3d252186b 7042566: Regression: new ambiguity between varargs method
Erroneous ambiguity error when choosing most specific varargs method

Reviewed-by: jjg
2011-05-11 13:10:57 +02:00
Michael Fang
2aeb28d63b Merge 2011-05-10 19:58:00 -07:00
Jonathan Gibbons
831a82e3c1 7043694: printStackTrace call should be removed
Reviewed-by: darcy
2011-05-10 19:53:49 -07:00
Michael Fang
b0b388c137 7043548: message drop 3 translation integration
Reviewed-by: yhuang
2011-05-10 15:07:08 -07:00
Michael Fang
95f71f8848 7022005: [ja,zh_CN] javadoc, part of navigation bar in generated html are not translated
Reviewed-by: yhuang
2011-05-10 15:04:37 -07:00
Jennifer Godinez
abe6c8f317 Merge 2011-05-09 12:34:02 -07:00
Alan Bateman
6ca19f3995 Merge 2011-05-09 01:57:53 -07:00
Suchen Chien
eb1839a110 Added tag jdk7-b141 for changeset af4b2168b0f9 2011-05-05 14:02:30 -07:00
Jennifer Godinez
a5846fb547 Merge 2011-05-03 22:17:58 -07:00
Bhavesh Patel
a2642b89a7 6553182: Need to modify javadoc doclet for GPL
Reviewed-by: jjg
2011-05-02 10:10:31 -07:00
Suchen Chien
b3cda84f13 Merge 2011-05-02 09:38:22 -07:00
Maurizio Cimadamore
fbecf91f80 7040883: Compilation error: "length in Array is defined in an inaccessible class or interface"
Fix of 7034511 (now backed out) is causing spurious accessibility errors

Reviewed-by: jjg
2011-05-02 12:05:41 +01:00
Bhavesh Patel
746cdfda77 6492694: @deprecated tag doesn't work in package-info files
Reviewed-by: jjg
2011-05-02 02:13:02 -07:00
Lana Steuck
80d69a4f40 Merge 2011-04-30 16:57:18 -07:00
Maurizio Cimadamore
fcbd7a77c4 7039931: Project Coin: diamond inference fail with generic constructor explicit type-arguments
Diamond should be disallowed in cases where explicit generic constructor parameters are specified

Reviewed-by: jjg
2011-04-30 11:57:46 +01:00
Maurizio Cimadamore
ea2c9e0af0 6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
Accessing a non-existing enum constant from an annotation whose class is available results in an internal error

Reviewed-by: jjg
2011-04-29 16:06:28 +01:00
Maurizio Cimadamore
7fb85c5cef 7034495: Javac asserts on usage of wildcards in bounds
Problem with intersection types and wildcards causing javac to crash

Reviewed-by: jjg
2011-04-29 16:05:56 +01:00
Maurizio Cimadamore
e7081dbf6a 7039937: Improved catch analysis fails to handle a common idiom in the libraries
Disable generation of 'unreachable catch' warnings for catch statements catching Exception/Throwable

Reviewed-by: jjg
2011-04-29 16:05:29 +01:00
Maurizio Cimadamore
f7618cbf97 7040104: javac NPE on Object a[]; Object o = (a=null)[0];
When a null literal is found on top of stack, if expected type is 1-dimension array no checkcast is emitted

Reviewed-by: jjg
2011-04-29 16:05:02 +01:00
Suchen Chien
a4dd2f32d7 Added tag jdk7-b140 for changeset c0c0f0374f67 2011-04-28 17:44:47 -07:00
Jonathan Gibbons
e29746adb0 7029150: Project Coin: present union types from the tree API through to javax.lang.model
Reviewed-by: mcimadamore
2011-04-28 15:05:36 -07:00
Mandy Chung
2999ef704d 7037081: Remove com.sun.tracing from NON_CORE_PKGS
Reviewed-by: ohair, jjg, jmasa
2011-04-28 08:46:06 -07:00
Christine Lu
2bde5c0ad9 Merge 2011-04-27 19:24:03 -07:00
Bhavesh Patel
ff31734237 7028815: Missing styles for some bulleted items in the new stylesheet
Reviewed-by: jjg
2011-04-27 17:13:54 -07:00
Joe Darcy
90c0a645c2 7039822: Project Coin: add explicit tests for the lub of an exception parameter
Reviewed-by: mcimadamore, jjg
2011-04-27 17:03:24 -07:00
Kelly O'Hair
c2bdfcee05 6631003: Add hg tip changeset to build image
Reviewed-by: mduigou
2011-04-26 16:22:41 -07:00
Michael Fang
8b9fe06564 7039493: incorporating WPTG translation bug fixes
Reviewed-by: yhuang
2011-04-25 20:16:46 -07:00
Jonathan Gibbons
59b6650614 7038363: cast from object to primitive should be for source >= 1.7
Reviewed-by: mcimadamore
2011-04-25 15:56:09 -07:00
Jonathan Gibbons
94164d4b45 7039019: test cannot run standalone
Reviewed-by: dlsmith
2011-04-25 15:50:30 -07:00
Lana Steuck
b7e7d71822 Merge 2011-04-25 15:45:49 -07:00
David Katleman
47d82e1ad5 Added tag jdk7-b139 for changeset af2ac0dd2fa6 2011-04-21 15:33:25 -07:00
Maurizio Cimadamore
95e14306e7 7036906: Scope: CompoundScope.getElements() doesn't pass scope filter to subscopes
CompoundScope.getElements() is not filtering elements according to the ScopeFilter argument

Reviewed-by: jjg
2011-04-19 13:57:25 +01:00
Bhavesh Patel
fbb8954b52 6758050: javadoc handles nested generic types incorrectly
Reviewed-by: jjg
2011-04-18 15:39:16 -07:00
Lana Steuck
a498249cfa Merge 2011-04-17 16:23:22 -07:00
Suchen Chien
5ede995e53 Added tag jdk7-b138 for changeset 7a2738b5e9c6 2011-04-14 15:22:12 -07:00
Kelly O'Hair
39cd646f25 Merge 2011-04-13 16:57:22 -07:00
Jim Holmlund
e9456bc9af 7032975: API files in javax.annotation.processing need to be updated for references to JLS
7032972: API files in javax.tools need to updated for references to JVM Spec with editions/hyperlinks
7032978: API files in javax.tools need to be updated for references to JLS with editions/hyperlinks

Removed URLs and 'edition' references

Reviewed-by: jjg, darcy
2011-04-13 11:35:43 -07:00
Maurizio Cimadamore
02daeca60e 7034019: ClassCastException in javac with conjunction types
Resolve.mostSpecific doesn't handle case of raw override

Reviewed-by: dlsmith
2011-04-12 20:58:06 -07:00
Maurizio Cimadamore
c46387423a 7034511: Loophole in typesafety
Type-variable substutution takes upper bound of replaced captured type-variable

Reviewed-by: dlsmith
2011-04-12 20:56:16 -07:00
Michael Fang
5e01475e7b Merge 2011-04-11 16:31:22 -07:00
Michael Fang
305edce422 Merge 2011-04-11 14:01:41 -07:00
Lana Steuck
992bfee42c Merge 2011-04-10 10:25:12 -07:00
Michael Fang
4220a85daf 7034940: message drop 2 translation integration
Reviewed-by: yhuang
2011-04-08 15:25:47 -07:00
Suchen Chien
046f7fce9f Added tag jdk7-b137 for changeset ec825a21d1f8 2011-04-07 15:21:22 -07:00
Kelly O'Hair
b49579c56c 7033660: Update copyright year to 2011 on any files changed in 2011
Reviewed-by: dholmes
2011-04-06 20:33:44 -07:00
Joe Darcy
777c93481f 7033809: Rename "disjunctive" to "union" in javax.lang.model
Reviewed-by: mcimadamore, jjg
2011-04-06 19:30:57 -07:00
Alan Bateman
243b526b99 Merge 2011-04-04 19:36:26 +01:00