Maurizio Cimadamore
72f39bf20c
7177385: Add attribution support for lambda expressions
...
Add support for function descriptor lookup, functional interface inference and lambda expression type-checking
Reviewed-by: jjg, dlsmith
2012-10-05 14:35:24 +01:00
Maurizio Cimadamore
c0e2ed86c1
7177387: Add target-typing support in method context
...
Add support for deferred types and speculative attribution
Reviewed-by: jjg, dlsmith
2012-10-04 13:04:53 +01:00
Maurizio Cimadamore
8fbd614bf3
8000241: langtools doesn't build
...
Bad merge with langtools tip caused build glitch
Reviewed-by: jjg
2012-09-28 18:50:40 +01:00
Maurizio Cimadamore
5f629e503c
7188968: New instance creation expression using diamond is checked twice
...
Unify method and constructor check logic
Reviewed-by: jjg
2012-09-26 14:22:41 +01:00
Maurizio Cimadamore
f49f25c60d
7177306: Regression: unchecked method call does not erase return type
...
Spurious extra call to Attr.checkMethod when method call is unchecked
Reviewed-by: jjg, dlsmith
2012-09-25 11:56:46 +01:00
Maurizio Cimadamore
d4c5fca16a
7175433: Inference cleanup: add helper class to handle inference variables
...
Add class to handle inference variables instantiation and associated info
Reviewed-by: jjg, dlsmith
2012-09-25 11:55:34 +01:00
Maurizio Cimadamore
07155682a1
7194586: Add back-end support for invokedynamic
...
Add support for invokedynamic bytecode instruction; includes suppot for generation of all related classfile attributes
Reviewed-by: jjg
2012-09-25 11:53:18 +01:00
Jonathan Gibbons
55ec94e302
7196462: JavacProcessingEnvironment should tolerate BasicJavacTask
...
Reviewed-by: mcimadamore
2012-09-24 14:04:34 -07:00
Jonathan Gibbons
b4b43de210
7196760: tree end positions incorrect after anno processing
...
Reviewed-by: mcimadamore
2012-09-07 11:35:53 -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
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
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
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
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
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
Jonathan Gibbons
f2cefcbfad
7174143: encapsulate doc comment table
...
Reviewed-by: ksrini, mcimadamore
2012-06-20 13:23:26 -07:00
Kumar Srinivasan
4525667c73
7160072: (javac) JavacParserTests needs cleanup
...
Reviewed-by: jjg
2012-06-11 15:33:28 -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
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
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
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
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
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