Jonathan Gibbons
|
ec2a9994f5
|
6877229: more javac tests fail on Windows
Reviewed-by: darcy
|
2009-08-31 12:36:26 -07:00 |
|
Jonathan Gibbons
|
45e9a3c1e9
|
6877188: some javac shell tests do not work on Windows
Reviewed-by: darcy
|
2009-08-28 14:48:49 -07:00 |
|
Jonathan Gibbons
|
944568ba4b
|
6876765: javah tests fail on Windows
Reviewed-by: darcy
|
2009-08-27 18:25:21 -07:00 |
|
Jonathan Gibbons
|
57102e24d4
|
6876755: apt tests fail on Windows
Reviewed-by: darcy
|
2009-08-27 17:50:21 -07:00 |
|
Jonathan Gibbons
|
ba8c7416f8
|
6876753: javap tests fail on Windows
Reviewed-by: darcy
|
2009-08-27 17:39:16 -07:00 |
|
Jonathan Gibbons
|
cf9084dc86
|
6843707: bad tests generate files in the test/ directory
6876699: generated files in repository
Reviewed-by: darcy
|
2009-08-27 15:12:36 -07:00 |
|
Jonathan Gibbons
|
af2f2e8d36
|
6875336: some tests should use /nodynamiccopyright/
Reviewed-by: darcy
|
2009-08-27 11:08:27 -07:00 |
|
Maurizio Cimadamore
|
e5ce4a752b
|
6840638: Project Coin: Improved Type Inference for Generic Instance Creation (aka 'diamond')
Diamond operator implementation (simple approach)
Reviewed-by: jjg
|
2009-08-27 13:40:48 +01:00 |
|
Jonathan Gibbons
|
b91de4eb6a
|
6869216: testgetallmembers should consistently use correct filemanager
Reviewed-by: darcy
|
2009-08-24 14:38:42 -07:00 |
|
Jonathan Gibbons
|
0ec5040633
|
6873845: refine access to symbol file
Reviewed-by: darcy
|
2009-08-21 14:58:21 -07:00 |
|
Jonathan Gibbons
|
bde1a2faf8
|
6873849: suppress notes generated by javac
Reviewed-by: darcy
|
2009-08-21 11:25:45 -07:00 |
|
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 |
|
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 |
|
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 |
|
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 |
|
Tim Bell
|
2437247a8d
|
Merge
|
2009-07-31 17:20:06 -07:00 |
|
Tim Bell
|
7d5c536756
|
Merge
|
2009-07-30 23:41:19 -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 |
|
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
|
2655dbfaac
|
6855990: javap InstructionDetailWriter should support new 308 annotations attribute
Reviewed-by: mcimadamore
|
2009-07-28 10:36:25 -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 |
|
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 |
|
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 |
|
Mahmood Ali
|
48800dcb6c
|
6855563: test broken after merge with latest parser
Reviewed-by: jjg
|
2009-06-27 12:04:43 -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 |
|
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
|
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 |
|
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
|
72b623769a
|
6824493: experimental support for additional info for instructions
Reviewed-by: mcimadamore
|
2009-05-19 11:50:54 -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 |
|
Jonathan Gibbons
|
851190bb2e
|
6813059: replace use of JavaCompiler.errorCount with shouldContinue
Reviewed-by: mcimadamore
|
2009-03-31 11:16:15 -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
|
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
|
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 |
|
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 |
|
Joe Darcy
|
178049faf3
|
6498938: Faulty comparison of TypeMirror objects in getElementsAnnotatedWith implementation
Reviewed-by: jjg
|
2009-02-24 17:48:53 -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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
Peter Runge
|
dda3b0af66
|
6512707: "incompatible types" after (unrelated) annotation processing
Reviewed-by: darcy
|
2009-01-07 14:48:29 -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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|