Commit Graph

1349 Commits

Author SHA1 Message Date
Bhavesh Patel
2c45db0933 Merge 2012-09-08 22:54:21 -07:00
Bhavesh Patel
fc3506df22 7180906: Javadoc tool does not apply parameter -nosince
Reviewed-by: jjg
2012-09-08 22:43:38 -07:00
Jonathan Gibbons
b4b43de210 7196760: tree end positions incorrect after anno processing
Reviewed-by: mcimadamore
2012-09-07 11:35:53 -07:00
Jonathan Gibbons
f4749d4e50 7196774: javac cannot be built with JDK 6 after 7151010
Reviewed-by: mcimadamore
2012-09-07 11:24:00 -07:00
Jonathan Gibbons
0844683a0e 7186925: JavapTask passes null to java.io.Writer
Reviewed-by: jjh
2012-09-07 11:12:16 -07:00
David Katleman
7eb98442e1 Added tag jdk8-b55 for changeset bc332057d97a 2012-09-06 17:28:10 -07:00
Lana Steuck
147f804a82 Merge 2012-09-05 12:00:30 -07:00
Jim Holmlund
7dfe1cb86c 7185778: javah error "Not a valid class name" on class names with dollar signs
Reviewed-by: jjg
2012-09-05 08:32:32 -07:00
Joel Borggrén-Franck
9c23b8bad0 7151010: Add compiler support for repeating annotations
Reviewed-by: jjg, mcimadamore
2012-08-31 10:37:46 +01:00
Lana Steuck
659c51746c Merge 2012-08-30 20:14:48 -07:00
David Katleman
53024605e4 Added tag jdk8-b54 for changeset edce301a53ed 2012-08-30 10:27:39 -07:00
Lana Steuck
de50ec6f3f Merge 2012-08-27 10:59:13 -07:00
Jan Lahoda
398a74ffa0 7192068: (javac) provide a way for IDEs to produce Enclosing Method attributes
Reviewed-by: jjg
2012-08-27 07:21:46 -07:00
David Katleman
25fe6a4c37 Added tag jdk8-b53 for changeset f7a4c716de5d 2012-08-23 12:27:59 -07:00
Jonathan Gibbons
504f41de5d 7192744: fix up tests to accommodate jtreg spec change
Reviewed-by: darcy
2012-08-20 13:50:04 -07:00
Athijegannathan Sundararajan
6214b5d906 7181320: javac NullPointerException for switch labels with cast to String expressions
Reviewed-by: mcimadamore
2012-08-20 21:24:10 +05:30
Jonathan Gibbons
c1ee469435 7192449: fix up tests to accommodate jtreg spec change
Reviewed-by: darcy
2012-08-17 17:30:03 -07:00
David Katleman
982db35447 Added tag jdk8-b52 for changeset 2d183808d5fd 2012-08-16 11:43:32 -07:00
Steve Sides
12a8d12863 7191449: update copyright year to match last edit in jdk8 langtools repository
Reviewed-by: jjh
2012-08-15 13:48:46 -07:00
Lana Steuck
20bfd9b2da Merge 2012-08-10 10:14:48 -07:00
David Katleman
79c6a61454 Added tag jdk8-b51 for changeset 716ed0cb0cea 2012-08-09 18:02:43 -07:00
Athijegannathan Sundararajan
9724583022 7178324: Crash when compiling for(i : x) try(AutoCloseable x = ...) {}
Reviewed-by: darcy, jjg
2012-08-08 22:17:27 +05:30
Lana Steuck
e6f6b2dfda Merge 2012-08-07 20:24:18 -07:00
David Katleman
80335ce280 Added tag jdk8-b50 for changeset 1081f6a5c2ef 2012-08-02 15:37:22 -07:00
Maurizio Cimadamore
b1457fe814 7187104: Inference cleanup: remove redundant exception classes in Infer.java
Remove unused exception classes in Infer.java

Reviewed-by: jjg
2012-08-02 18:24:01 +01:00
Maurizio Cimadamore
a39622326e 7175538: Integrate efectively final check with DA/DU analysis
Allow generalized effectively-final analysis for all local variables

Reviewed-by: jjg, dlsmith
2012-08-02 18:23:21 +01:00
Maurizio Cimadamore
b03ad3ae09 7175911: Simplify error reporting API in Check.CheckContext interface
Make error messages generated during Check.checkType more uniform and more scalable

Reviewed-by: jjg, dlsmith
2012-08-02 18:22:41 +01:00
Christine Lu
3cf0eca766 Added tag jdk8-b49 for changeset b47c53dc4c45 2012-07-26 16:48:41 -07:00
Lana Steuck
8f80a15abb Merge 2012-07-24 11:05:52 -07:00
Christine Lu
ca56ab97be Added tag jdk8-b48 for changeset 9d19a5f8d2ad 2012-07-23 12:38:49 -07:00
Lana Steuck
187f3fcc36 Merge 2012-07-16 17:05:13 -07:00
Maurizio Cimadamore
340f4947e5 7181578: javac reports uninitialized variable with nested try...finally blocks
Regression introduced in refactoring of Flow.java

Reviewed-by: jjg
2012-07-13 12:58:50 +01:00
David Katleman
e351ad6287 Added tag jdk8-b47 for changeset f0b04f0fc310 2012-07-12 16:48:37 -07:00
Kelly O'Hair
5724b6d8ac Merge 2012-07-08 20:34:14 -07:00
David Katleman
e6c547e026 Added tag jdk8-b46 for changeset b7b7fb648bf6 2012-07-05 18:44:44 -07:00
Erik Joelsson
4c0c58e59d 7180594: Fix GenStubs in langtools for build-infra builds
Reviewed-by: ohair
2012-06-28 14:59:20 -07:00
David Katleman
efdeeb14af Added tag jdk8-b45 for changeset b34aca67a4db 2012-06-28 09:33:16 -07:00
Lana Steuck
c4cbd8f70c Merge 2012-06-25 21:39:16 -07:00
Jonathan Gibbons
3005c7daac 7178763: javadoc OutOfMemory error results in several jdk8 tl nightly failures
Reviewed-by: ksrini
2012-06-22 14:40:30 -07:00
David Katleman
8e267289d5 Added tag jdk8-b44 for changeset 96e306b8f5e5 2012-06-21 17:08:31 -07:00
Jonathan Gibbons
8731495395 7178297: provide mapping from doc comment position to source file position
Reviewed-by: mcimadamore, ksrini
2012-06-21 13:22:21 -07:00
Jonathan Gibbons
f2cefcbfad 7174143: encapsulate doc comment table
Reviewed-by: ksrini, mcimadamore
2012-06-20 13:23:26 -07:00
Maurizio Cimadamore
288480e312 7177701: error: Filling jar message during javax/imageio/metadata/IIOMetadataFormatImpl compilation
Recent JDK hash changes affected order in which files are returned from JavacFileManager.list()

Reviewed-by: jjg
2012-06-19 13:25:58 +01:00
Lana Steuck
dcfcb3cfc6 Merge 2012-06-17 21:37:21 -07:00
David Katleman
ab54b675f7 Added tag jdk8-b43 for changeset a689392675ed 2012-06-14 13:14:50 -07:00
David Katleman
26ef6340dd Merge 2012-06-13 16:58:00 -07:00
Kumar Srinivasan
4525667c73 7160072: (javac) JavacParserTests needs cleanup
Reviewed-by: jjg
2012-06-11 15:33:28 -07:00
Lana Steuck
2e9434a07a Merge 2012-06-08 12:45:43 -07:00
Erik Joelsson
1ff2fcfeed 7170079: Adjustments to build-infra makefiles
Co-authored-by: Jonas Oreland <jonas.oreland@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Torbjorn Granat <torbjorn.granat@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Reviewed-by: ohair, ohrstrom, ihse, jonas
2012-06-07 20:30:57 -07:00
Christine Lu
4a65e326b9 Added tag jdk8-b42 for changeset 3e580bb83096 2012-06-07 12:10:41 -07:00
Lana Steuck
d558b176b1 Merge 2012-06-05 17:40:33 -07:00
Christine Lu
65eb5b19cf Added tag jdk8-b41 for changeset b7d886b99bba 2012-06-01 14:12:35 -07:00
Jim Holmlund
65293fee1f 7159016: Static import of member in processor-generated class fails in JDK 7
Reviewed-by: jjg
2012-05-31 15:07:29 -07:00
Maurizio Cimadamore
3f99d2eda5 7160084: javac fails to compile an apparently valid class/interface combination
Javac generates wrong syntetized trees for nested enum constants

Reviewed-by: dlsmith, jjg
2012-05-31 17:44:04 +01:00
Maurizio Cimadamore
7e32f8e585 7166552: Inference: cleanup usage of Type.ForAll
Remove hack to callback into type-inference from assignment context

Reviewed-by: dlsmith, jjg
2012-05-31 17:42:14 +01:00
Lana Steuck
ff9a1cfde6 Merge 2012-05-25 16:32:56 -07:00
David Katleman
1c9465c6df Added tag jdk8-b40 for changeset 305a3d828f11 2012-05-24 16:16:05 -07:00
Sue Wei
3d77d813ce 7157798: Add 6 test scenarios for testing inheritance of multiple same-name methods from mulitple interfaces
Reviewed-by: mcimadamore
2012-05-21 16:10:14 -07:00
Lana Steuck
08da945e68 Merge 2012-05-21 11:44:49 -07:00
David Katleman
4b002876d3 Added tag jdk8-b39 for changeset 679d89b6a21a 2012-05-17 06:20:51 -07:00
Lana Steuck
ee274abff1 Merge 2012-05-11 12:53:43 -07:00
Athijegannathan Sundararajan
817ad87a28 7166990: java/compiler Inherited interfaces using generics sometimes looses the generic type
Reviewed-by: mcimadamore
2012-05-11 20:06:00 +05:30
Jan Lahoda
9feb7f3e15 7159445: (javac) emits inaccurate diagnostics for enhanced for-loops
Reviewed-by: jjg
2012-05-10 12:32:58 -07:00
David Katleman
f36f12f54e Added tag jdk8-b38 for changeset 8bf61a6c4a22 2012-05-10 10:25:25 -07:00
David Katleman
5c2efc04be Added tag jdk8-b37 for changeset ac17e6eab3e8 2012-05-09 13:08:07 -07:00
Jan Lahoda
324e987e82 7166010: (javac) JavacMessager incorrectly restores log source file
Reviewed-by: jjg
2012-05-04 07:55:51 -07:00
David Katleman
3118f65376 Added tag jdk8-b36 for changeset 5875a9028f2c 2012-04-26 14:07:29 -07:00
Lana Steuck
c57073d6ee Merge 2012-04-23 16:59:32 -07:00
David Katleman
d43b7a3a07 Added tag jdk8-b35 for changeset 55cc12e59097 2012-04-19 12:19:06 -07:00
Lana Steuck
c7e591cc26 Merge 2012-04-18 10:22:32 -07:00
David Katleman
275576b218 Added tag jdk8-b34 for changeset c529d3f99946 2012-04-12 09:35:37 -07:00
David Katleman
c60e89e144 Merge 2012-04-11 14:10:53 -07:00
Maurizio Cimadamore
d951098c65 7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
Remove bound checking rules from recursive subtype visitors in Types.java and replace with centralized bound-checking logic

Reviewed-by: jjg, dlsmith
2012-04-11 10:50:11 +01:00
Lana Steuck
86d20bcabe Merge 2012-04-10 23:19:26 -07:00
Fredrik Ohstrom
9b450f0606 7074397: Build infrastructure changes (makefile re-write)
New makefiles transition, old and new living side by side for now.

Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Torbjorn Granat <torbjorn.granat@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Reviewed-by: ohair, jjg, dholmes, ohrstrom, erikj, ihse, tgranat, ykantser
2012-04-10 08:15:25 -07:00
Lana Steuck
7dbe9f0b6d Merge 2012-04-09 21:58:05 -07:00
Jan Lahoda
0f0e273e0d 7156633: (javac) incorrect errors when parsing variable declaration in block statements
Reviewed-by: jjg
2012-04-09 14:31:18 -07:00
Sonali Goel
9eb83db3dd 7157626: Create a new test to check major version for a class file
Reviewed-by: jjg
2012-04-06 10:10:44 -07:00
David Katleman
29761601c5 Added tag jdk8-b33 for changeset 5ca52c9d6568 2012-04-05 13:05:08 -07:00
Lana Steuck
df0d844ee4 Merge 2012-03-30 16:58:37 -07:00
Maurizio Cimadamore
410c51d5f4 7157165: Regression: code with disjunctive type crashes javac
Bad recovery logic in parser code that checks for generic cast

Reviewed-by: jjg
2012-03-30 19:19:50 +01:00
Maurizio Cimadamore
2283a8eff1 7157688: Regression: common compiler diagnostic features swapped required/found types
Bug in resource key in compiler.properties

Reviewed-by: jjg
2012-03-30 19:19:09 +01:00
Christine Lu
96603fcc12 Added tag jdk8-b32 for changeset c0968fe1c711 2012-03-29 13:02:32 -07:00
Lana Steuck
1b87d19c87 Merge 2012-03-26 17:32:17 -07:00
Maurizio Cimadamore
51235439c2 7133185: Update 292 overload resolution logic to match JLS
Re-implement special overload resolution support for method handles according to the JLS SE 7 definition

Reviewed-by: jjg, dlsmith, jrose
2012-03-26 15:28:49 +01:00
Maurizio Cimadamore
9b1e54dae3 7151492: Encapsulate check logic into Attr.ResultInfo
ResultInfo class should be used to make attribution code transparent w.r.t. check logic being used

Reviewed-by: jjg, dlsmith
2012-03-26 15:28:22 +01:00
Maurizio Cimadamore
9693d60c23 7151580: Separate DA/DU logic from exception checking logic in Flow.java
DA/DU analysis and exception checking analysis should live in two separate tree visitors

Reviewed-by: gafter, dlsmith, jjg
2012-03-26 15:27:51 +01:00
David Katleman
ad08800a5d Added tag jdk8-b31 for changeset 780ca4f4edd7 2012-03-22 12:41:36 -07:00
Lana Steuck
be34a18712 Merge 2012-03-21 13:39:42 -07:00
David Katleman
ba57c8f33a Added tag jdk8-b30 for changeset 5fc6bf869751 2012-03-15 15:18:24 -07:00
Jonathan Gibbons
f6faa640b7 7150784: bad copyright date in file
Reviewed-by: darcy
2012-03-14 13:53:41 -07:00
Lana Steuck
508c6f404d Merge 2012-03-13 20:24:28 -07:00
Jonathan Gibbons
9f1ffb53dc 7150368: javac should include basic ability to generate native headers
Reviewed-by: mcimadamore, darcy, ohrstrom
2012-03-13 15:43:40 -07:00
Lana Steuck
d5a7ac9412 Merge 2012-03-09 11:59:26 -08:00
Maurizio Cimadamore
f6ee974ac7 7151802: compiler update caused sqe test failed
Fix regression caused by 7144506

Reviewed-by: jjg, dlsmith
2012-03-09 17:10:56 +00:00
David Katleman
7c2e062ccb Added tag jdk8-b29 for changeset cc866298b20c 2012-03-08 20:35:26 -08:00
Lana Steuck
086d1992b6 Merge 2012-03-08 08:19:58 -08:00
Fredrik Öhrström
d74cd0bff8 7150579: Moved ant code into a separate package, anttasks
To allow langtools to be built without ant, the ant tasks were moved to a separated package. The packages were also renamed to proper lower case package names.

Reviewed-by: jjg
2012-03-07 13:11:27 +01:00
Alan Bateman
041b97af42 7113349: Initial changeset for Macosx port to jdk
Co-authored-by: Alexander Potochkin <alexander.potochkin@oracle.com>
Co-authored-by: Alexander Zuev <alexander.zuev@oracle.com>
Co-authored-by: Andrew Brygin <andrew.brygin@oracle.com>
Co-authored-by: Artem Ananiev <artem.ananiev@oracle.com>
Co-authored-by: Alex Strange <astrange@apple.com>
Co-authored-by: Bino George <bino@apple.com>
Co-authored-by: Christine Lu <christine.lu@oracle.com>
Co-authored-by: David Katleman <david.katleman@oracle.com>
Co-authored-by: David Durrence <david_durrence@apple.com>
Co-authored-by: Dmitry Cherepanov <dmitry.cherepanov@oracle.com>
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Kevin Miller <kevin_m_miller@apple.com>
Co-authored-by: Kurt Miller <kurt@intricatesoftware.com>
Co-authored-by: Landon Fuller <landonf@plausiblelabs.com>
Co-authored-by: Leonid Romanov <leonid.romanov@oracle.com>
Co-authored-by: Loefty Walkowiak <loefty@apple.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Scott Kovatch <scott.kovatch@oracle.com>
Co-authored-by: Sergey ByloKhov <sergey.bylokhov@oracle.com>
Co-authored-by: Mike Swingler <swingler@apple.com>
Co-authored-by: Tomas Hurka <tomas.hurka@oracle.com>
Reviewed-by: jjh, alanb, dholmes, anthony, ohrstrom, ksrini, jrose, weijun, smarks
2012-03-06 20:27:12 +00:00
Maurizio Cimadamore
271ed603e1 7148556: Implementing a generic interface causes a public clone() to become inaccessible
Implementation of Resolve.isOverriddenIn() should distinguish between classes/interfaces

Reviewed-by: jjg
2012-03-06 16:50:32 +00:00