Commit Graph

46 Commits

Author SHA1 Message Date
Lana Steuck
2eb3bc1633 Merge 2011-06-22 23:26:00 -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
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
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
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
c2e4376861 7026414: Types.asElement() returns null for ErrorType
Reviewed-by: darcy
2011-03-14 11:33:33 -07:00
Kumar Srinivasan
aa60df6782 7021927: javac: regression in performance
Reviewed-by: jjg
2011-03-07 17:39:42 -08:00
Jonathan Gibbons
f78030e4f1 6639645: Modeling type implementing missing interfaces
Reviewed-by: darcy, mcimadamore
2011-03-02 21:13:55 -08:00
Kumar Srinivasan
3b676c4925 7018859: javac turn off the Zip optimization by default
Reviewed-by: jjg
2011-02-18 08:12:06 -08:00
Jonathan Gibbons
9a6afb10e4 6419926: JSR 199: FileObject.toUri() generates URI without schema (Solaris)
Reviewed-by: mcimadamore
2011-01-14 11:45:19 -08:00
Jonathan Gibbons
e66871ae10 6430241: Hard to disable symbol file feature through API
Reviewed-by: mcimadamore
2011-01-13 11:48:10 -08:00
Kelly O'Hair
84b5875f26 6962318: Update copyright year
Reviewed-by: xdono
2010-12-28 15:54:52 -08:00
Jonathan Gibbons
cc42fec255 6985202: no access to doc comments from Tree API
Reviewed-by: mcimadamore
2010-12-09 08:48:08 -08:00
Maurizio Cimadamore
8f61f3fcff 6598108: com.sun.source.util.Trees.isAccessible incorrect
JavacTrees' version of isAccessible should take into account enclosing class accessibility

Reviewed-by: jjg
2010-11-12 12:32:43 +00:00
Jonathan Gibbons
1546b42862 6997958: test tools/javac/api/T6412669.java fails in PIT
Reviewed-by: darcy
2010-11-09 17:49:24 -08:00
Jonathan Gibbons
3f57abb0ba 6988407: javac crashes running processor on errant code; it used to print error message
Reviewed-by: darcy
2010-10-12 13:15:46 -07:00
Jonathan Gibbons
2730836d77 6877202: Elements.getDocComment() is not getting JavaDocComments
6861094: javac -Xprint <file> does not print comments
6985205: access to tree positions and doc comments may be lost across annotation processing rounds

Reviewed-by: darcy
2010-09-27 14:20:39 -07:00
Jonathan Gibbons
949983f6b0 6983239: TreeScanner does not scan default value for method
Reviewed-by: mcimadamore
2010-09-09 13:31:28 -07:00
Maurizio Cimadamore
c1ac5e8862 6981185: com.sun.tools.model.JavacTypes.contains() calls Type.contains instead of Types.containsType
Wrong implementation is causing trivial containment tests to fail unexpectedly (when such tests are executed using compiler API)

Reviewed-by: jjg
2010-09-07 17:32:52 +01:00
Jonathan Gibbons
c09fe5cafb 6930507: Symbols for anonymous and local classes made too late for use by java tree API
Reviewed-by: mcimadamore
2010-09-06 12:55:09 -07:00
Jonathan Gibbons
de9921986c 6604599: ToolProvider should be less compiler-specific
Reviewed-by: darcy
2010-08-26 15:17:17 -07:00
Jonathan Gibbons
0dd9ef9b43 6944312: Potential rebranding issues in openjdk/langtools repository sources
Reviewed-by: darcy
2010-06-10 16:08:01 -07:00
Joe Darcy
fa91c4b435 6933147: Provided new utility visitors supporting SourceVersion.RELEASE_7
Reviewed-by: jjg
2010-06-02 19:08:47 -07:00
Kelly O'Hair
bd4f4be9d7 6943119: Rebrand source copyright notices
Reviewed-by: darcy
2010-05-25 15:54:51 -07:00
Jonathan Gibbons
2ed0d63583 6933914: fix missing newlines
Reviewed-by: ohair
2010-03-10 16:23:18 -08:00
Jonathan Gibbons
3c60c0e8ef 6930108: IllegalArgumentException in AbstractDiagnosticFormatter for tools/javac/api/TestJavacTaskScanner.jav
Reviewed-by: darcy
2010-03-05 16:12:33 -08:00
Joe Darcy
779ba4bd83 6926699: Annotation processing regression tests should typically return SourceVersion.latest
Reviewed-by: jjg
2010-02-15 20:06:11 -08:00
Jonathan Gibbons
44767bbfbe 6838467: JSR199 FileObjects don't obey general contract of equals
Reviewed-by: darcy
2009-10-14 15:41:28 -07:00
Tim Bell
2fa89790cc Merge 2009-09-25 22:04:43 -07:00
Jonathan Gibbons
6e3d970196 6410637: Make decision on deprecated methods in DefaultFileManager and BaseFileObject
6747645: ZipFileObject.getName is incorrectly deprecated
6885123: JavaFileObject getName issues

Reviewed-by: mcimadamore
2009-09-23 18:48:13 -07:00
Xiomara Jayasena
dbe66b7524 6884624: Update copyright year
Update copyright for files that have been modified in 2009 through Septermber

Reviewed-by: tbell, ohair
2009-09-22 14:06:29 -07:00
Jonathan Gibbons
b2eaa8339f 6419701: DefaultFileManager clean up: URI.create
6483788: DefaultFileManager.ZipFileObject.toUri() fails to escape space characters
6501502: JSR 199: FileObject.toUri should return file:///c:/ or file:/c:/ not file://c:/
6877206: JavaFileObject.toUri returns bogus URI (win)
6877223: tests @ignored because of issues with File.toURI on Windows

Reviewed-by: mcimadamore, alanb
2009-09-08 11:12:13 -07:00
Jonathan Gibbons
ec2a9994f5 6877229: more javac tests fail on Windows
Reviewed-by: darcy
2009-08-31 12:36:26 -07:00
Michael Ernst
e03ee9130a 6855544: add missing files
Co-authored-by: Mahmood Ali <mali@csail.mit.edu>
Co-authored-by: Matt Papi <mpapi@csail.mit.edu>
Reviewed-by: jjg, mcimadamore, darcy
2009-06-26 19:12:41 -07:00
Maurizio Cimadamore
1fc0b5c367 6852595: Accessing scope using JSR199 API on erroneous tree causes Illegal Argument Exception
Fixed problem with empty DiagnosticSource objects causing IAE in the JCDiagnostic constructor

Reviewed-by: jjg
2009-06-24 10:50:54 +01:00
Jonathan Gibbons
6fb18b568c 6802102: unignore @ignored tests where possible
Reviewed-by: mcimadamore
2009-05-28 09:49:56 -07:00
Maurizio Cimadamore
68c9df4110 6731573: diagnostic output should optionally include source line
Added an -XD option to optionally prints out source lines in error messages

Reviewed-by: jjg
2008-10-09 16:19:13 +01:00
Maurizio Cimadamore
7a442ce178 6406133: JCDiagnostic.getMessage ignores locale argument
Compiler API should take into account locale settings

Reviewed-by: jjg
2008-10-09 16:07:38 +01:00
Xiomara Jayasena
4dcb55b4b5 6754988: Update copyright year
Update for files that have been modified starting July 2008

Reviewed-by: ohair, tbell
2008-10-02 19:58:40 -07:00
Jonathan Gibbons
8166ad7ece 6557752: Original type of an AST should be made available even if it is replaced with an ErrorType
Reviewed-by: mcimadamore
2008-09-09 10:28:21 -07:00
Maurizio Cimadamore
b9c79ae213 6733837: Recent work on javac diagnostic affected javac output
Problems with diagnostic path and tab character in the source code

Reviewed-by: darcy, jjg
2008-08-22 11:46:29 +01:00
Xiomara Jayasena
4d965a7153 6719955: Update copyright year
Update copyright year for files that have been modified in 2008

Reviewed-by: ohair, tbell
2008-07-02 12:56:02 -07:00
Jonathan Gibbons
c8fdd80cc2 6714364: refactor javac File handling code into new javac.file package
Reviewed-by: mcimadamore
2008-06-16 13:28:00 -07:00
Kumar Srinivasan
f62ccad5cd 6570242: Regression test failures with Javac on win32
Takes this test out of service until the reall bug is fixed

Reviewed-by: jjg
2008-04-03 18:01:55 -07:00
Maurizio Cimadamore
6350088352 6608214: Exception throw while analysing a file with error
Bad error-recovery after bad type-variable bound is detected

Reviewed-by: jjg
2008-03-04 15:19:06 +00:00
J. Duke
f57b87e8f6 Initial load 2007-12-01 00:00:00 +00:00