Commit Graph

369 Commits

Author SHA1 Message Date
Jonathan Gibbons
b81f0f8916 6558476: com/sun/tools/javac/Main.compile don't release file handles on return
Reviewed-by: darcy
2009-08-12 10:34:13 -07:00
Jonathan Gibbons
b95303097d 6758471: should be able to set jtreg options in langtools build
Reviewed-by: mcimadamore
2009-08-12 07:54:30 -07:00
Jonathan Gibbons
d029eaeb57 6870706: langtools launcher issues
Reviewed-by: mcimadamore
2009-08-12 07:14:02 -07:00
Jonathan Gibbons
46c42f2362 6870743: update comments in langtools/make/build.properties
Reviewed-by: darcy
2009-08-11 18:35:05 -07:00
Jonathan Gibbons
da2b8ebcd0 6870591: langtools build sets javac.bootclasspath incorrectly
Reviewed-by: ohair
2009-08-11 14:05:32 -07:00
Abhijit Saha
4c1bad113e Merge 2009-08-11 08:22:46 -07:00
Maurizio Cimadamore
b2f97fc341 6199153: Generic throws and overriding
Javac incorrectly rejects an uchecked overriding

Reviewed-by: jjg
2009-08-11 01:14:31 +01:00
Maurizio Cimadamore
d8292cad05 6569404: Cannot instantiate an inner class of a type variable
Javac is too strict in rejecting member selction from a type-var

Reviewed-by: jjg
2009-08-11 01:14:06 +01:00
Maurizio Cimadamore
b097f12a5d 6869075: regression: javac crashes when compiling compound string assignment with generics
Javac should not add syntehtic cast to the LHS of an assignment expression

Reviewed-by: jjg
2009-08-11 01:13:42 +01:00
Maurizio Cimadamore
a11cd67b7c 6521805: Regression: JDK5/JDK6 javac allows write access to outer class reference
Javac should warn/complain about identifiers with the same name as synthetic symbol

Reviewed-by: jjg
2009-08-11 01:13:14 +01:00
Maurizio Cimadamore
b466a2fcc9 6840059: regression: javac silently crashes when resolving erroneous anonymous inner constructor
Resolved an internal crash with constructor resolution

Reviewed-by: jjg
2009-08-11 01:12:40 +01:00
Maurizio Cimadamore
578138abeb 6390045: Unexpected error "cannot access java.lang.Void" with '-target cldc1.0' with -source >=1.5
Javac needs to synthetize a fake java.lang.Void symbol if one is not given on the classpath

Reviewed-by: jjg
2009-08-11 01:12:13 +01:00
Maurizio Cimadamore
ac4b216060 6806876: ClassCastException occurs in assignment expressions without any heap pollutions
Intersection types should be considered as non-reifiable by javac

Reviewed-by: jjg
2009-08-11 01:11:37 +01:00
Abhijit Saha
b9bb7ed20f Merge 2009-08-10 09:36:40 -07:00
Jonathan Gibbons
7d420d30b9 6868539: javap should use current names for constant pool tags
Reviewed-by: ksrini
2009-08-08 17:56:37 -07:00
Jonathan Gibbons
c28b62e1d5 6868548: remove spurious ';' from after constant pool entries
Reviewed-by: ksrini
2009-08-08 17:50:57 -07:00
Abhijit Saha
7d8f9efba6 6803688: Integrate latest JAX-WS (2.1.6) in to JDK 6u14
Reviewed-by: darcy, ramap
2009-08-07 11:32:20 -07:00
Tim Bell
fdab284b8a Merge 2009-08-06 20:24:08 -07:00
Jonathan Gibbons
d78b7fcc9b 6858429: javap classfile library a minor bug
Reviewed-by: ksrini
2009-08-06 19:35:41 -07:00
Tim Bell
d550e02d46 Merge 2009-08-06 19:03:42 -07:00
Xiomara Jayasena
ef226d3a7e Added tag jdk7-b68 for changeset 2974ea6ad890 2009-08-06 10:25:29 -07:00
Jonathan Gibbons
9e26dc467b 6729471: javap should accept class files on the command line
Reviewed-by: mcimadamore
2009-08-05 08:38:18 -07:00
Jonathan Gibbons
ea9763ee24 6868553: 6867671 breaks some tests
Reviewed-by: mcimadamore
2009-08-05 07:43:50 -07:00
Jonathan Gibbons
22c0a5cddf 6867671: javap whitespace formatting issues
Reviewed-by: mcimadamore
2009-08-04 17:26:41 -07:00
Tim Bell
2437247a8d Merge 2009-07-31 17:20:06 -07:00
Tim Bell
7d5c536756 Merge 2009-07-30 23:41:19 -07:00
Xiomara Jayasena
f3564aefec Added tag jdk7-b67 for changeset 02ba23f205f3 2009-07-30 10:58:48 -07:00
Jonathan Gibbons
24bbb68d38 4880672: javap does not output inner interfaces of an interface
Reviewed-by: mcimadamore
2009-07-30 09:18:55 -07:00
Jonathan Gibbons
219445d03a 6866657: add byteLength method to primary classfile types
Reviewed-by: mchung
2009-07-30 07:48:24 -07:00
Mahmood Ali
638db1aabb 6861837: JCK compilation failures
Type-annotations processing is accessing type info before they are available in MemberEnter

Reviewed-by: jjg
2009-07-30 10:30:34 +01:00
Maurizio Cimadamore
fe1aaa8154 6864382: NPE in the rich formatter when processing an unattributed type-variable
Unattributed type variable should not be accessed by the rich formatter when emitting where clauses

Reviewed-by: jjg
2009-07-30 10:30:24 +01:00
Maurizio Cimadamore
25497fcea7 6862608: rich diagnostic sometimes contain wrong type variable numbering
The rich formatter generates worng numbers for type-variables in where clauses

Reviewed-by: jjg
2009-07-30 10:30:10 +01:00
Maurizio Cimadamore
59b2cbc448 6827648: Extremely slow compilation time for visitor pattern code + generics
Javac unnecessarily recomputates type-substitutions multiple times

Reviewed-by: jjg
2009-07-30 10:29:53 +01:00
Jonathan Gibbons
54b80cfe2a 4777949: Javap Rewrite : Warn javap usage on package classes with simple name
Reviewed-by: mcimadamore
2009-07-29 13:26:26 -07:00
Xiomara Jayasena
d0493af09e 6862919: Update copyright year
Update copyright for files that have been modified in 2009, up to 07/09

Reviewed-by: tbell, ohair
2009-07-28 12:12:59 -07:00
Jonathan Gibbons
66637352ac 6734068: Some variable length attributes set their size incorrectly
Reviewed-by: mcimadamore
2009-07-28 11:00:05 -07:00
Jonathan Gibbons
2655dbfaac 6855990: javap InstructionDetailWriter should support new 308 annotations attribute
Reviewed-by: mcimadamore
2009-07-28 10:36:25 -07:00
Tim Bell
a5c921b198 Merge 2009-07-27 23:07:00 -07:00
Jonathan Gibbons
2a737b4aa9 6865399: some javac files are missing Sun internal API comment
Reviewed-by: darcy
2009-07-27 19:52:42 -07:00
Jonathan Gibbons
b84cd5a9cd 6854244: change source/target used to compile JDK to 7
Reviewed-by: ohair
2009-07-27 15:20:03 -07:00
Joe Darcy
55dc8eb040 6381698: Warn of decommissioning of apt
Reviewed-by: jjg
2009-07-26 21:27:11 -07:00
Jonathan Gibbons
604fce4d26 6863746: javap should not scan ct.sym by default
Reviewed-by: mcimadamore
2009-07-24 14:47:01 -07:00
Xiomara Jayasena
c3a06b2ebe Added tag jdk7-b66 for changeset dc62947a6e47 2009-07-24 13:40:15 -07:00
Jonathan Gibbons
ae71131125 6863914: bug number missing from test
Reviewed-by: tbell
2009-07-23 14:15:58 -07:00
Mahmood Ali
b1c83646db 6863814: javap crashes when facing array class literals
Reviewed-by: jjg
2009-07-23 11:37:44 -07:00
Tim Bell
3b19a505dc Merge 2009-07-17 09:14:45 -07:00
Xiomara Jayasena
c524fb1e66 Added tag jdk7-b65 for changeset dde9c43422cd 2009-07-16 10:53:31 -07:00
Maurizio Cimadamore
ae2586d2c3 6860795: NullPointerException when compiling a negative java source
Rich formatter shouldn't propagate visits on method symbols that have a null type

Reviewed-by: jjg
2009-07-15 17:01:47 +01:00
Maurizio Cimadamore
dd76763423 6846972: cannot access member of raw type when erasure change overriding into overloading
Fix of 6400189 caused a nasty problem in method resolution

Reviewed-by: jjg
2009-07-15 10:25:01 +01:00
Xiomara Jayasena
d42a7a6818 Added tag jdk7-b64 for changeset 186b38713174 2009-07-13 14:48:01 -07:00