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
Jan Lahoda
324e987e82
7166010: (javac) JavacMessager incorrectly restores log source file
...
Reviewed-by: jjg
2012-05-04 07:55:51 -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
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
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
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
Jonathan Gibbons
f6faa640b7
7150784: bad copyright date in file
...
Reviewed-by: darcy
2012-03-14 13:53:41 -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
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
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
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
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
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
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
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
Joe Darcy
f30ca2fd58
7041249: Remove apt tool and API from the JDK
...
Reviewed-by: jjg, ohair
2012-02-05 21:59:45 -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
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
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
Jim Holmlund
3d0da40b0d
7127924: langtools regression tests sometimes fail en-masse on windows
...
Reviewed-by: jjg
2012-01-17 17:14:44 -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
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
Jonathan Gibbons
42b9d6bc2e
7124605: typos in javac comments
...
Reviewed-by: ksrini
2011-12-23 22:30:33 +00: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
e850a9fde0
7121682: remove obsolete import
...
Reviewed-by: jjh
2011-12-14 21:52:59 -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
ea7f040a8e
7120736: refactor javac option handling
...
Reviewed-by: mcimadamore
2011-12-13 11:21:28 -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
Matherey Nunez
2b9e2e9038
7086015: fix test/tools/javac/parser/netbeans/JavacParserTest.java
...
Reviewed-by: ksrini, jjg
2011-12-07 10:47:46 -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
Kumar Srinivasan
b7094ba03c
7106166: (javac) re-factor EndPos parser
...
Reviewed-by: jjg
2011-11-14 15:11:10 -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
Vicente Romero
399b71b9f0
6921494: provide way to print javac tree tag values
...
Reviewed-by: jjg, mcimadamore
2011-11-08 11:51:05 -08: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