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
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
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
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
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
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
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
Jonathan Gibbons
756eea5eec
6743107: clean up use of static caches in file manager
...
Reviewed-by: mcimadamore
2008-09-03 10:46:25 -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
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
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
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
Jonathan Gibbons
b6dbc8cf63
4884240: additional option required for javap
...
Reviewed-by: ksrini
2008-08-04 17:54:15 -07:00
Jonathan Gibbons
44444bd9c0
4111861: static final field contents are not displayed
...
Reviewed-by: ksrini
2008-08-04 15:09:02 -07:00
Jonathan Gibbons
7c754d9268
6627362: javac generates code that uses array.clone, which is not available on JavaCard
...
6627364: javac needs Float and Double on the bootclasspath even when not directly used
6627366: javac needs Cloneable and Serializable on the classpath even when not directly used
Reviewed-by: darcy
2008-08-01 15:23:18 -07:00
Maurizio Cimadamore
c936a75ed0
6720185: DiagnosticFormatter refactoring
...
Brand new hierarchy of diagnostic formatters for achieving better reusability
Reviewed-by: jjg
2008-07-28 10:22:10 +01:00
Maurizio Cimadamore
fbde930522
6675483: Javac rejects multiple type-variable bound declarations starting with an enum type
...
Intersection types bounded by an enum are erroeously considered harmful by javac
Reviewed-by: jjg
2008-07-25 12:22:09 +01:00
Maurizio Cimadamore
5f46dc3001
6500701: Enhanced for loop with generics generates faulty bytecode
...
Lower is too strict when translating enhanced causing CCE to be thrown at runtime
Reviewed-by: jjg
2008-07-25 12:05:43 +01:00
Maurizio Cimadamore
3bc508df8a
6717241: some diagnostic argument is prematurely converted into a String object
...
Removed early toString() conversions applied to diagnostic arguments
Reviewed-by: jjg
2008-07-24 19:06:57 +01:00
Maurizio Cimadamore
9879011723
6594284: NPE thrown when calling a method on an intersection type
...
Javac should report an error when the capture of an actual type parameter does not exist
Reviewed-by: jjg
2008-07-24 11:12:41 +01:00
Maurizio Cimadamore
fec04e0a18
6651719: Compiler crashes possibly during forward reference of TypeParameter
...
Compiler should apply capture conversion when checking for bound conformance
Reviewed-by: jjg
2008-07-24 10:35:38 +01:00
Jonathan Gibbons
f3eff961d3
6726015: JavaCompiler: replace desugarLater by compileStates
...
Reviewed-by: mcimadamore
2008-07-23 19:55:30 -07:00
Jonathan Gibbons
a6f6acaf27
6657907: javadoc has unchecked warnings
...
Reviewed-by: bpatel
2008-07-15 19:22:51 -07:00
Jonathan Gibbons
43dbd05dde
6724071: refactor Log into a front end and back end
...
Reviewed-by: darcy
2008-07-15 09:50:36 -07:00
Jonathan Gibbons
72e64424e0
6725036: javac returns incorrect value for lastModifiedTime() when source is a zip file archive
...
Reviewed-by: darcy
2008-07-11 14:59:48 -07:00
Jonathan Gibbons
efd2515395
6724551: Use Queues instead of Lists to link compiler phases
...
Reviewed-by: darcy
2008-07-10 16:50:38 -07:00
Jonathan Gibbons
02ef4bbc8c
4501661: disallow mixing -public, -private, and -protected options at the same time
...
Reviewed-by: ksrini
2008-07-08 18:06:19 -07:00
Jonathan Gibbons
d1e9333931
6716452: (classfile) need a method to get the index of an attribute
...
Reviewed-by: ksrini
2008-07-08 17:53:03 -07:00
Jonathan Gibbons
a2ef1138ad
6715753: unknown option error can be a little more helpful
...
Reviewed-by: ksrini
2008-07-08 17:25:50 -07:00
Jonathan Gibbons
23aea10d3e
6715757: javap does not print "extends java.lang.Object"
...
Reviewed-by: ksrini
2008-07-08 17:14:22 -07:00
Jonathan Gibbons
fdd75a4bbb
6715251: javap should be consistent with javac and return 2 if given no arguments
...
Reviewed-by: ksrini
2008-07-08 16:59:27 -07:00