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
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
Maurizio Cimadamore
f01bc46dfe
7132880: Resolve should support nested resolution contexts
...
Overload resolution routine should be updated so that it can be called recursively
Reviewed-by: jjg, dlsmith
2012-03-02 12:57:04 +00:00
David Katleman
2c85ca538e
Added tag jdk8-b28 for changeset 6a9e1767fc90
2012-03-01 12:23:33 -08:00
Lana Steuck
45a7449ceb
Merge
2012-02-28 18:04:50 -08:00
Sonali Goel
959e0b9dfb
7147183: test/tools/javac/apt.sh can be removed from tl/langtools repository
...
Reviewed-by: jjg
2012-02-28 10:48:04 -08:00
Jonathan Gibbons
9c503c5689
7093891: support multiple task listeners
...
Reviewed-by: darcy, mcimadamore
2012-02-28 10:33:49 -08:00
Jonathan Gibbons
5707f715aa
7144951: fix minor javadoc issues
...
Reviewed-by: darcy
2012-02-28 10:25:53 -08:00
Jonathan Gibbons
a46962c4c1
7137836: tidy up Names.java
...
Reviewed-by: mcimadamore
2012-02-24 10:40:32 -08:00
David Katleman
9d978102bc
Added tag jdk8-b27 for changeset bc664cc5f2a0
2012-02-23 12:03:30 -08:00
Joe Darcy
de52238d06
7148025: javac should not warn about InterrupttedException on the declaration of AutoCloseable itself
...
Reviewed-by: mcimadamore
2012-02-23 09:53:09 -08:00
Lana Steuck
e76be10b70
Merge
2012-02-18 16:12:28 -08:00
Sonali Goel
ed13841255
7143910: test/tools/apt/Basics/apt.sh fails with 'real' sh
...
Reviewed-by: darcy
2012-02-17 15:24:40 -08:00
David Katleman
30b3953b45
Added tag jdk8-b26 for changeset 90bc745052c7
2012-02-16 13:01:46 -08:00
Jan Lahoda
3887a6d012
7142086: performance problem in Check.checkOverrideClashes(...)
...
Code in Check.checkOverrideClashes() causes too many calls to MethodSymbol.overrides
Reviewed-by: jjg
2012-02-14 15:43:52 -08:00
Jim Holmlund
df7b871807
7142672: Problems with the value passed to the 'classes' param of JavaCompiler.CompilationTask.getTask(...)
...
Reviewed-by: jjg
2012-02-13 16:01:43 -08:00
Jan Valenta
0073cdd512
7144979: incorrect path separator in make/build.xml for Windows when running jtreg tests
...
Reviewed-by: jjg
2012-02-12 16:44:13 -08:00
Lana Steuck
fffeb599f8
Merge
2012-02-09 22:56:13 -08:00
David Katleman
4ccb224ca8
Added tag jdk8-b25 for changeset 5f9506e97a45
2012-02-09 12:56:35 -08:00
Lana Steuck
62610f975f
Merge
2012-02-07 10:39:26 -08:00
Joe Darcy
f30ca2fd58
7041249: Remove apt tool and API from the JDK
...
Reviewed-by: jjg, ohair
2012-02-05 21:59:45 -08:00
David Katleman
fc851bfb71
Added tag jdk8-b24 for changeset e320a58c5e9a
2012-02-02 09:39:44 -08:00
Lana Steuck
da83df8bb7
Merge
2012-01-28 20:42:11 -08:00
David Katleman
3d631d7389
Added tag jdk8-b23 for changeset 6662fc41e1c3
2012-01-26 18:23:36 -08:00
Jim Holmlund
e1fa8cca42
7133314: The regression test for 7129225 fails when run with jtreg -samevm or jtreg -agentvm
...
Reviewed-by: jjg
2012-01-25 12:20:05 -08:00
Jim Holmlund
8f129be7fb
7129225: javac fails to run annotation processors when star import of package of gensrc
...
Reviewed-by: jjg
2012-01-24 16:31:15 -08:00
Jim Holmlund
139ce2d98a
7126832: com.sun.tools.javac.api.ClientCodeWrapper$WrappedJavaFileManager cannot be cast
...
Reviewed-by: jjg
2012-01-24 15:51:44 -08:00
Lana Steuck
9ffd90edcf
Merge
2012-01-24 13:44:01 -08:00
Maurizio Cimadamore
d353146b32
7129801: Merge the two method applicability routines
...
Resolve.java and Infer.java should reuse the same method applicability check routine
Reviewed-by: dlsmith, jjg
2012-01-24 17:52:02 +00:00
David Katleman
8d4b04a365
Added tag jdk8-b22 for changeset e6809c7d1735
2012-01-20 13:08:51 -08:00
Jim Holmlund
323665eec5
7131308: Three regression tests fail due to bad fix for 7127924
...
Reviewed-by: jjg
2012-01-18 18:26:36 -08:00
Joe Darcy
c569749a21
7130768: Clarify behavior of Element.getEnclosingElements in subtypes
...
Reviewed-by: mcimadamore, jjg
2012-01-18 16:43:59 -08:00
Lana Steuck
92c14834f4
Merge
2012-01-18 11:00:55 -08:00
Jim Holmlund
3d0da40b0d
7127924: langtools regression tests sometimes fail en-masse on windows
...
Reviewed-by: jjg
2012-01-17 17:14:44 -08:00
David Katleman
8765748af2
Added tag jdk8-b21 for changeset 9d026cb0fb2f
2012-01-13 10:05:53 -08:00
Maurizio Cimadamore
1b000de186
7123100: javac fails with java.lang.StackOverflowError
...
Inference of under-constrained type-variables creates erroneous recursive wildcard types
Reviewed-by: jjg
2012-01-12 15:28:34 +00:00
Maurizio Cimadamore
2c453c5844
7126754: Generics compilation failure casting List<? extends Set...> to List<Set...>
...
Problems with Types.rewriteQuantifiers not preserving variance
Reviewed-by: jjg
2012-01-11 18:23:24 +00:00
Lana Steuck
09e2e03986
Merge
2012-01-09 19:13:08 -08:00
David Katleman
abee2d7726
Added tag jdk8-b20 for changeset 075cd2a7d88e
2012-01-05 08:42:49 -08:00
Lana Steuck
2836fc5d02
Merge
2012-01-04 10:58:12 -08:00
Jim Holmlund
799afd934d
7046929: tools/javac/api/T6397104.java fails
...
Reviewed-by: jjg
2012-01-03 17:18:10 -08:00
Jonathan Gibbons
a3f0f7b59c
4881269: improve diagnostic for ill-formed tokens
...
Reviewed-by: mcimadamore
2012-01-03 11:37:00 -08:00
David Katleman
d09c9a8fd3
Added tag jdk8-b19 for changeset 8e546b2b9dd0
2011-12-29 15:14:53 -08:00
Lana Steuck
99e6dce2a2
Merge
2011-12-28 10:52:11 -08:00
Lana Steuck
9e264f222c
Merge
2011-12-23 16:39:22 -08:00
Jonathan Gibbons
42b9d6bc2e
7124605: typos in javac comments
...
Reviewed-by: ksrini
2011-12-23 22:30:33 +00:00
Christine Lu
d69e5e7e94
Added tag jdk8-b18 for changeset ff9cf1de21fa
2011-12-22 19:00:58 -08:00
Maurizio Cimadamore
61ee75c9d4
7120463
: Fix method reference parser support in order to avoid ambiguities
...
Add lookahead routine to disambiguate between method reference in method context and binary expression
Reviewed-by: jjg, dlsmith
2011-12-19 12:07:07 +00:00
Jim Holmlund
441d03061d
7122342: testPrintProcessorInfo/TestWithXstdout.java failed for JDK8 nightly build at 12/16/2011
...
Do not pass empty args to javac
Reviewed-by: jjg
2011-12-16 16:41:00 -08:00
Jonathan Gibbons
e559289081
7121961: javadoc is missing a resource property
...
Reviewed-by: bpatel
2011-12-16 13:49:44 -08:00
Lana Steuck
1289447ac4
Merge
2011-12-15 19:53:04 -08:00
David Katleman
28ab3c9991
Merge
2011-12-15 15:57:51 -08:00
David Katleman
59128f6107
Added tag jdk8-b16 for changeset 3b5651ae449e
2011-12-15 15:47:47 -08:00
David Katleman
a98e5a19c0
Added tag jdk8-b17 for changeset 27c6c6c32d01
2011-12-15 12:16:55 -08:00
Jonathan Gibbons
e850a9fde0
7121682: remove obsolete import
...
Reviewed-by: jjh
2011-12-14 21:52:59 -08:00
Jonathan Gibbons
b771185497
7121681: compiler message file broken for javac -fullversion
...
Reviewed-by: jjh
2011-12-14 17:52:41 -08:00
Jonathan Gibbons
9a127e2710
7111022: javac no long prints last round of processing
...
7121323: Sqe tests using -Xstdout option fail with an invalid flag error message
Reviewed-by: darcy
2011-12-14 16:16:04 -08:00
Jonathan Gibbons
0707071217
7121164: renamed files not committed
...
Reviewed-by: ksrini
2011-12-13 14:33:39 -08:00
Jonathan Gibbons
ea7f040a8e
7120736: refactor javac option handling
...
Reviewed-by: mcimadamore
2011-12-13 11:21:28 -08:00
Lana Steuck
ccc8319e5f
Merge
2011-12-12 10:08:26 -08:00
Kelly O'Hair
daca795ff4
7119829: Adjust default jprt testing configuration
...
Reviewed-by: alanb
2011-12-12 08:15:32 -08:00
Maurizio Cimadamore
bf0106a903
7120266: javac fails to compile hotspot code
...
Parser changes for method references cause bad intercation with method call syntax
Reviewed-by: jjg
2011-12-11 17:48:25 +00:00
Kumar Srinivasan
d7cfaf1336
7119487: JavacParserTest.java test fails on Windows platforms
...
Reviewed-by: jjg
2011-12-10 17:44:46 -08:00
Jan Lahoda
7beeeca1de
7119032: (javac) increase visibility of JavacParser methods to improve subtyping
...
Reviewed-by: jjg
2011-12-09 08:40:40 -08:00
Matherey Nunez
2b9e2e9038
7086015: fix test/tools/javac/parser/netbeans/JavacParserTest.java
...
Reviewed-by: ksrini, jjg
2011-12-07 10:47:46 -08:00
Lana Steuck
0b862d6dc1
Merge
2011-12-06 20:26:09 -08:00
David Katleman
d115f54e18
Added tag jdk8-b15 for changeset 14b0b1e3dd43
2011-12-01 10:33:34 -08:00
Maurizio Cimadamore
b0a9998899
7115052: Add parser support for method references
...
Add support for parsing method references to JavacParser
Reviewed-by: jjg
2011-11-28 16:05:46 +00:00
Maurizio Cimadamore
4ac518143c
7115050: Add parser support for lambda expressions
...
Add support for parsing lambda expressions to JavacParser
Reviewed-by: jjg
2011-11-28 15:56:42 +00:00
Maurizio Cimadamore
86e6e6be73
7115049: Add AST node for method references
...
Add tree nodes for representing method/constructor references and update relevant visitors interfaces
Reviewed-by: jjg
2011-11-24 13:38:40 +00:00
Maurizio Cimadamore
41a3a6c5d3
7115046: Add AST node for lambda expressions
...
Add tree nodes for representing lambda expressions and update relevant visitors interfaces
Reviewed-by: jjg
2011-11-24 13:36:20 +00:00
Jim Holmlund
5349d9af9a
7110611: compiler message file broken for javac -fullversion
...
Reviewed-by: jjg
2011-11-19 15:54:04 -08:00
Lana Steuck
a8308c6690
Merge
2011-11-18 11:12:21 -08:00
David Katleman
9fbb77c394
Added tag jdk8-b14 for changeset aab57958af8d
2011-11-17 10:46:10 -08:00
Lana Steuck
674fadf1b3
Merge
2011-11-14 18:16:13 -08:00
Kumar Srinivasan
b7094ba03c
7106166: (javac) re-factor EndPos parser
...
Reviewed-by: jjg
2011-11-14 15:11:10 -08:00
Kumar Srinivasan
ca1deee4d3
7110974: (javac) add coding conventions and style checkers for langtools
...
Reviewed-by: jjg
2011-11-14 08:09:47 -08:00
David Katleman
1269b98a27
Added tag jdk8-b13 for changeset 7e7229cae97b
2011-11-10 11:47:25 -08:00
Jonathan Gibbons
ebe950642c
7108669: cleanup Log methods for direct printing to streams
...
Reviewed-by: mcimadamore
2011-11-08 17:06:58 -08:00
Jonathan Gibbons
738aef1b75
7108668: allow Log to be initialized and used earlier
...
Reviewed-by: mcimadamore
2011-11-08 17:06:08 -08:00
Vicente Romero
399b71b9f0
6921494: provide way to print javac tree tag values
...
Reviewed-by: jjg, mcimadamore
2011-11-08 11:51:05 -08:00
Lana Steuck
e31aa294c3
Merge
2011-11-05 00:02:33 -07:00
Maurizio Cimadamore
be5a83c8ce
7104201: Refactor DocCommentScanner
...
Add new Comment helper class to parse contents of comments in source code
Reviewed-by: jjg
2011-11-04 12:36:40 +00:00
David Katleman
524b8ef2fe
Added tag jdk8-b12 for changeset 5ec6698ec5a9
2011-11-03 10:32:39 -07:00
Jim Holmlund
dae561e3ea
7101933: langtools jtreg tests do not work with jprt on windows
...
Fixed langtools/test/Makefile to work on cygwin. Updated jtreg to 4.1 and JCK to JCK8.
Reviewed-by: jjg, ohair
2011-11-01 15:49:45 -07:00
Lana Steuck
6f4a99a81f
Merge
2011-10-28 17:49:36 -07:00
David Katleman
31ff82c1c8
Added tag jdk8-b11 for changeset b44e4293ec86
2011-10-27 13:54:50 -07:00
Lana Steuck
dedae49531
Merge
2011-10-26 12:28:51 -07:00
Lana Steuck
2c50355271
Merge
2011-10-25 21:55:25 -07:00
Jim Holmlund
b171ddacd0
7104905: Java SE build fails on call to CreateSymbols
...
Reviewed-by: jjg
2011-10-25 19:18:32 -07:00
Lana Steuck
a4d1ec9d5f
Merge
2011-10-25 10:52:03 -07:00
Jonathan Gibbons
d20f9f51bc
7104039: refactor/cleanup javac Paths class
...
Reviewed-by: mcimadamore
2011-10-25 10:48:05 -07:00
Maurizio Cimadamore
1469ebc6da
7104618: MessageInfo.java is failing after lexer changes
...
Two langtools regression tests cannot be built due to a bad import statement
Reviewed-by: jjg
2011-10-25 15:40:34 +01:00
Maurizio Cimadamore
7873cba6b2
7098660: Write better overload resolution/inference tests
...
Add overload/inference debug diagnostics - added test harness using annotations to check outcome of overload resolution/inference
Reviewed-by: jjg
2011-10-24 13:00:30 +01:00
Maurizio Cimadamore
063b622daf
7096014: Javac tokens should retain state
...
Refactor javac tokens from enum constants to stateful instances (to keep track of position, comments, etc.)
Reviewed-by: jjg
2011-10-24 13:00:20 +01:00
Jim Holmlund
5955806228
7098530: tools/javac/javazip/Test.sh can fail on Windows
...
Fix cygpath command to properly convert path
Reviewed-by: jjg
2011-10-21 14:14:29 -07:00
David Katleman
7cab00227f
Added tag jdk8-b10 for changeset 371ba3560eaf
2011-10-20 10:32:56 -07:00
Jonathan Gibbons
6c299173e1
7101146: Paths should more directly managed by BaseFileManager
...
Reviewed-by: mcimadamore
2011-10-19 15:29:46 -07:00
Maurizio Cimadamore
747169f70e
7102515: javac running very very long and not returning
...
Verbose resolution diagnostics slow down with operator resolution
Reviewed-by: jjg
2011-10-19 16:56:05 +01:00
Lana Steuck
501fe865e8
Merge
2011-10-17 19:07:26 -07:00
Maurizio Cimadamore
d3efececf3
7093325: Redundant entry in bytecode exception table
...
Inlining of finalizers does not update gaps list accordingly
Reviewed-by: jjg
2011-10-17 12:57:36 +01:00
Maurizio Cimadamore
1a335eb047
7097436: Project Coin: duplicate varargs warnings on method annotated with @SafeVarargs
...
Duplicate aliasing check during subtyping leads to spurious varargs diagnostic
Reviewed-by: jjg
2011-10-17 12:54:33 +01:00
David Katleman
5839368eee
Added tag jdk8-b09 for changeset 0169651a48bf
2011-10-13 10:35:50 -07:00
Lana Steuck
5cbdf8db6c
Merge
2011-10-12 12:26:38 -07:00
David Katleman
0b92e7c70b
Added tag jdk8-b08 for changeset c9fb751a1f21
2011-10-06 14:01:45 -07:00
Maurizio Cimadamore
b6f671b41e
7090499: missing rawtypes warnings in anonymous inner class
...
Javac does not detect raw types inside anonymous inner classes
Reviewed-by: jjg
2011-10-06 18:39:31 +01:00
Lana Steuck
2346a1c754
Merge
2011-10-03 18:26:59 -07:00
David Katleman
4749de17ea
Added tag jdk8-b07 for changeset 64ad92439924
2011-09-29 18:54:01 -07:00
Lana Steuck
3ae6cc4f7e
Merge
2011-09-26 14:33:34 -07:00
Lana Steuck
d941d29b0c
Merge
2011-09-23 23:30:31 -07:00
David Katleman
93cf5130d6
Added tag jdk8-b06 for changeset c579ee9c7624
2011-09-22 16:02:16 -07:00
Jonathan Gibbons
4a8efe66a5
7075721: javac should have public enum for exit codes
...
Reviewed-by: mcimadamore
2011-09-22 09:24:01 -07:00
Jonathan Gibbons
ff7362918f
7092965: javac should not close processorClassLoader before end of compilation
...
Reviewed-by: darcy
2011-09-21 21:56:53 -07:00
Jonathan Gibbons
1577e0f073
7030473: Remove dead field JCCompilationUnit.flags
...
Reviewed-by: dlsmith
2011-09-20 12:08:48 -07:00
Lana Steuck
cdc3810c17
Merge
2011-09-19 19:41:46 -07:00
Jonathan Gibbons
51763c43f7
7091528: javadoc attempts to parse .class files
...
Reviewed-by: darcy
2011-09-16 16:18:46 -07:00
Maurizio Cimadamore
bd420dc94e
7086586: Inference producing null type argument
...
Inference should fail in 15.12.2.7 when inference variables with 'nulltype' upper bounds are found
Reviewed-by: dlsmith
2011-09-16 14:16:11 +01:00
Suchen Chien
f843db55a4
Added tag jdk8-b05 for changeset deef5f066e00
2011-09-15 18:53:41 -07:00
Jonathan Gibbons
4589920917
7068437: Regression: Filer.getResource(SOURCE_OUTPUT, ...) no longer works in JDK 7 w/o -s
...
Reviewed-by: darcy
2011-09-14 18:26:57 -07:00
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
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
Bhavesh Patel
0069129f00
7010344: Some of the html files do not have element <a> in right context
...
Reviewed-by: jjg
2011-04-04 10:14:23 -07:00
Alan Bateman
39b8c8c057
7029979: (fs) Path.toRealPath(boolean) should be toRealPath(LinkOption...)
...
Reviewed-by: mcimadamore, jjg
2011-04-04 18:10:38 +01:00
Kumar Srinivasan
e3d10322c1
7028405: (javac) remove unused JSR-292 code
...
Reviewed-by: jrose, mcimadamore
2011-04-03 17:00:50 -07:00
Lana Steuck
48a43dd8e8
Merge
2011-04-01 10:17:56 -07:00
Maurizio Cimadamore
be712a0152
7032633: javac -Xlint:all warns about flush() within try on an auto-closeable resource
...
Missing name check before calling MethodSymbol.overrides causes wrong warnings to be issued
Reviewed-by: jjg
2011-04-01 12:30:13 +01:00
Lana Steuck
a37420e027
Merge
2011-03-31 22:08:44 -07:00
Suchen Chien
4ddb181ec8
Added tag jdk7-b136 for changeset 6aa795396cc8
2011-03-31 18:14:29 -07:00
Jonathan Gibbons
cd57e9960f
7031005: javap prints "extends java.lang.Object"
...
Reviewed-by: mcimadamore
2011-03-30 18:32:16 -07:00
Jonathan Gibbons
ce0e6ca247
7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
...
Reviewed-by: darcy, mcimadamore
2011-03-30 18:18:11 -07:00
Maurizio Cimadamore
acf788aa1f
7027157: Project Coin: javac warnings for AutoCloseable.close throwing InterruptedException
...
Javac should warn about use/declaration of AutoCloseable subclasses that can throw InterruptedException
Reviewed-by: jjg
2011-03-29 16:41:18 +01:00
Maurizio Cimadamore
bd9526ecbe
7030150: Type inference for generic instance creation failed for formal type parameter
...
Problem when explicit generic constructor type-arguments are used in conjunction with diamond
Reviewed-by: jjg
2011-03-29 16:40:51 +01:00
Maurizio Cimadamore
bc3a1c60ef
7030606: Project-coin: multi-catch types should be pairwise disjoint
...
Bring javac in sync with latest Project Coin EDR
Reviewed-by: jjg
2011-03-29 16:40:31 +01:00
Maurizio Cimadamore
0a0b5a7a8a
7030687: Diamond: compiler accepts erroneous code where diamond is used with non-generic inner class
...
Diamond accepts non-parameterized member inner classes with parameterized outer because of a bad check
Reviewed-by: jjg
2011-03-29 16:40:07 +01:00
Lana Steuck
5c1fa6f2a4
Merge
2011-03-26 00:11:34 -07:00
Bhavesh Patel
d5fd66ab02
7001086: NLS: un-used resources should be removed from standard.properties and improper concatenation
...
Reviewed-by: jjg
2011-03-25 15:17:52 -07:00
Jonathan Gibbons
f36dc58a6f
6437138: JSR 199: Compiler doesn't diagnose crash in user code
...
6482554: uncaught exception from annotation processor not reported through JavaCompiler.CompilationTask.call
Reviewed-by: mcimadamore
2011-03-25 07:58:53 -07:00
Jonathan Gibbons
b540a63a84
7009599: javac build puts extraneous files into dist/lib/classes.jar
...
Reviewed-by: ohair
2011-03-25 07:39:30 -07:00
Jonathan Gibbons
7be50d11b1
6597678: JavaCompiler.getStandardFileManager always uses default charset not the one that user specifies
...
Reviewed-by: mcimadamore
2011-03-24 16:14:30 -07:00
Suchen Chien
7bd93b33db
Added tag jdk7-b135 for changeset bf9507aab301
2011-03-24 11:20:59 -07:00
Bhavesh Patel
987d5902c1
7010342: End tag for element P is not open for few html files generated using new javadoc
...
Reviewed-by: jjg
2011-03-23 14:40:18 -07:00
Bhavesh Patel
881add500f
7025314: NLS: translatability violation on standard.properties
...
Reviewed-by: jjg
2011-03-22 18:32:41 -07:00
Lana Steuck
04eb684afe
Merge
2011-03-18 11:00:10 -07:00
Suchen Chien
6f2c41beec
Added tag jdk7-b134 for changeset fbf4a969ccba
2011-03-17 14:33:12 -07:00
Jonathan Gibbons
cc992b27bf
6930508: Passing nested class names on javac command line interfere with subsequent name -> class lookup
...
Reviewed-by: darcy
2011-03-16 17:21:52 -07:00
Kumar Srinivasan
733707ac37
7026359: (langtools) fix big jar test
...
Reviewed-by: jjg
2011-03-16 09:41:30 -07:00
Maurizio Cimadamore
eb4e1b86cd
6558548: The compiler needs to be aligned with clarified specification of throws
...
Javac should issue unconditional warnings when 'dead' catch clauses are detected
Reviewed-by: jjg
2011-03-16 11:12:26 +00:00
Kelly O'Hair
5c67341d93
Merge
2011-03-15 15:32:21 -07:00
Bhavesh Patel
73407fb7a1
4743537: Help doesn't say what "All Classes" and other links really mean
...
Reviewed-by: jjg
2011-03-15 14:19:00 -07:00
Jonathan Gibbons
a4b1b99eb0
6988079: Errors reported via Messager.printMessage(ERROR,"error message") are not tallied correctly
...
Reviewed-by: darcy
2011-03-15 11:48:55 -07:00
Jonathan Gibbons
d52a948474
6987384: -XprintProcessorRoundsInfo message printed with different timing than previous
...
Reviewed-by: darcy
2011-03-15 11:41:21 -07:00
Jonathan Gibbons
13d31713dc
6993311: annotations on packages are not validated
...
Reviewed-by: mcimadamore
2011-03-15 11:04:56 -07:00
Jonathan Gibbons
8f64aeabe2
7026509: Cannot use JavaCompiler to create multiple CompilationTasks for partial compilations
...
Reviewed-by: mcimadamore
2011-03-14 11:48:41 -07:00
Jonathan Gibbons
593927cf2d
7010608: the string 'error' should appear in error messages
...
Reviewed-by: mcimadamore
2011-03-14 11:42:15 -07:00
Jonathan Gibbons
c2e4376861
7026414: Types.asElement() returns null for ErrorType
...
Reviewed-by: darcy
2011-03-14 11:33:33 -07:00
Michael Fang
4d98914744
Merge
2011-03-13 14:41:25 -07:00
Bhavesh Patel
91cd6261bc
7006178: findbugs high priority issues in new javadoc
...
Reviewed-by: jjg
2011-03-11 15:39:51 -08:00
Joe Darcy
c6006bc605
7026868: Apply specification changes fro 6505047
...
Reviewed-by: jjg
2011-03-11 14:07:11 -08:00
Lana Steuck
59ccd77845
Merge
2011-03-10 20:51:07 -08:00
Christine Lu
a609621069
Added tag jdk7-b133 for changeset 527e04a21c75
2011-03-10 17:11:19 -08:00
Bhavesh Patel
4f26bca4de
6776656: Incorrect number in 'generated' help-doc.html
...
Reviewed-by: jjg
2011-03-10 14:37:52 -08:00
Maurizio Cimadamore
bb05a1437c
7025988: Test test/tools/javac/file/zip/T6836682.java takes too long to complete
...
Added @ignore tag to temporarily disable the test
Reviewed-by: jjg
2011-03-09 16:47:39 +00:00
Michael Fang
1215af2a23
7025324: NLS: t13y fix for 7022005 [ja,zh_CN] javadoc, part of navigation bar in generated html are not translated
...
Reviewed-by: yhuang, ogino, jennyh
2011-03-08 23:43:09 -08:00
Kumar Srinivasan
aa60df6782
7021927: javac: regression in performance
...
Reviewed-by: jjg
2011-03-07 17:39:42 -08:00
Jonathan Gibbons
f71b78ced3
6980021: javac should document @file command line option
...
Reviewed-by: mcimadamore
2011-03-07 13:45:06 -08:00
Lana Steuck
b8d95b25f0
Merge
2011-03-07 11:37:54 -08:00
Maurizio Cimadamore
409b9b8d25
7020044: Project Coin: diamond erroneous allowed on some anonymous inner classes
...
Disallow diamond on anonymous innner class creation expression (as per JSR 334's EDR)
Reviewed-by: jjg
2011-03-07 14:31:50 +00:00
Jan Lahoda
ddaf77107d
7024568: Very long method resolution causing OOM error
...
Resolve.findMethod scans same receiver type more than once in certain inheritance graphs
Reviewed-by: jjg
2011-03-07 14:11:48 +00:00
Jonathan Gibbons
9365637c4a
6964914: javadoc does not output number of warnings using user written doclet
...
Reviewed-by: bpatel
2011-03-04 19:59:04 -08:00
Jonathan Gibbons
75c64565c4
6227454: package.html and overview.html may not be read fully
...
Reviewed-by: bpatel
2011-03-04 19:56:02 -08:00
Jonathan Gibbons
42bc55bf32
6866185: Util.getPackageSourcePath should use lastIndexOf not indexOf and related cleanup
...
Reviewed-by: bpatel
2011-03-04 19:53:03 -08:00
Jonathan Gibbons
cc52e2d413
6966736: javac verbose output is inconsistent
...
Reviewed-by: mcimadamore
2011-03-04 11:33:37 -08:00
David Katleman
e4307eeefe
Added tag jdk7-b132 for changeset 83cbfe0a919f
2011-03-03 14:13:21 -08:00
Maurizio Cimadamore
7b3d32182e
7024212: TestWarnErrorCount fails
...
TestWarnErrorCount should be executed with -Xlint:all,-path to avoid spurious failures
Reviewed-by: jjg
2011-03-03 18:05:52 +00:00
Maurizio Cimadamore
f416cac815
7022054: Invalid compiler error on covariant overriding methods with the same erasure
...
Rules for method clash use notion of subsignature, which is sometimes too strict and incompatible with JDK 6
Reviewed-by: jjg
2011-03-03 17:34:58 +00:00
Maurizio Cimadamore
291f04e8c0
7023703: Valid code doesn't compile
...
Leftovers cause problems when analyzing loops in Flow.java
Reviewed-by: jjg
2011-03-03 17:32:35 +00:00
Maurizio Cimadamore
df9296f567
7023233: False positive for -Xlint:try with nested try with resources blocks
...
Wrong lint warning issued about unused resource when nested try-with-resource blocks are found
Reviewed-by: jjg
2011-03-03 09:43:24 +00:00