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
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
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
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
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
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
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
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
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
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
aa985271fd
6724327: eliminate use of shell tests for simple golden file tests
...
Reviewed-by: darcy
2008-07-10 11:25:23 -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
Tim Bell
bfe81fd61c
Merge
2008-07-04 15:06:27 -07: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
Tim Bell
ab32cfbffe
Merge
2008-06-25 23:30:55 -07:00
Jonathan Gibbons
dd0f4f4cc6
6507179: javadoc -source 1.3 does not work with jdk6
...
Reviewed-by: mcimadamore
2008-06-25 14:24:53 -07:00
Maurizio Cimadamore
f33c28c7fb
6294779: Problem with interface inheritance and covariant return types
...
Problematic overriding check when two methods defined in two distinct superinterfaces are overriden by an interface
Reviewed-by: jjg
2008-06-20 11:25:03 +01:00
Jonathan Gibbons
cfd8c6e652
6716866: some javac regression tests fail to compile with re-orged file manager
...
Reviewed-by: darcy
2008-06-19 15:52:31 -07:00
Jonathan Gibbons
2e420d4001
6715767: javap on java.lang.ClassLoader crashes
...
Reviewed-by: ksrini
2008-06-18 16:53:08 -07:00
Jonathan Gibbons
d39e209011
6625520: javac handles missing entries on classpath badly
...
Reviewed-by: mcimadamore
2008-06-17 10:44:32 -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
Jonathan Gibbons
0a7516d744
4075303: Use javap to enquire aboput a specific inner class
...
4348375: Javap is not internationalized
4459541: "javap -l" shows line numbers as signed short; they should be unsigned
4501660: change diagnostic of -help as 'print this help message and exit'
4776241: unused source file in javap..
4870651: javap should recognize generics, varargs, enum
4876942: javap invoked without args does not print help screen
4880663: javap could output whitespace between class name and opening brace
4975569: javap doesn't print new flag bits
6271787: javap dumps LocalVariableTypeTable attribute in hex, needs to print a table
6305779: javap: support annotations
6439940: Clean up javap implementation
6469569: wrong check of searchpath in JavapEnvironment
6474890: javap does not open .zip files in -classpath
6587786: Javap throws error : "ERROR:Could not find <classname>" for JRE classes
6622215: javap ignores certain relevant access flags
6622216: javap names some attributes incorrectly
6622232: javap gets whitespace confused
6622260: javap prints negative bytes incorrectly in hex
Reviewed-by: ksrini
2008-06-03 13:26:47 -07:00
Maurizio Cimadamore
e3ba3ecd1d
6677785: REGRESSION: StackOverFlowError with Cyclic Class level Type Parameters when used in constructors
...
This regression has been caused by previous fix of 6660289
Reviewed-by: jjg
2008-05-30 11:08:40 +01:00
Maurizio Cimadamore
afb636d599
6507024: casting an array to a generic type results in a 'capture#69 of ?' type error
...
Types.isSubtypeUnchecked() should handle type-variables subtyping properly
Reviewed-by: jjg
2008-05-30 10:42:43 +01:00
Maurizio Cimadamore
617daebc69
6665223: Static import of inherited protected method causes compiler exception
...
Buggy accessibility check causes NPE during resolution of imported static methods
Reviewed-by: jjg
2008-05-30 10:29:27 +01:00
Jonathan Gibbons
e7c264308c
6705935: javac reports path name of entry in ZipFileIndex incorectly
...
Reviewed-by: darcy
2008-05-22 17:40:53 -07:00
Maurizio Cimadamore
c2e37f139a
6682380: Foreach loop with generics inside finally block crashes javac with -target 1.5
...
A missing type-erasure in Lower.java causes the compiler to crash since JDK6
Reviewed-by: jjg
2008-04-23 17:10:03 +01:00
Maurizio Cimadamore
38763bd637
6559182: Cast from a raw type with non-generic supertype to a raw type fails unexpectedly
...
Javac doesn't conform to JLS 4.8 - all the supertypes of a raw type must be erased
Reviewed-by: jjg
2008-04-09 15:30:44 +01:00
Maurizio Cimadamore
e63129f7b5
6683438: Bad regression test for CR 6611449
...
The regression test for CR 6611449 contains some inconstistencies
Reviewed-by: jjg
2008-04-09 15:04:35 +01:00
Maurizio Cimadamore
d09cfea3c2
6657499: javac 1.6.0 fails to compile class with inner class
...
Lookup of member inner classes silently fails leading to an unwanted erasure to take place
Reviewed-by: jjg
2008-04-09 14:57:37 +01:00
Maurizio Cimadamore
bafc1f6d00
6450290: Capture of nested wildcards causes type error
...
A missing capture conversion makes javac to think that some expressions are well-formed even when they aren't
Reviewed-by: jjg
2008-04-09 14:45:50 +01:00