388 Commits

Author SHA1 Message Date
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
Jonathan Gibbons
2a737b4aa9 6865399: some javac files are missing Sun internal API comment
Reviewed-by: darcy
2009-07-27 19:52:42 -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
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
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
Yuri Nesterenko
41c97e79d2 Merge 2009-07-07 23:13:09 -07:00
Jonathan Gibbons
b6347a63bf 6855993: fix comments in langtools launcher script
Reviewed-by: ohair
2009-06-29 17:45:29 -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
Yuri Nesterenko
2fb866d956 Merge 2009-06-25 00:20:34 -07:00
Maurizio Cimadamore
b4cc117e8c 6852649: The Rich formatter printer should be an explicit class to facilitate overriding
Improve reusabiliy of the rich formatter by removing anonymous inner classes/changing visibility of fields

Reviewed-by: jjg
2009-06-24 10:51:13 +01:00
Maurizio Cimadamore
1fc0b5c367 6852595: Accessing scope using JSR199 API on erroneous tree causes Illegal Argument Exception
Fixed problem with empty DiagnosticSource objects causing IAE in the JCDiagnostic constructor

Reviewed-by: jjg
2009-06-24 10:50:54 +01:00
Maurizio Cimadamore
6847ebb65f 6822637: ResolveError hierarchy needs to be refactored
Break ResolveError class into a hierarchy representing different kinds of resolution errors

Reviewed-by: jjg
2009-06-24 10:50:27 +01:00
Peter Zhelezniakov
25986e7185 6844273: jdk/make/docs/CORE_PKGS.gmk does not list Nimbus
Reviewed-by: prr
2009-06-23 12:24:37 +04:00
Jonathan Gibbons
b62ac9c58c 6852856: javap changes to facilitate subclassing javap for variants
Reviewed-by: mcimadamore
2009-06-19 11:40:47 -07:00
Maurizio Cimadamore
3b51e6ae0d 6638712: Inference with wildcard types causes selection of inapplicable method
Added global sanity check in order to make sure that return type inference does not violate bounds constraints

Reviewed-by: jjg
2009-06-16 10:46:37 +01:00
Maurizio Cimadamore
fda3d758e3 6835428: regression: return-type inference rejects valid code
Redundant subtyping test during type-inference ends up in rejecting legal code

Reviewed-by: jjg
2009-06-16 10:46:16 +01:00
Maurizio Cimadamore
5f7f3d4e38 6835430: javac does not generate signature attributes for classes extending parameterized inner classes
ClassWriter does not consider outer params of an inner class when emitting signature attributes

Reviewed-by: jjg
2009-06-16 10:45:42 +01:00
Maurizio Cimadamore
518efd59c1 6845686: basic and raw formatters do not display captured var id properly when javac runs in -XDoldDiags mode
Basic and raw formatters do not override Printer methods properly

Reviewed-by: jjg
2009-06-16 10:45:11 +01:00
Jonathan Gibbons
542d43cc10 6838199: remove support for old javap
Reviewed-by: ohair, mcimadamore
2009-05-29 16:26:41 -07:00
Maurizio Cimadamore
a74aa28243 6722234: javac diagnostics need better integration with the type-system
Added RichDiagnosticFormatter which provides better formatting capabilities for javac types/symbols

Reviewed-by: jjg
2009-05-21 10:56:36 +01:00
Jonathan Gibbons
6fbe9f979e 6827026: Change javac source and target default to 7
Reviewed-by: darcy, ohair
2009-05-20 13:36:23 -07:00
Jonathan Gibbons
131c3e10ee 6832154: refactor Paths to be just a utility class for JavacFileManager
Reviewed-by: darcy
2009-05-19 15:07:15 -07:00
Jonathan Gibbons
9de58af34f 6843013: missing files in fix for 6824493
Reviewed-by: darcy
2009-05-19 13:53:00 -07:00
Jonathan Gibbons
72b623769a 6824493: experimental support for additional info for instructions
Reviewed-by: mcimadamore
2009-05-19 11:50:54 -07:00
Jonathan Gibbons
f05e74203e 6841419: classfile: add constant pool iterator
Reviewed-by: mcimadamore
2009-05-19 11:43:50 -07:00
Kevin Looney
58eddef3f4 6841420: classfile: add new methods to ConstantClassInfo
Reviewed-by: mcimadamore
2009-05-19 11:33:13 -07:00
Kevin Looney
c1b42c6d84 6841422: classfile: add Type visitor
Reviewed-by: mcimadamore
2009-05-19 11:27:10 -07:00
John R Rose
5ba10ad9ad 6829189: Java programming with JSR 292 needs language support
Language changes documented in http://wikis.sun.com/display/mlvm/ProjectCoinProposal

Reviewed-by: jjg, darcy, mcimadamore
2009-05-04 21:04:04 -07:00
Lana Steuck
e7903bf295 Merge 2009-04-13 22:35:14 -07:00
Lana Steuck
1965d90445 Merge 2009-04-09 13:13:47 -07:00
Dmitry Cherepanov
193bce6e2e 6663040: Using com.sun.awt.AWTUtilities do not give warning while compilation
Reviewed-by: yan, anthony
2009-04-07 10:27:18 +04:00
Jonathan Gibbons
851190bb2e 6813059: replace use of JavaCompiler.errorCount with shouldContinue
Reviewed-by: mcimadamore
2009-03-31 11:16:15 -07:00
Jonathan Gibbons
681d216332 6817950: refactor ClassReader to improve attribute handling
Reviewed-by: mcimadamore
2009-03-31 11:07:55 -07:00
Jonathan Gibbons
dcd2283896 6819246: improve support for decoding instructions in classfile library
Reviewed-by: ksrini
2009-03-30 15:08:09 -07:00
Maurizio Cimadamore
584c02dfa8 6400189: raw types and inference
Fixed resolution problem with raw overriding (CCC)

Reviewed-by: jjg
2009-03-25 10:29:28 +00:00
Maurizio Cimadamore
d0892edd69 6816548: Uninitialized register when performing casting + auto(un)boxing
Constant value of final variable is lost during lowering

Reviewed-by: jjg
2009-03-25 10:28:52 +00:00
Maurizio Cimadamore
8321605121 6182950: methods clash algorithm should not depend on return type
Fixed code that checks for duplicate method declarations

Reviewed-by: jjg
2009-03-25 10:28:36 +00:00
Bhavesh Patel
34d8fbb5e2 6820360: Fix for definition list tags nesting adds an extra list tag for package summary page
Reviewed-by: jjg
2009-03-20 15:50:50 -07:00
Bhavesh Patel
fd5bc72005 6786688: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Table must have captions and headers
Reviewed-by: jjg
2009-03-19 19:00:54 -07:00
Tim Bell
e005d5df51 Merge 2009-03-09 23:53:41 -07:00
Xiomara Jayasena
56fcf6c052 6814575: Update copyright year
Update copyright for files that have been modified in 2009, up to 03/09

Reviewed-by: katleman, tbell, ohair
2009-03-09 13:29:06 -07:00
Maurizio Cimadamore
a46fd793cc 6799605: Basic/Raw formatters should use type/symbol printer instead of toString()
Create new combo type/symbol visitor printer used by all diagnostic formatters

Reviewed-by: jjg
2009-03-05 17:25:37 +00:00