Commit Graph

357 Commits

Author SHA1 Message Date
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
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
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
Yuri Nesterenko
41c97e79d2 Merge 2009-07-07 23:13:09 -07:00
Tim Bell
0bbc6ba0de Merge 2009-07-03 09:16:14 -07:00
Xiomara Jayasena
6e0fdb31a3 Added tag jdk7-b63 for changeset 128e22c119ee 2009-07-02 11:11:13 -07:00
Yuri Nesterenko
3306dc93fa Merge 2009-07-01 00:24:25 -07:00
Tim Bell
101107355d Merge 2009-06-29 23:08:52 -07:00
Jonathan Gibbons
b6347a63bf 6855993: fix comments in langtools launcher script
Reviewed-by: ohair
2009-06-29 17:45:29 -07:00
Tim Bell
ae572de526 Merge 2009-06-28 00:01:09 -07:00
Mahmood Ali
48800dcb6c 6855563: test broken after merge with latest parser
Reviewed-by: jjg
2009-06-27 12:04:43 -07:00
Michael Ernst
d6b7dc0812 6854796: update JSR308 impl with latest code from type-annotations repo
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:47:12 -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
Michael Ernst
5a1465b9de 6843077: JSR 308: Annotations on types
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 18:51:39 -07:00
Joe Darcy
2b12b62ad4 6593082: MirroredTypeException constructor does not throw NPE when type is null
Reviewed-by: jjg
2009-06-26 12:22:40 -07:00