Jonathan Gibbons
f2fa2a199c
8003650: java.lang.Exception: expected string not found: pkg/package-frame.html
...
Reviewed-by: ksrini
2012-11-20 07:25:11 -08:00
Jonathan Gibbons
f0fe027b50
8003649: regression/langtools: tools/javac/doctree
...
Reviewed-by: ksrini
2012-11-20 07:21:07 -08:00
Bhavesh Patel
55e7dd8b71
8002304: Group methods by types in methods summary section
...
Reviewed-by: jjg
2012-11-19 16:10:34 -08:00
Jonathan Gibbons
5a30b6af0c
8001098: Provide a simple light-weight "plug-in" mechanism for javac
...
Reviewed-by: mcimadamore
2012-11-19 11:38:49 -08:00
Maurizio Cimadamore
a494f0ab86
8003280: Add lambda tests
...
Turn on lambda expression, method reference and default method support
Reviewed-by: jjg
2012-11-17 19:01:03 +00:00
Jonathan Gibbons
b3a3f7cdf3
6493690: javadoc should have a javax.tools.Tool service provider installed in tools.jar
...
Reviewed-by: darcy
2012-11-15 23:07:24 -08:00
Jonathan Gibbons
c78e1cbfac
7021614: extend com.sun.source API to support parsing javadoc comments
...
Reviewed-by: ksrini, strarup
2012-11-14 17:23:10 -08:00
Jonathan Gibbons
56d387a2ef
8003412: javac needs to understand java.lang.annotation.Native
...
Reviewed-by: mcimadamore
2012-11-14 10:07:38 -08:00
Robert Field
be815ba8fa
8003306: Compiler crash: calculation of inner class access modifier
...
Fix binary sense lost in transition to hasTag
Reviewed-by: mcimadamore
2012-11-13 08:06:00 -08:00
Jonathan Gibbons
18b3a4951e
8003134: CheckResourceKeys issues
...
Reviewed-by: jjh, bpatel
2012-11-07 17:20:12 -08:00
Sonali Goel
eb055bba92
8002157: Write combo compiler tests for repeating annotations for JDK8
...
Reviewed-by: darcy, jjg
2012-11-07 17:01:19 -08:00
Vicente Romero
59347fd9bb
8000484: Bad error recovery when 'catch' without 'try' is found
...
Reviewed-by: jjg, mcimadamore
2012-11-05 16:26:09 +00:00
Jonathan Gibbons
97e77ea025
8000612: Discrepancy between resources provided in javadoc resource files and resources required by code
...
Reviewed-by: bpatel
2012-11-06 14:32:49 -08:00
Maurizio Cimadamore
4d8168a8e5
8002286: Regression: Fix for 8000931 causes a JCK test failure
...
Wrong type used as 'site' in Resolve.resolveMethod
Reviewed-by: jjg
2012-11-06 14:45:27 +00:00
Kumar Srinivasan
d079a05f38
8001112: Make -target 8 in javac generate version 52.0 classfile
...
Reviewed-by: darcy, jjg
2012-10-31 10:21:14 -07:00
Maurizio Cimadamore
7c849a94da
8000931: Cleanup Resolve.java
...
Unify all method resolution routines
Reviewed-by: jjg
2012-11-04 11:01:49 +00:00
Maurizio Cimadamore
d4be9a13c8
7192246: Add type-checking support for default methods
...
Add type-checking support for default methods as per Featherweight-Defender document
Reviewed-by: jjg, dlsmith
2012-11-04 10:59:42 +00:00
Jonathan Gibbons
d50b720ecc
8002168: Cleanup initialization of javadoc Messager
...
Reviewed-by: darcy
2012-11-03 21:09:57 -07:00
Jonathan Gibbons
adff1a634a
Merge
2012-11-02 19:17:03 -07:00
Sonali Goel
3b9822eab7
7169362: JDK8: Write compiler tests for repeating annotations for JDK8
...
Reviewed-by: darcy, jjg
2012-11-02 14:35:57 -07:00
Vicente Romero
84e4fa5a93
6949443: visitTree assertion triggered using -Xjcov on small sample program
...
Reviewed-by: jjg, mcimadamore
2012-11-01 13:06:43 +00:00
Vicente Romero
a998d5815f
8000483: cryptic error message when source file contains hash
...
Cryptic error message when source file contains hash
Reviewed-by: jjg, mcimadamore
2012-11-01 12:47:11 +00:00
Fredrik Öhrström
07880728ed
7153951: Add new lint option -Xlint:auxiliaryclass
...
Reviewed-by: jjg, mcimadamore, forax
2012-11-01 10:48:36 +01:00
Jonathan Gibbons
7c509b7652
8001714: add missing tests for 7199925
...
Reviewed-by: darcy
2012-10-26 17:17:33 -07:00
Vicente Romero
044dcef0e6
6725230: Java Compilation with Jsr199 ignores Class-Path in manifest
...
Reviewed-by: jjg, mcimadamore
2012-10-25 13:33:27 -07:00
Vicente Romero
de25999481
7200915: convert TypeTags from a series of small ints to an enum
...
Reviewed-by: jjg, mcimadamore
2012-10-25 11:09:36 -07:00
Maurizio Cimadamore
848ec301f2
7192245: Add parser support for default methods
...
Add support for 'default' keyword in modifier position
Reviewed-by: jjg
2012-10-17 16:43:26 +01:00
Maurizio Cimadamore
319150fde0
7177386: Add attribution support for method references
...
Add type-checking/lookup routines for method references
Reviewed-by: jjg, dlsmith
2012-10-06 10:35:38 +01:00
Bhavesh Patel
83042670bb
4696488: javadoc doesn't handle UNC paths for destination directory
...
Reviewed-by: jjg
2012-10-05 14:21:09 -07:00
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
Jonathan Gibbons
0844683a0e
7186925: JavapTask passes null to java.io.Writer
...
Reviewed-by: jjh
2012-09-07 11:12:16 -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
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
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