Commit Graph

1242 Commits

Author SHA1 Message Date
David Katleman
1c9465c6df Added tag jdk8-b40 for changeset 305a3d828f11 2012-05-24 16:16:05 -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
Maurizio Cimadamore
6acf436edc 7151070: NullPointerException in Resolve.isAccessible
Spurious accessibility check in TransTypes

Reviewed-by: jjg
2012-03-06 16:48:29 +00:00
Maurizio Cimadamore
954444af1c 7133238: Merge proto-kind and proto-type into a single result class
Restructure attribution code so that the check-logic can be encapsulated into a single class

Reviewed-by: jjg, dlsmith
2012-03-06 13:29:45 +00:00
Maurizio Cimadamore
d5036d16cd 7144506: Attr.checkMethod should be called after inference variables have been fixed
Unify post-inference sanity check with Attr.checkMethod

Reviewed-by: jjg, dlsmith
2012-03-06 13:28:05 +00:00
Maurizio Cimadamore
21312c5617 7148622: Some diagnostic methods do not go through Log.report
Deferred lint diagnostics ignore Log settings such as deferred diagnostics

Reviewed-by: jjg
2012-03-06 13:26:36 +00:00
Lana Steuck
1e46927bba Merge 2012-03-05 17:04:48 -08:00
Maurizio Cimadamore
2ba2192f6f 7148164: attribution code for diamond should not rely on mutable state
Update attribution code for diamond operator not to rely on mutable state

Reviewed-by: jjg
2012-03-02 12:58:35 +00:00
Maurizio Cimadamore
b10e766b73 7148242: Regression: valid code rejected during generic type well-formedness check
Redundant type-var substitution makes generic-type well-formedness check to fail

Reviewed-by: jjg
2012-03-02 12:57:47 +00:00