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
Tim Bell
71fcc09e90
Merge
2009-06-26 10:26:27 -07:00
Xiomara Jayasena
a37f5785ad
Added tag jdk7-b62 for changeset aca415f62ac6
2009-06-25 12:10:11 -07:00
Yuri Nesterenko
2fb866d956
Merge
2009-06-25 00:20:34 -07:00
Tim Bell
c76e1a308a
Merge
2009-06-24 17:34:13 -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
Tim Bell
7cd3837139
Merge
2009-06-23 22:09:28 -07: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
Tim Bell
adc7d0d7eb
Merge
2009-06-21 23:55:50 -07:00
Jonathan Gibbons
b62ac9c58c
6852856: javap changes to facilitate subclassing javap for variants
...
Reviewed-by: mcimadamore
2009-06-19 11:40:47 -07:00
Xiomara Jayasena
1d0779a3a4
Added tag jdk7-b61 for changeset d3f240c8b48f
2009-06-18 13:05:48 -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
Tim Bell
b88afe3210
Merge
2009-06-11 21:35:12 -07:00
Xiomara Jayasena
13dc5bb0c0
Added tag jdk7-b60 for changeset 47bb5c4cb85e
2009-06-11 10:54:31 -07:00
Jonathan Gibbons
542d43cc10
6838199: remove support for old javap
...
Reviewed-by: ohair, mcimadamore
2009-05-29 16:26:41 -07:00
Jonathan Gibbons
6fb18b568c
6802102: unignore @ignored tests where possible
...
Reviewed-by: mcimadamore
2009-05-28 09:49:56 -07:00
Joe Darcy
05ea258bbb
6843761: Update langtools tests to remove unncessary -source and -target options
...
Reviewed-by: jjg
2009-05-27 22:34:43 -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
db4ff5c63b
6843648: tools/javac/versions/check.sh is broken
...
Reviewed-by: darcy
2009-05-20 19:10:06 -07: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
Kelly O'Hair
ef6f1e857d
6843041: Remove duplicate README files in repositories (make/README)
...
Reviewed-by: robilad
2009-05-19 17:39:30 -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
Kelly O'Hair
8874d572a6
Merge
2009-05-15 13:30:55 -07:00
Vassili Igouchkine
ed2d2684f6
Added tag jdk7-b59 for changeset 43abe9a4635d
2009-05-14 10:58:12 -07:00
Vassili Igouchkine
9135d7552c
Added tag jdk7-b58 for changeset 81bd48bfe2e6
2009-05-11 12:08:21 -07:00
Xiomara Jayasena
7c1f3ef608
Merge
2009-05-07 12:26:38 -07:00
Xiomara Jayasena
a9f5efb132
Merge
2009-05-07 10:32:58 -07:00
Andrew Haley
59fa6868bb
6837665: Deal with windows ant problem where commas in -D options do not work
...
Rewrite to avoid commas in -D options
Reviewed-by: ohair
2009-05-06 18:04:08 +01:00
Tim Bell
32b0fa3461
Merge
2009-05-04 22:16:46 -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
Xiomara Jayasena
bb0d22f385
Added tag jdk7-b57 for changeset dd13095c13cb
2009-04-30 15:04:50 -07:00
Kelly O'Hair
70b0bc68ce
6831225: Upgrade JPRT jobs to use newer Linux 2.6 (e.g. Fedora 9)
...
Reviewed-by: tbell
2009-04-27 20:19:22 -07:00
Xiomara Jayasena
97e6e7e277
Added tag jdk7-b56 for changeset 845ccf65d4a7
2009-04-23 15:55:10 -07:00
Andrew Haley
2af71865f9
6832141: Bug 100045 - Fix for 100028 breaks debug info for class files
...
Correct fallout from 100028 patch
Reviewed-by: ohair
2009-04-20 19:01:35 +01:00
Andrew Haley
2b6dba6c95
6829575: 100028: Debug information is incomplete or missing
...
Enable debugging in many places
Reviewed-by: ohair
2009-04-17 15:56:31 +01:00
Xiomara Jayasena
c45cade441
Added tag jdk7-b55 for changeset ff2e2ca5634e
2009-04-16 11:23:02 -07:00
Lana Steuck
e7903bf295
Merge
2009-04-13 22:35:14 -07:00
Tim Bell
bf7fc212cc
Merge
2009-04-10 15:31:12 -07:00
Lana Steuck
1965d90445
Merge
2009-04-09 13:13:47 -07:00
Xiomara Jayasena
029e1d422b
Added tag jdk7-b54 for changeset 892e6a06285e
2009-04-09 10:37:39 -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
Tim Bell
a7d6b2c707
Merge
2009-04-03 10:29:50 -07:00
Xiomara Jayasena
6103649b6b
Added tag jdk7-b53 for changeset e053a98a8120
2009-04-02 16:52:05 -07:00
Xiomara Jayasena
4c089452ee
Merge
2009-04-01 08:58:42 -07: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
Xiomara Jayasena
edd49c4cf2
Merge
2009-03-31 08:54:12 -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
Xiomara Jayasena
0f23916d8b
Added tag jdk7-b52 for changeset a9071341dbea
2009-03-27 14:11:53 -07:00
Kelly O'Hair
69c8b43f09
6822913: Consolidate make/jprt.config files, let JPRT manage this file make it optional in repos
...
Reviewed-by: tbell
2009-03-26 16:48:53 -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
Tim Bell
e969cae170
Merge
2009-03-21 13:53:11 -07: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
Xiomara Jayasena
f714e2735c
Added tag jdk7-b51 for changeset 95e3c21b2919
2009-03-19 13:25:44 -07:00
Tim Bell
61485906a3
6814592: Legal notice repair needed in langtools/test/tools/javap/T4884240.java
...
Reviewed-by: jjg
2009-03-17 11:28:24 -07:00
Tim Bell
e005d5df51
Merge
2009-03-09 23:53:41 -07:00
Xiomara Jayasena
2978ffb9f9
Merge
2009-03-09 13:34:19 -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
Tim Bell
9d3e087075
Merge
2009-03-06 10:53:48 -08:00
Xiomara Jayasena
4ae52d7dc1
Added tag jdk7-b50 for changeset 7faffd237305
2009-03-05 09:49:26 -08: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
Maurizio Cimadamore
938af6ca9f
6807255: LineNumberTable wrong if enhanced-for-loops are used
...
End position of iterable for-each loop was not set properly
Reviewed-by: jjg
2009-03-05 17:25:13 +00:00
Maurizio Cimadamore
5ff31e060f
6804733: javac generates spourious diagnostics for ill-formed type-variable bounds
...
Fixed algorithm for checking cycles in typevar declarations
Reviewed-by: jjg
2009-03-05 17:24:40 +00:00
Maurizio Cimadamore
7b461338a0
6467183: javac fails to raise unchecked warning on cast of parameterized generic subclass
...
Cleanup code for generating unchecked cast warnings
Reviewed-by: jjg
2009-03-05 17:24:08 +00:00
Tim Bell
f4e320bfb9
Merge
2009-03-02 15:11:29 -08:00
Bhavesh Patel
5020864887
6786690: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - DL tag and nesting issue
...
Reviewed-by: jjg
2009-02-27 18:57:17 -08:00
Tim Bell
3c46295767
Merge
2009-02-27 10:54:11 -08:00
Xiomara Jayasena
d9ebfd3ddd
Added tag jdk7-b49 for changeset 12d66066c9b7
2009-02-26 10:57:31 -08:00
Joe Darcy
178049faf3
6498938: Faulty comparison of TypeMirror objects in getElementsAnnotatedWith implementation
...
Reviewed-by: jjg
2009-02-24 17:48:53 -08:00
Joe Darcy
0b44eecef2
6501749: 6501749 Filer should state connection between created files and root elements
...
Reviewed-by: jjg
2009-02-24 17:16:18 -08:00
Tim Bell
4b732c2f61
Merge
2009-02-24 07:55:30 -08:00
Tim Bell
ea24f38417
Merge
2009-02-21 09:58:08 -08:00
Joe Darcy
f73daa0e58
6460529: Provide mixin interfaces for getQualifiedName and getTypeParameters
...
Reviewed-by: jjg
2009-02-20 11:56:09 -08:00
Tim Bell
8c702dfd66
Merge
2009-02-19 18:04:54 -08:00
Xiomara Jayasena
55676cacc2
Added tag jdk7-b48 for changeset 299092b5d884
2009-02-19 14:08:22 -08:00
Bhavesh Patel
11a5dc38c7
6802694: Javadoc doclet does not display deprecated information with -nocomment option for serialized form
...
Reviewed-by: jjg
2009-02-18 13:47:27 -08:00
Tim Bell
cf4c6b351a
Merge
2009-02-17 09:07:14 -08:00
Maurizio Cimadamore
198f2427b4
6769027: Source line should be displayed immediately after the first diagnostic line
...
Added support for customizing diagnostic output via API/command line flags
Reviewed-by: jjg
2009-02-13 11:57:33 +00:00
Xiomara Jayasena
824fac8c75
Added tag jdk7-b47 for changeset c445221445df
2009-02-12 14:00:59 -08:00
Tim Bell
5e0a625580
Merge
2009-02-06 17:24:04 -08:00
Joe Darcy
553a2dfa66
6794071: Provide exception superclass for UnknownFooExceptions
...
Reviewed-by: jjg
2009-02-06 12:49:48 -08:00
Jonathan Gibbons
21507b2ba7
6595666: fix -Werror
...
Reviewed-by: mcimadamore
2009-02-06 10:23:57 -08:00
Tim Bell
23ab3ee383
Merge
2009-02-06 09:44:58 -08:00
Xiomara Jayasena
212dd5d9b8
Added tag jdk7-b46 for changeset b60cca94e94d
2009-02-05 16:07:57 -08:00
Tim Bell
c597e8b844
Merge
2009-01-30 23:28:38 -08:00
Tim Bell
722c67692b
Merge
2009-01-29 21:48:36 -08:00
Xiomara Jayasena
f32326c000
Added tag jdk7-b45 for changeset 779f966ee652
2009-01-29 13:21:18 -08:00
Maurizio Cimadamore
4021098c46
6729401: Compiler error when using F-bounded generics with free type variables
...
Javac applies wrong substitution to recursive type-variable bounds
Reviewed-by: jjg
2009-01-29 12:19:14 +00:00
Maurizio Cimadamore
c5d6131368
6557182: Unchecked warning *and* inconvertible types
...
Redundant warnings are generated when casting from intersection types
Reviewed-by: jjg
2009-01-29 12:18:19 +00:00
Maurizio Cimadamore
552a7a0e19
6315770: javac inference allows creation of strange types: Integer & Runnable
...
Javac does not apply glb correctly as per JLS3 15.12.2.8
Reviewed-by: jjg
2009-01-29 12:17:57 +00:00
Jonathan Gibbons
4aefa80bf1
6176978: current Javadoc's invocation and extension (Doclet) mechanisms are problematic
...
Reviewed-by: darcy
2009-01-27 18:38:39 -08:00
Joe Darcy
f82d6e454b
6707027: langtools/test/tools/javac/processing/model/testgetallmember/Main.java fails
...
Reviewed-by: jjg
2009-01-27 17:50:53 -08:00
Tim Bell
1b49bea0ad
6797871: Fix for 6797463 did not remove the jtreg tests, and it should have
...
Reviewed-by: jjg
2009-01-26 15:14:46 -08:00
Tim Bell
57af527fbb
Merge
2009-01-24 16:35:52 -08:00
Tim Bell
e6ce4c2488
6797463: 6557199 breaks the jax-ws workspace
...
Reviewed-by: jjg
2009-01-24 11:07:32 -08:00
Jonathan Gibbons
cf1252d823
6795365: NetBeans projects in langtools repository are not NB6.5-friendly
...
Reviewed-by: mcimadamore
2009-01-23 11:23:10 -08:00
Jonathan Gibbons
72a1863490
6796965: dev-time wrapper script for javac broken
...
Reviewed-by: ksrini
2009-01-22 15:45:44 -08:00
Xiomara Jayasena
3112e3e065
Added tag jdk7-b44 for changeset 9d204be2281a
2009-01-22 14:42:22 -08:00
Jonathan Gibbons
f495424a45
6795030: Files in langtools build can be compiled ignoring java.home settings
...
Reviewed-by: mcimadamore
2009-01-21 08:21:41 -08:00
Jonathan Gibbons
15099c9ffe
6795903: fix latent build warnings in langtools repository
...
Reviewed-by: darcy
2009-01-20 18:23:13 -08:00
Jonathan Gibbons
981f025a85
6794582: javadoc should read files using a FileManager
...
Reviewed-by: darcy, bpatel
2009-01-20 15:17:45 -08:00
Maurizio Cimadamore
19b769a375
6557199: Fails to reject bad override of generic method
...
Javac does not correctly implement JLS3 8.4.5
Reviewed-by: jjg
2009-01-20 17:49:49 +00:00
Maurizio Cimadamore
dffa62753f
6795580: parser confused by square brackets in qualified generic cast
...
Parser rejects cast with qualified generic array types
Reviewed-by: jjg
2009-01-20 17:49:09 +00:00
Jonathan Gibbons
a1f31b73db
6794959: add new switch -XDexpectKeys=key,key...
...
Reviewed-by: mcimadamore
2009-01-19 19:36:14 -08:00
Joe Darcy
6644396543
6583626: Improve serialization support in javax.lang.model.type exception classes
...
Reviewed-by: jjg
2009-01-16 14:05:55 -08:00
Tim Bell
1fab872b02
Merge
2009-01-16 10:38:31 -08:00
Jonathan Gibbons
b4747d3188
6794520: MessageRetriever should be upgraded to use varargs Object..
...
Reviewed-by: bpatel
2009-01-15 18:06:36 -08:00
Bhavesh Patel
de73102ff4
6786682: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - HTML tag should have lang attribute
...
Reviewed-by: jjg
2009-01-15 17:21:11 -08:00
Xiomara Jayasena
0590d5d822
Added tag jdk7-b43 for changeset a02ba404f9c6
2009-01-15 11:46:43 -08:00
Maurizio Cimadamore
34719749c5
6558559: Extra "unchecked" diagnostic
...
Fixed Types.sideCast in order to suppress redundant unchecked warnings
Reviewed-by: jjg
2009-01-13 13:31:35 +00:00
Mark Mahieu
9dff8d691f
6723444: javac fails to substitute type variables into a constructor's throws clause
...
Added constructor's actual type info to NewClass AST node
Reviewed-by: jjg
2009-01-13 13:28:42 +00:00
Maurizio Cimadamore
f6cd370370
6665356: Cast not allowed when both qualifying type and inner class are parameterized
...
Fixed parser and cats conversion in order to allow cast between generic inner classes
Reviewed-by: jjg
2009-01-13 13:28:20 +00:00
Maurizio Cimadamore
795b53a014
6765045: Remove rawtypes warnings from langtools
...
Removed all occurrences of rawtypes warnings from langtools
Reviewed-by: jjg, bpatel
2009-01-13 13:27:14 +00:00
Bhavesh Patel
a23159ffac
Merge
2009-01-08 16:34:58 -08:00
Bhavesh Patel
a2a9e39ec7
6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
...
Reviewed-by: jjg
2009-01-08 16:26:59 -08:00
Peter Runge
dda3b0af66
6512707: "incompatible types" after (unrelated) annotation processing
...
Reviewed-by: darcy
2009-01-07 14:48:29 -08:00
Tim Bell
1d9a30a4d2
Merge
2008-12-19 10:39:02 -08:00
Xiomara Jayasena
94649662ec
Added tag jdk7-b42 for changeset f5855e0473e3
2008-12-18 21:34:20 -08:00
Xiomara Jayasena
b905401ddc
Merge
2008-12-15 17:13:21 -08:00
Xiomara Jayasena
7582e6a1eb
6785258: Update copyright year
...
Update copyright for files that have been modified starting July 2008 to Dec 2008
Reviewed-by: katleman, ohair, tbell
2008-12-15 16:55:33 -08:00
Tim Bell
47b467dff2
Merge
2008-12-05 21:59:59 -08:00
Tim Bell
ecc1d3a67c
Merge
2008-12-05 09:52:51 -08:00
Xiomara Jayasena
8ffbb1eee1
Added tag jdk7-b41 for changeset 6471e8a4578f
2008-12-04 11:10:35 -08:00
Jonathan Gibbons
9ed3284766
6778638: javadoc regression tests require tabs
...
Reviewed-by: darcy
2008-12-02 14:35:22 -08:00
Mark Wielaard
69e0e018d4
6778493: Fix (langtools) ant build to honor fcs MILESTONE setting
...
Reviewed-by: ohair
2008-12-01 12:15:14 -08:00
Maurizio Cimadamore
71eb016652
6776289: Regression: javac7 doesnt resolve method calls properly
...
Superclass' private methods shouldn't be considered during method resolution
Reviewed-by: jjg
2008-11-26 11:07:07 +00:00
Tim Bell
da14ef4113
Merge
2008-11-21 15:21:41 -08:00
Xiomara Jayasena
6683daa8c7
Added tag jdk7-b40 for changeset 5db12b3a75ea
2008-11-20 11:39:58 -08:00
Maurizio Cimadamore
454f269528
6768932: Add support for multiline diagnostics
...
Added basic support for multiline/tabular diagnostics
Reviewed-by: jjg
2008-11-12 14:17:03 +00:00
Tim Bell
68e605f7a4
Merge
2008-11-07 11:45:49 -08:00
Xiomara Jayasena
803f241db6
Added tag jdk7-b39 for changeset 628049ac53ed
2008-11-06 12:10:41 -08:00
Maurizio Cimadamore
caa22f1483
6763518: Impossible to suppress raw-type warnings
...
Check.validate(Type) should be invoked after -Xlint is augmented in Attr.visitVarDef
Reviewed-by: darcy
2008-10-28 14:05:59 +00:00
Jonathan Gibbons
49c8929c4a
6764226: ListTest fails on javap output with bad characters
...
Reviewed-by: darcy
2008-10-27 14:25:59 -07:00
Tim Bell
c85afdbe86
Merge
2008-10-24 20:47:47 -07:00
Maurizio Cimadamore
a21aaaa7dc
6762569: Javac crashes with AssertionError in Types.containedBy
...
Types.containedBy should be more liberal with UndetVars
Reviewed-by: jjg
2008-10-24 12:46:51 +01:00
Maurizio Cimadamore
418461fae2
6758789: Some method resolution diagnostic should be improved
...
Recent work on diagnostics left out some resolution corner cases
Reviewed-by: jjg
2008-10-24 12:46:34 +01:00
Maurizio Cimadamore
dd2a864f51
6746184: javac fails to compile call to public varargs method
...
Javac's resolution process should go through all steps described in JLS 15.12.2.2
Reviewed-by: jjg
2008-10-24 12:46:07 +01:00
Maurizio Cimadamore
3a7c0b423c
6680106: StackOverFlowError for Cyclic inheritance in TypeParameters with ArrayType Bounds
...
Javac ends up in an infinite loop while attributing mutually referring array type-parameter bounds
Reviewed-by: jjg
2008-10-24 12:45:47 +01:00
Tim Bell
d01291bb6e
Merge
2008-10-23 21:56:41 -07:00
Maurizio Cimadamore
5a17e28602
6557954: Inner class type parameters doesn't get substituted when checking type well-formedness
...
Validator.visitTypeApply should substitute all formal typevars with actual parameters
Reviewed-by: jjg
2008-10-23 18:29:11 +01:00
Xiomara Jayasena
2531ec2c03
Added tag jdk7-b38 for changeset 62c548002ecb
2008-10-23 10:13:23 -07:00
Maurizio Cimadamore
0408a1adae
6548436: Incorrect inconvertible types error
...
Types.rewrite quantifiers should cope with captured type-variables properly
Reviewed-by: jjg
2008-10-23 18:10:23 +01:00
Maurizio Cimadamore
b2ffad7180
6487370: javac incorrectly gives ambiguity warning with override-equivalent abstract inherited methods
...
Javac should not compare erased return types when checking for ambiguity errors during overload resolution
Reviewed-by: jjg
2008-10-23 18:00:05 +01:00
Maurizio Cimadamore
90e6379916
6711619: javac doesn't allow access to protected members in intersection types
...
Accordingly to new accessibility rules all members of intersection types (but private ones) should be accessible
Reviewed-by: jjg
2008-10-23 17:59:43 +01:00
Maurizio Cimadamore
be7b82ffe4
6732484: Bound error on wildcard code
...
Check.checkExtends should cope with captured type-variables
Reviewed-by: jjg
2008-10-23 17:59:16 +01:00
Jonathan Gibbons
7d2872604d
6759996: ignore empty entries on paths
...
Reviewed-by: darcy
2008-10-20 13:42:45 -07:00
Tim Bell
b99ff1ffeb
Merge
2008-10-17 16:47:54 -07:00
Jonathan Gibbons
fac7f6fd8a
6760930: empty element on bootclasspath breaks test/tools/apt/Discovery/discovery.sh
...
Reviewed-by: darcy
2008-10-17 16:06:32 -07:00
Jonathan Gibbons
8175eb6c0e
6760805: empty element on bootclasspath breaks test/tools/apt/Compile/compile.sh
...
Reviewed-by: darcy
2008-10-17 10:34:06 -07:00
Jonathan Gibbons
c6c8882d70
6760500
: test com/sun/javadoc/testSupplementary/TestSupplementary.java is not same-VM safe
...
Reviewed-by: darcy
2008-10-16 16:53:56 -07:00
Maurizio Cimadamore
1cfe36b8a1
6760226: test/tools/javap/T6622260.java fails with specific locale settings
...
Changed the regression test in order to make it more robust w.r.t. to locale settings
Reviewed-by: jjg
2008-10-16 18:07:37 +01:00
Jonathan Gibbons
72ffb28a4d
6759810: bad regression test causes source file to be deleted
...
Reviewed-by: mcimadamore
2008-10-16 07:39:53 -07:00
Jonathan Gibbons
ad3ca8d8f2
6759775: RegularFileObject.inferBinaryName gives bad result on empty path
...
Reviewed-by: mcimadamore
2008-10-16 07:30:13 -07:00
Jonathan Gibbons
a75a5f00d6
6759796: test/tools/javac/6348193/T6348193.java fails if there are empty entries on the bootclasspath
...
Reviewed-by: darcy
2008-10-15 13:20:03 -07:00
Jonathan Gibbons
a2201c5ae7
6759795: test/tools/apt/Basic/print.sh may fail depending on jtreg options
...
Reviewed-by: darcy
2008-10-15 11:13:23 -07:00
Maurizio Cimadamore
0f7dc30816
6759682: APT: compiler message file broken after refactoring of com.sun.tools.javac.util.Message
...
JavacMessages should refresh its own bundle cache when a new resource bundle is added by APT
Reviewed-by: jjg
2008-10-15 17:23:55 +01:00
Jonathan Gibbons
55ef4bc22e
6748541: javadoc should be reusable
...
Reviewed-by: bpatel
2008-10-15 08:07:59 -07:00
Maurizio Cimadamore
1dc1dcab49
6759143: com.sun.tools.javac.util.Messages is obsolete and should be removed
...
Push for 6406133 should have removed com.sun.tools.javac.util.Messages
Reviewed-by: jjg
2008-10-14 17:05:48 +01:00
Tim Bell
4fddc7cbee
Merge
2008-10-10 13:29:11 -07:00
Xiomara Jayasena
16155a7d48
Added tag jdk7-b37 for changeset 076a3cde30d5
2008-10-09 11:13:34 -07:00
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
98ab03e7e5
6749967: regression tests for apt should be same-vm friendly
...
Reviewed-by: darcy
2008-10-07 15:39:19 -07: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
Tim Bell
b670ed41d6
Merge
2008-09-29 22:11:26 -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
82a7a9f030
6753718: raw type warnings should be suprresed during a langtools build
...
Fixed build.properties in order to suppress raw type warnings
Reviewed-by: jjg
2008-09-29 15:30:27 +01: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
Tim Bell
5e2a37a5a0
Merge
2008-09-26 15:32:47 -07:00
Xiomara Jayasena
f3455aa584
Added tag jdk7-b36 for changeset 7798f9e88bf9
2008-09-25 12:54:13 -07: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
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
Tim Bell
4350001c77
Merge
2008-09-12 23:32:51 -07:00
Tim Bell
513053fd42
Merge
2008-09-12 14:35:51 -07:00
Xiomara Jayasena
092df72269
Added tag jdk7-b35 for changeset 59749505f3e8
2008-09-11 11:26:00 -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
Tim Bell
9f4b8c2379
Merge
2008-09-04 14:56:35 -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
Tim Bell
e80aebd528
Merge
2008-08-31 12:00:43 -07:00
Tim Bell
309cfe4fd1
Merge
2008-08-29 12:42:27 -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
Xiomara Jayasena
969313d8cc
Added tag jdk7-b34 for changeset 1f47a876c043
2008-08-28 11:05:35 -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
Tim Bell
9015c7d020
Merge
2008-08-14 22:17:02 -07:00
Xiomara Jayasena
2a6a483ba0
Added tag jdk7-b33 for changeset e1305f648e12
2008-08-14 09:26:42 -07:00
Tim Bell
52da428ead
Merge
2008-08-10 18:36:19 -07: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
Tim Bell
bedd4eef34
Merge
2008-08-07 18:03:32 -07:00
Tim Bell
44a80db3ca
Merge
2008-08-07 09:45:08 -07: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
Xiomara Jayasena
8a7edaa6c1
Added tag jdk7-b32 for changeset aded486da6fd
2008-08-04 13:45:10 -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
Tim Bell
d732419d95
Merge
2008-07-22 11:41:45 -07:00
Tim Bell
97ff80a1d9
Merge
2008-07-18 11:25:41 -07:00
Xiomara Jayasena
d7394859b3
Added tag jdk7-b31 for changeset bcb5c0d7c1ab
2008-07-17 11:28:51 -07:00
Jonathan Gibbons
a6f6acaf27
6657907: javadoc has unchecked warnings
...
Reviewed-by: bpatel
2008-07-15 19:22:51 -07:00