Commit Graph

136 Commits

Author SHA1 Message Date
Maurizio Cimadamore
1dc1dcab49 6759143: com.sun.tools.javac.util.Messages is obsolete and should be removed
Push for 6406133 should have removed com.sun.tools.javac.util.Messages

Reviewed-by: jjg
2008-10-14 17:05:48 +01:00
Maurizio Cimadamore
c09e705e04 6586091: javac crashes with StackOverflowError
Types.adapt should avoid infinite loops by exploiting a local cache

Reviewed-by: jjg
2008-10-09 16:21:04 +01: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
Maurizio Cimadamore
ab5f1cb24b 6724345: incorrect method resolution for enum classes entered as source files
Enum's abstract methods shouldn't be skipped during method resolution

Reviewed-by: jjg
2008-10-09 16:04:29 +01:00
Maurizio Cimadamore
67339c0aab 6738538: javac crashes when using a type parameter as a covariant method return type
Capture conversion should be applied when acccessing a member of an intersection type

Reviewed-by: jjg
2008-10-09 16:02:29 +01:00
Maurizio Cimadamore
9315b88d67 6751514: Unary post-increment with type variables crash javac during lowering
Lower.abstractRval should take into account parenthesized expressions

Reviewed-by: jjg
2008-10-09 15:56:20 +01:00
Jonathan Gibbons
98ab03e7e5 6749967: regression tests for apt should be same-vm friendly
Reviewed-by: darcy
2008-10-07 15:39:19 -07:00
Jonathan Gibbons
1a0a9d1a6f 6748546: javadoc API should be classloader-friendly
Reviewed-by: bpatel
2008-10-06 16:57:15 -07:00
Tim Bell
ebc51f0813 Merge 2008-10-04 22:59:05 -07:00
Tim Bell
7fe650bc36 Merge 2008-10-04 22:49:54 -07: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
02332d6aa7 6748601: javadoc API should allow varargs use
Reviewed-by: bpatel
2008-10-01 16:26:33 -07:00
Tim Bell
b670ed41d6 Merge 2008-09-29 22:11:26 -07:00
Peng Li
e7058ee0c3 6739427: -Xlint:processing not recognized as an option
Reviewed-by: darcy, jjg
2008-09-29 11:38:56 -07:00
Maurizio Cimadamore
82a7a9f030 6753718: raw type warnings should be suprresed during a langtools build
Fixed build.properties in order to suppress raw type warnings

Reviewed-by: jjg
2008-09-29 15:30:27 +01:00
Maurizio Cimadamore
5fc92453b6 6747671: -Xlint:rawtypes
Add an Xlint option for detecting all raw types usages (ccc-approved)

Reviewed-by: jjg
2008-09-29 12:00:29 +01:00
Maurizio Cimadamore
a8d5a91270 6735840: Need a type/symbol visitor printer
Added type/symbol visitor printer with support for localization

Reviewed-by: jjg
2008-09-29 11:48:09 +01:00
Maurizio Cimadamore
ec0853a113 6500343: compiler generates bad code when translating conditional expressions
TransTypes needs to deal with intersection types coming from conditional expressions

Reviewed-by: jjg
2008-09-29 11:34:43 +01:00
Tim Bell
5e2a37a5a0 Merge 2008-09-26 15:32:47 -07:00
Xiomara Jayasena
f3455aa584 Added tag jdk7-b36 for changeset 7798f9e88bf9 2008-09-25 12:54:13 -07:00
Jonathan Gibbons
fc58b54ba3 6420151: need to improve byfile compile policy to eliminate footprint issues
Reviewed-by: mcimadamore
2008-09-23 10:44:51 -07:00
Jonathan Gibbons
4cea49cf1c 6744408: Extra ouput is appearing in stderr
Reviewed-by: bpatel
2008-09-18 18:39:44 -07:00
Jonathan Gibbons
2fecfdfb50 6728697: tools/javac/versionOpt.sh fails on OpenJDK builds
Reviewed-by: darcy
2008-09-18 13:47:43 -07:00
Jonathan Gibbons
3ca95fc7a6 6574134: Allow for alternative implementation of Name Table with garbage collection of name bytes
Reviewed-by: darcy, mcimadamore
2008-09-16 18:35:18 -07:00
Tim Bell
4350001c77 Merge 2008-09-12 23:32:51 -07:00
Tim Bell
513053fd42 Merge 2008-09-12 14:35:51 -07:00
Xiomara Jayasena
092df72269 Added tag jdk7-b35 for changeset 59749505f3e8 2008-09-11 11:26:00 -07:00
Jonathan Gibbons
b0419018b0 6724118: change JavaCompiler to not use Scanner directly
6736119: refactor Parser and Parser.Factory

Reviewed-by: mcimadamore
2008-09-09 10:40:50 -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
Tim Bell
9f4b8c2379 Merge 2008-09-04 14:56:35 -07:00
Jonathan Gibbons
756eea5eec 6743107: clean up use of static caches in file manager
Reviewed-by: mcimadamore
2008-09-03 10:46:25 -07:00
Tim Bell
e80aebd528 Merge 2008-08-31 12:00:43 -07:00
Tim Bell
309cfe4fd1 Merge 2008-08-29 12:42:27 -07:00
Davide Angelocola
39d8c22579 6597471: unused imports in javax.tools.JavaCompiler
6597531: unused imports and unused private const. in com.sun.tools.javac.Server.java

Reviewed-by: mcimadamore
2008-08-29 11:10:12 -07:00
Xiomara Jayasena
969313d8cc Added tag jdk7-b34 for changeset 1f47a876c043 2008-08-28 11:05:35 -07:00
Jonathan Gibbons
fc7983c405 6508981: cleanup file separator handling in JavacFileManager
Reviewed-by: mcimadamore
2008-08-26 14:52:59 -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
Tim Bell
9015c7d020 Merge 2008-08-14 22:17:02 -07:00
Xiomara Jayasena
2a6a483ba0 Added tag jdk7-b33 for changeset e1305f648e12 2008-08-14 09:26:42 -07:00
Tim Bell
52da428ead Merge 2008-08-10 18:36:19 -07:00
Maurizio Cimadamore
c448d362ba 6732461: broken message file for annotation processing
Regression in sqe test introduced in 6720185

Reviewed-by: jjg
2008-08-08 17:52:02 +01:00
Maurizio Cimadamore
054a64704a 6734819: Javac performs flows analysis on already translated classes
Regression in JavaCompiler.desugar introduced in 6726015

Reviewed-by: jjg
2008-08-08 17:48:04 +01:00
Maurizio Cimadamore
a7cdf34685 6676362: Spurious forward reference error with final var + instance variable initializer
Some javac forward reference errors aren't compliant with the JLS

Reviewed-by: jjg
2008-08-08 17:43:24 +01:00
Maurizio Cimadamore
fe12031643 6718364: inference fails when a generic method is invoked with raw arguments
Bug in the implementation of Types.isSubtypeUnchecked

Reviewed-by: jjg
2008-08-08 17:38:20 +01:00
Maurizio Cimadamore
b267c3b746 6695838: javac does not detect cyclic inheritance involving static inner classes after import clause
Javac fails to detect some errors due to the order in which a class' static imports are entered

Reviewed-by: jjg
2008-08-08 15:16:25 +01:00
Tim Bell
bedd4eef34 Merge 2008-08-07 18:03:32 -07:00
Tim Bell
44a80db3ca Merge 2008-08-07 09:45:08 -07:00
Jonathan Gibbons
1788cb3419 6733995: legal notice repair on langtools/src/share/classes/com/sun/tools/javap/JavapTask.java
Reviewed-by: ksrini
2008-08-05 17:07:13 -07:00
Maurizio Cimadamore
ad5fef1fce 6730423: Diagnostic formatter should be an instance field of JCDiagnostic
JCDiagnostic.fragment should be deprecated and the diagnostic factory should be used instead

Reviewed-by: jjg
2008-08-05 12:54:40 +01:00