Jonathan Gibbons
4a8efe66a5
7075721: javac should have public enum for exit codes
...
Reviewed-by: mcimadamore
2011-09-22 09:24:01 -07:00
Jonathan Gibbons
ff7362918f
7092965: javac should not close processorClassLoader before end of compilation
...
Reviewed-by: darcy
2011-09-21 21:56:53 -07:00
Jonathan Gibbons
1577e0f073
7030473: Remove dead field JCCompilationUnit.flags
...
Reviewed-by: dlsmith
2011-09-20 12:08:48 -07:00
Jonathan Gibbons
51763c43f7
7091528: javadoc attempts to parse .class files
...
Reviewed-by: darcy
2011-09-16 16:18:46 -07:00
Maurizio Cimadamore
bd420dc94e
7086586: Inference producing null type argument
...
Inference should fail in 15.12.2.7 when inference variables with 'nulltype' upper bounds are found
Reviewed-by: dlsmith
2011-09-16 14:16:11 +01:00
Jonathan Gibbons
4589920917
7068437: Regression: Filer.getResource(SOURCE_OUTPUT, ...) no longer works in JDK 7 w/o -s
...
Reviewed-by: darcy
2011-09-14 18:26:57 -07:00
Jonathan Gibbons
afaeb37bb5
7090700: fix for 7080267 breaks two tests
...
Reviewed-by: ksrini
2011-09-14 15:49:54 -07:00
Jonathan Gibbons
2bbf651156
7090249: IllegalStateException from Trees.getScope when called from JSR 199
...
Reviewed-by: mcimadamore
2011-09-14 12:14:30 -07:00
Jonathan Gibbons
1ec8f70fdd
7080267: Call to toString() from an ExpressionStatementTree doesn't take in consideration the ";" at the end
...
Reviewed-by: mcimadamore
2011-09-14 12:07:50 -07:00
Mandy Chung
12a0dac949
7090297: Remove com.sun.tools.javac.Launcher from tools.jar
...
Reviewed-by: jjg
2011-09-13 16:37:09 -07:00
Maurizio Cimadamore
08619c2e9c
7086601: Error message bug: cause for method mismatch is 'null'
...
Inference error during lub() does not set 'cause' for method resolution diagnostic
Reviewed-by: jjg
2011-09-13 14:15:39 +01:00
Maurizio Cimadamore
0208d38b3c
7003595: IncompatibleClassChangeError with unreferenced local class with subclass
...
Compiler omits unreferenced local inner classes from the InnerClasses attribute
Reviewed-by: jjg
2011-09-13 14:15:22 +01:00
Maurizio Cimadamore
8db2f8de59
7086595: Error message bug: name of initializer is 'null'
...
Implementation of MethodSymbol.location() should take into account static/instance initializers
Reviewed-by: jjg
2011-09-13 14:14:57 +01:00
Jonathan Gibbons
c1efbbc362
Merge
2011-09-12 11:40:07 -07:00
Jonathan Gibbons
8166c2b32b
7068451: Regression: javac compiles fixed sources against previous, not current, version of generated sources
...
Reviewed-by: mcimadamore
2011-09-12 11:39:08 -07:00
Jonathan Gibbons
a0084596d4
7073508: Regression: NullPointerException at com.sun.tools.javac.code.Lint$AugmentVisitor.augment
...
Reviewed-by: darcy
2011-09-09 17:19:26 -07:00
Maurizio Cimadamore
a456f20739
7086261: javac doesn't report error as expected, it only reports ClientCodeWrapper$DiagnosticSourceUnwrapper
...
Missing override for toString() in ClientCodeUnwrapper.DiagnosticSourceUnwrapper
Reviewed-by: jjg
2011-09-02 17:35:56 +01:00
Bruce Chapman
0da4a58897
7024096: Stack trace has invalid line numbers
...
Reviewed-by: jjg, darcy
2011-09-02 07:54:16 -07:00
Jan Lahoda
6f70d425f2
7073631: (javac) javac parser improvements for error position reporting
...
JavacParser improvements for NetBeans, improved by LangTools.
Reviewed-by: mcimadamore, jjg
2011-09-01 09:14:25 -07:00
Jonathan Gibbons
654ae83d8e
7074416: Regression: JSR199: javac doesn't unwrap clientcodewrapper objects
...
Reviewed-by: mcimadamore
2011-08-31 15:39:00 -07:00
Maurizio Cimadamore
67f3781cb1
7079713: javac hangs when compiling a class that references a cyclically inherited class
...
Types.membersClosure needs to handle pathological cases of cyclic inheritance
Reviewed-by: jjg, jjh
2011-08-31 16:15:19 +01:00
Maurizio Cimadamore
68039c2904
7085024: internal error; cannot instantiate Foo
...
Types.isConvertible does not handle erroneous types correctly
Reviewed-by: jjg
2011-08-31 16:11:28 +01:00
Kumar Srinivasan
8b16f518cb
7064544: (javadoc) miscellaneous fixes requested by netbeans
...
Contributed by netbeans team, modified to suit by the langtools team.
Reviewed-by: jjg, bpatel
2011-08-05 19:41:05 -07:00
Joe Darcy
dba9612ad9
7071246: Enclosing string literal in parenthesis in switch-case crashes javac
...
Reviewed-by: mcimadamore
2011-08-04 11:15:37 -07:00
Kumar Srinivasan
53abe0d254
7068902: (javac) allow enabling or disabling of String folding
...
Contributed by netbeans team, modified to suit by the langtools team.
Reviewed-by: jjg, mcimadamore
2011-07-27 11:53:17 -07:00
Maurizio Cimadamore
5c209a7d2d
7057297: Project Coin: diamond erroneously accepts in array initializer expressions
...
Diamond in array initializer expressions should be rejected
Reviewed-by: jjg
2011-07-27 19:01:33 +01:00
Maurizio Cimadamore
02802c9449
7046778: Project Coin: problem with diamond and member inner classes
...
Diamond inference generates spurious error messages when target type is a member inner class
Reviewed-by: jjg
2011-07-27 19:01:08 +01:00
Maurizio Cimadamore
af30a2dbf3
7062745: Regression: difference in overload resolution when two methods are maximally specific
...
Fix most specific when two methods are maximally specific and only one has non-raw return type
Reviewed-by: jjg, dlsmith
2011-07-27 19:00:53 +01:00
David Schlosnagle
5f2157a8bc
7061125: Proposed javac argument processing performance improvement
...
Reviewed-by: jjg, dlsmith, mcimadamore, forax
2011-07-07 13:29:31 -07:00
Joe Darcy
01ee832f44
7025809: Provided new utility visitors supporting SourceVersion.RELEASE_8
...
Reviewed-by: jjg, mcimadamore
2011-07-05 16:37:24 -07:00
Kumar Srinivasan
69c7455330
7060642: (javadoc) improve performance on accessing inlinedTags
...
Reviewed-by: jjg, bpatel
2011-07-01 14:28:19 -07:00
Kumar Srinivasan
a195753a0c
6735320: StringIndexOutOfBoundsException for empty @serialField tag
...
Reviewed-by: jjg, bpatel
2011-07-01 13:34:37 -07:00
Kumar Srinivasan
37aa419c8a
7059905: (javadoc) promote method visibility for netbeans usage
...
Reviewed-by: jjg, bpatel
2011-06-30 14:33:45 -07:00
Jonathan Gibbons
00fd0bdcfd
7060926: Attr.PostAttrAnalyzer misses a case
...
Reviewed-by: mcimadamore
2011-06-30 12:00:53 -07:00
Joe Darcy
faf515b31f
6575445: Update annotation processor to only use java.util.ServiceLoader
...
Reviewed-by: jjg
2011-06-24 13:52:14 -07:00
Lana Steuck
2eb3bc1633
Merge
2011-06-22 23:26:00 -07:00
Joe Darcy
55d52a83a8
6449184: Provide JavacProcessingEnvironment.getWriter
...
Reviewed-by: jjg
2011-06-22 17:07:02 -07:00
Bhavesh Patel
0982a2586d
7052425: Change the look and feel of the javadoc generate HTML pages using stylesheet
...
Reviewed-by: jjg
2011-06-17 20:12:46 -07:00
Lana Steuck
e9d626d5ec
Merge
2011-06-02 13:38:55 -07:00
Joe Darcy
42cb36b770
7025784: Add SourceVersion.RELEASE_8
...
7025786: Add -source 8 and -target 8 to javac
7025789: Change javac source and target default to 8
Reviewed-by: jjg
2011-06-01 23:56:31 -07:00
Jonathan Gibbons
8df816992b
7042623: Regression: javac silently crash when attributing non-existent annotation
...
Reviewed-by: mcimadamore
2011-06-01 11:25:50 -07:00
David Katleman
f1744917be
7044486: open jdk repos have files with incorrect copyright headers, which can end up in src bundles
...
Reviewed-by: ohair, trims
2011-05-25 13:32:10 -07:00
Maurizio Cimadamore
fa196116c7
7046348: Regression: javac complains of missing classfile for a seemingly unrelated interface
...
Types.implementation forces unnecessary symbol completion on superinterfaces of a given type
Reviewed-by: jjg
2011-05-23 11:55:55 +01:00
Maurizio Cimadamore
1ee0f8da66
7043922: Regression: internal compiler error for nested anonymous inner class featuring varargs constructor
...
Attributing a constructor call does not clean up the compiler's attribution context
Reviewed-by: jjg
2011-05-16 09:38:04 +01:00
Lana Steuck
40e9a55470
Merge
2011-05-14 11:29:34 -07:00
Jonathan Gibbons
31ffaa86e5
7043867: docs/jdk/api/javac have html files that have issues with HTML4 compliance
...
Reviewed-by: darcy
2011-05-11 14:55:02 -07:00
Maurizio Cimadamore
568387fe02
7041730: Regression: compiler accepts invalid cast from int to Byte
...
Implementation of cast conversion rules between primitive and boxed types is too liberal
Reviewed-by: jjg
2011-05-11 13:12:11 +02:00
Maurizio Cimadamore
d3d252186b
7042566: Regression: new ambiguity between varargs method
...
Erroneous ambiguity error when choosing most specific varargs method
Reviewed-by: jjg
2011-05-11 13:10:57 +02:00
Michael Fang
2aeb28d63b
Merge
2011-05-10 19:58:00 -07:00
Jonathan Gibbons
831a82e3c1
7043694: printStackTrace call should be removed
...
Reviewed-by: darcy
2011-05-10 19:53:49 -07:00
Michael Fang
b0b388c137
7043548: message drop 3 translation integration
...
Reviewed-by: yhuang
2011-05-10 15:07:08 -07:00
Michael Fang
95f71f8848
7022005: [ja,zh_CN] javadoc, part of navigation bar in generated html are not translated
...
Reviewed-by: yhuang
2011-05-10 15:04:37 -07:00
Bhavesh Patel
a2642b89a7
6553182: Need to modify javadoc doclet for GPL
...
Reviewed-by: jjg
2011-05-02 10:10:31 -07:00
Maurizio Cimadamore
fbecf91f80
7040883: Compilation error: "length in Array is defined in an inaccessible class or interface"
...
Fix of 7034511 (now backed out) is causing spurious accessibility errors
Reviewed-by: jjg
2011-05-02 12:05:41 +01:00
Bhavesh Patel
746cdfda77
6492694: @deprecated tag doesn't work in package-info files
...
Reviewed-by: jjg
2011-05-02 02:13:02 -07:00
Lana Steuck
80d69a4f40
Merge
2011-04-30 16:57:18 -07:00
Maurizio Cimadamore
fcbd7a77c4
7039931: Project Coin: diamond inference fail with generic constructor explicit type-arguments
...
Diamond should be disallowed in cases where explicit generic constructor parameters are specified
Reviewed-by: jjg
2011-04-30 11:57:46 +01:00
Maurizio Cimadamore
ea2c9e0af0
6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
...
Accessing a non-existing enum constant from an annotation whose class is available results in an internal error
Reviewed-by: jjg
2011-04-29 16:06:28 +01:00
Maurizio Cimadamore
7fb85c5cef
7034495: Javac asserts on usage of wildcards in bounds
...
Problem with intersection types and wildcards causing javac to crash
Reviewed-by: jjg
2011-04-29 16:05:56 +01:00
Maurizio Cimadamore
e7081dbf6a
7039937: Improved catch analysis fails to handle a common idiom in the libraries
...
Disable generation of 'unreachable catch' warnings for catch statements catching Exception/Throwable
Reviewed-by: jjg
2011-04-29 16:05:29 +01:00
Maurizio Cimadamore
f7618cbf97
7040104: javac NPE on Object a[]; Object o = (a=null)[0];
...
When a null literal is found on top of stack, if expected type is 1-dimension array no checkcast is emitted
Reviewed-by: jjg
2011-04-29 16:05:02 +01:00
Jonathan Gibbons
e29746adb0
7029150: Project Coin: present union types from the tree API through to javax.lang.model
...
Reviewed-by: mcimadamore
2011-04-28 15:05:36 -07:00
Mandy Chung
2999ef704d
7037081: Remove com.sun.tracing from NON_CORE_PKGS
...
Reviewed-by: ohair, jjg, jmasa
2011-04-28 08:46:06 -07:00
Christine Lu
2bde5c0ad9
Merge
2011-04-27 19:24:03 -07:00
Bhavesh Patel
ff31734237
7028815: Missing styles for some bulleted items in the new stylesheet
...
Reviewed-by: jjg
2011-04-27 17:13:54 -07:00
Michael Fang
8b9fe06564
7039493: incorporating WPTG translation bug fixes
...
Reviewed-by: yhuang
2011-04-25 20:16:46 -07:00
Jonathan Gibbons
59b6650614
7038363: cast from object to primitive should be for source >= 1.7
...
Reviewed-by: mcimadamore
2011-04-25 15:56:09 -07:00
Maurizio Cimadamore
95e14306e7
7036906: Scope: CompoundScope.getElements() doesn't pass scope filter to subscopes
...
CompoundScope.getElements() is not filtering elements according to the ScopeFilter argument
Reviewed-by: jjg
2011-04-19 13:57:25 +01:00
Bhavesh Patel
fbb8954b52
6758050: javadoc handles nested generic types incorrectly
...
Reviewed-by: jjg
2011-04-18 15:39:16 -07:00
Lana Steuck
a498249cfa
Merge
2011-04-17 16:23:22 -07:00
Kelly O'Hair
39cd646f25
Merge
2011-04-13 16:57:22 -07:00
Jim Holmlund
e9456bc9af
7032975: API files in javax.annotation.processing need to be updated for references to JLS
...
7032972: API files in javax.tools need to updated for references to JVM Spec with editions/hyperlinks
7032978: API files in javax.tools need to be updated for references to JLS with editions/hyperlinks
Removed URLs and 'edition' references
Reviewed-by: jjg, darcy
2011-04-13 11:35:43 -07:00
Maurizio Cimadamore
02daeca60e
7034019: ClassCastException in javac with conjunction types
...
Resolve.mostSpecific doesn't handle case of raw override
Reviewed-by: dlsmith
2011-04-12 20:58:06 -07:00
Maurizio Cimadamore
c46387423a
7034511: Loophole in typesafety
...
Type-variable substutution takes upper bound of replaced captured type-variable
Reviewed-by: dlsmith
2011-04-12 20:56:16 -07:00
Michael Fang
5e01475e7b
Merge
2011-04-11 16:31:22 -07:00
Michael Fang
4220a85daf
7034940: message drop 2 translation integration
...
Reviewed-by: yhuang
2011-04-08 15:25:47 -07:00
Kelly O'Hair
b49579c56c
7033660: Update copyright year to 2011 on any files changed in 2011
...
Reviewed-by: dholmes
2011-04-06 20:33:44 -07:00
Joe Darcy
777c93481f
7033809: Rename "disjunctive" to "union" in javax.lang.model
...
Reviewed-by: mcimadamore, jjg
2011-04-06 19:30:57 -07:00
Alan Bateman
243b526b99
Merge
2011-04-04 19:36:26 +01:00
Bhavesh Patel
0069129f00
7010344: Some of the html files do not have element <a> in right context
...
Reviewed-by: jjg
2011-04-04 10:14:23 -07:00
Alan Bateman
39b8c8c057
7029979: (fs) Path.toRealPath(boolean) should be toRealPath(LinkOption...)
...
Reviewed-by: mcimadamore, jjg
2011-04-04 18:10:38 +01:00
Kumar Srinivasan
e3d10322c1
7028405: (javac) remove unused JSR-292 code
...
Reviewed-by: jrose, mcimadamore
2011-04-03 17:00:50 -07:00
Maurizio Cimadamore
be712a0152
7032633: javac -Xlint:all warns about flush() within try on an auto-closeable resource
...
Missing name check before calling MethodSymbol.overrides causes wrong warnings to be issued
Reviewed-by: jjg
2011-04-01 12:30:13 +01:00
Jonathan Gibbons
cd57e9960f
7031005: javap prints "extends java.lang.Object"
...
Reviewed-by: mcimadamore
2011-03-30 18:32:16 -07:00
Jonathan Gibbons
ce0e6ca247
7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
...
Reviewed-by: darcy, mcimadamore
2011-03-30 18:18:11 -07:00
Maurizio Cimadamore
acf788aa1f
7027157: Project Coin: javac warnings for AutoCloseable.close throwing InterruptedException
...
Javac should warn about use/declaration of AutoCloseable subclasses that can throw InterruptedException
Reviewed-by: jjg
2011-03-29 16:41:18 +01:00
Maurizio Cimadamore
bd9526ecbe
7030150: Type inference for generic instance creation failed for formal type parameter
...
Problem when explicit generic constructor type-arguments are used in conjunction with diamond
Reviewed-by: jjg
2011-03-29 16:40:51 +01:00
Maurizio Cimadamore
bc3a1c60ef
7030606: Project-coin: multi-catch types should be pairwise disjoint
...
Bring javac in sync with latest Project Coin EDR
Reviewed-by: jjg
2011-03-29 16:40:31 +01:00
Maurizio Cimadamore
0a0b5a7a8a
7030687: Diamond: compiler accepts erroneous code where diamond is used with non-generic inner class
...
Diamond accepts non-parameterized member inner classes with parameterized outer because of a bad check
Reviewed-by: jjg
2011-03-29 16:40:07 +01:00
Bhavesh Patel
d5fd66ab02
7001086: NLS: un-used resources should be removed from standard.properties and improper concatenation
...
Reviewed-by: jjg
2011-03-25 15:17:52 -07:00
Jonathan Gibbons
f36dc58a6f
6437138: JSR 199: Compiler doesn't diagnose crash in user code
...
6482554: uncaught exception from annotation processor not reported through JavaCompiler.CompilationTask.call
Reviewed-by: mcimadamore
2011-03-25 07:58:53 -07:00
Jonathan Gibbons
7be50d11b1
6597678: JavaCompiler.getStandardFileManager always uses default charset not the one that user specifies
...
Reviewed-by: mcimadamore
2011-03-24 16:14:30 -07:00
Bhavesh Patel
987d5902c1
7010342: End tag for element P is not open for few html files generated using new javadoc
...
Reviewed-by: jjg
2011-03-23 14:40:18 -07:00
Bhavesh Patel
881add500f
7025314: NLS: translatability violation on standard.properties
...
Reviewed-by: jjg
2011-03-22 18:32:41 -07:00
Lana Steuck
04eb684afe
Merge
2011-03-18 11:00:10 -07:00
Jonathan Gibbons
cc992b27bf
6930508: Passing nested class names on javac command line interfere with subsequent name -> class lookup
...
Reviewed-by: darcy
2011-03-16 17:21:52 -07:00
Maurizio Cimadamore
eb4e1b86cd
6558548: The compiler needs to be aligned with clarified specification of throws
...
Javac should issue unconditional warnings when 'dead' catch clauses are detected
Reviewed-by: jjg
2011-03-16 11:12:26 +00:00
Kelly O'Hair
5c67341d93
Merge
2011-03-15 15:32:21 -07:00
Bhavesh Patel
73407fb7a1
4743537: Help doesn't say what "All Classes" and other links really mean
...
Reviewed-by: jjg
2011-03-15 14:19:00 -07:00
Jonathan Gibbons
a4b1b99eb0
6988079: Errors reported via Messager.printMessage(ERROR,"error message") are not tallied correctly
...
Reviewed-by: darcy
2011-03-15 11:48:55 -07:00
Jonathan Gibbons
13d31713dc
6993311: annotations on packages are not validated
...
Reviewed-by: mcimadamore
2011-03-15 11:04:56 -07:00
Jonathan Gibbons
8f64aeabe2
7026509: Cannot use JavaCompiler to create multiple CompilationTasks for partial compilations
...
Reviewed-by: mcimadamore
2011-03-14 11:48:41 -07:00
Jonathan Gibbons
593927cf2d
7010608: the string 'error' should appear in error messages
...
Reviewed-by: mcimadamore
2011-03-14 11:42:15 -07:00
Jonathan Gibbons
c2e4376861
7026414: Types.asElement() returns null for ErrorType
...
Reviewed-by: darcy
2011-03-14 11:33:33 -07:00
Bhavesh Patel
91cd6261bc
7006178: findbugs high priority issues in new javadoc
...
Reviewed-by: jjg
2011-03-11 15:39:51 -08:00
Joe Darcy
c6006bc605
7026868: Apply specification changes fro 6505047
...
Reviewed-by: jjg
2011-03-11 14:07:11 -08:00
Bhavesh Patel
4f26bca4de
6776656: Incorrect number in 'generated' help-doc.html
...
Reviewed-by: jjg
2011-03-10 14:37:52 -08:00
Michael Fang
1215af2a23
7025324: NLS: t13y fix for 7022005 [ja,zh_CN] javadoc, part of navigation bar in generated html are not translated
...
Reviewed-by: yhuang, ogino, jennyh
2011-03-08 23:43:09 -08:00
Kumar Srinivasan
aa60df6782
7021927: javac: regression in performance
...
Reviewed-by: jjg
2011-03-07 17:39:42 -08:00
Jonathan Gibbons
f71b78ced3
6980021: javac should document @file command line option
...
Reviewed-by: mcimadamore
2011-03-07 13:45:06 -08:00
Maurizio Cimadamore
409b9b8d25
7020044: Project Coin: diamond erroneous allowed on some anonymous inner classes
...
Disallow diamond on anonymous innner class creation expression (as per JSR 334's EDR)
Reviewed-by: jjg
2011-03-07 14:31:50 +00:00
Jan Lahoda
ddaf77107d
7024568: Very long method resolution causing OOM error
...
Resolve.findMethod scans same receiver type more than once in certain inheritance graphs
Reviewed-by: jjg
2011-03-07 14:11:48 +00:00
Jonathan Gibbons
9365637c4a
6964914: javadoc does not output number of warnings using user written doclet
...
Reviewed-by: bpatel
2011-03-04 19:59:04 -08:00
Jonathan Gibbons
75c64565c4
6227454: package.html and overview.html may not be read fully
...
Reviewed-by: bpatel
2011-03-04 19:56:02 -08:00
Jonathan Gibbons
42bc55bf32
6866185: Util.getPackageSourcePath should use lastIndexOf not indexOf and related cleanup
...
Reviewed-by: bpatel
2011-03-04 19:53:03 -08:00
Jonathan Gibbons
cc52e2d413
6966736: javac verbose output is inconsistent
...
Reviewed-by: mcimadamore
2011-03-04 11:33:37 -08:00
Maurizio Cimadamore
f416cac815
7022054: Invalid compiler error on covariant overriding methods with the same erasure
...
Rules for method clash use notion of subsignature, which is sometimes too strict and incompatible with JDK 6
Reviewed-by: jjg
2011-03-03 17:34:58 +00:00
Maurizio Cimadamore
291f04e8c0
7023703: Valid code doesn't compile
...
Leftovers cause problems when analyzing loops in Flow.java
Reviewed-by: jjg
2011-03-03 17:32:35 +00:00
Maurizio Cimadamore
df9296f567
7023233: False positive for -Xlint:try with nested try with resources blocks
...
Wrong lint warning issued about unused resource when nested try-with-resource blocks are found
Reviewed-by: jjg
2011-03-03 09:43:24 +00:00
Jonathan Gibbons
f78030e4f1
6639645: Modeling type implementing missing interfaces
...
Reviewed-by: darcy, mcimadamore
2011-03-02 21:13:55 -08:00
Jonathan Gibbons
ed6677cbba
6986892: confusing warning given after errors in annotation processing
...
Reviewed-by: darcy
2011-03-02 21:06:17 -08:00
Jonathan Gibbons
6c7b14a762
6986895: compiler gives misleading message for no input files
...
Reviewed-by: darcy
2011-03-02 14:03:38 -08:00
Maurizio Cimadamore
45e06252b7
6541876: "Enclosing Instance" error new in 1.6
...
Unqualified 'this' should not be selected in a qualified super() call in a default constructor
Reviewed-by: jjg
2011-03-02 10:56:39 +00:00
Jonathan Gibbons
5fd6eeaa54
7021183: 269: assertion failure getting enclosing element of an undefined name
...
Reviewed-by: mcimadamore
2011-03-01 12:00:06 -08:00
Jonathan Gibbons
36ed816102
7022711: compiler crash in try-with-resources
...
Reviewed-by: mcimadamore
2011-02-28 13:42:24 -08:00
Jonathan Gibbons
148841e5e1
7022741: warning counts are wrong after anno processing
...
Reviewed-by: mcimadamore
2011-02-28 13:37:48 -08:00
Jonathan Gibbons
56d963bdf6
7022337: repeated warnings about bootclasspath not set
...
Reviewed-by: mcimadamore
2011-02-28 12:19:18 -08:00
Maurizio Cimadamore
1683dd4109
7015715: lub gets stuck on type with complex supertype
...
Lub should not scan supertypes unnecessarily
Reviewed-by: jjg, dlsmith
2011-02-28 11:50:56 +00:00
Maurizio Cimadamore
32216fc797
7015430: Incorrect thrown type determined for unchecked invocations
...
Thrown types do not get updated after 15.12.2.8, and do not get erased as per 15.12.2.6
Reviewed-by: jjg, dlsmith
2011-02-28 11:48:53 +00:00
Jonathan Gibbons
a51962066d
7021650: fix Context issues
...
Reviewed-by: mcimadamore
2011-02-25 12:09:33 -08:00
Lana Steuck
b6bfe0166b
Merge
2011-02-23 10:34:45 -08:00
Maurizio Cimadamore
1ae687fbd2
7020657: Javac rejects a fairly common idiom with raw override and interfaces
...
Name clash should not be reported if subinterface/implementing class resolves the clash by defining common overrider
Reviewed-by: jjg
2011-02-23 14:16:12 +00:00
Lana Steuck
f042640a89
Merge
2011-02-21 14:35:12 -08:00
Joe Darcy
dc728d5d5a
7020047: Project Coin: generate null-check around try-with-resources close call
...
Reviewed-by: jjg
2011-02-18 15:55:20 -08:00
Kumar Srinivasan
3b676c4925
7018859: javac turn off the Zip optimization by default
...
Reviewed-by: jjg
2011-02-18 08:12:06 -08:00
Maurizio Cimadamore
7d8c3e9460
7020043: Project Coin: diamond allowed on non-generic type
...
Diamond oerator should be disallowed on non-generic class types (i.e. String)
Reviewed-by: jjg
2011-02-18 12:28:49 +00:00
Dan Smith
f1181c706c
6990136: Cleanup use of Type.clone()
...
Introduced factory methods in class Types which can be used rather than clone().
Reviewed-by: jjg, mcimadamore
2011-02-16 10:27:00 -08:00
Kelly O'Hair
3388e7fb44
Merge
2011-02-15 12:34:33 -08:00
Maurizio Cimadamore
dd20e6fdd7
7017104: improve error reporting for uncaught/undeclared exceptions from try-with-resources
...
Twr should generate better error message when uncaught exceptions are thrown by implicit call of close() method
Reviewed-by: jjg
2011-02-15 11:51:04 +00:00
Maurizio Cimadamore
77f10a1c5f
7017664: Add listeners infrastracture to javac scopes
...
Add listeners to javac scopes, added CompoundScope and correct invalidation logic for ImplementationCache
Reviewed-by: jjg
2011-02-15 11:49:46 +00:00
Michael Fang
200f78309b
Merge
2011-02-11 22:58:59 -08:00
Michael Fang
c800d6ea46
7017734: jdk7 message drop 1 translation integration
...
Reviewed-by: ogino, yhuang
2011-02-10 16:51:53 -08:00
Jonathan Gibbons
caf0257075
6485027: javac incorrectly handles relative paths in manifest classpath
...
Reviewed-by: mcimadamore
2011-02-10 15:05:33 -08:00
Jonathan Gibbons
1406a86c7d
7018098: CacheFSInfo persists too long
...
Reviewed-by: mcimadamore
2011-02-10 14:24:26 -08:00
Daniel Smith
76468b0bcf
7018447: langtools launcher template fails if tools run from their own directory
...
Reviewed-by: jjg
2011-02-09 18:26:08 -08:00
Jonathan Gibbons
c9335a55e1
7010792: remove bad debugging method from javac
...
Reviewed-by: mcimadamore
2011-02-09 14:10:52 -08:00
Peter B. Kessler
fef1c1e816
7017675: typo in JavacParser for allowUnderscoresInLiterals
...
Reviewed-by: dlsmith
2011-02-07 11:42:12 -08:00
Maurizio Cimadamore
dfec6e2301
7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123
...
Override clash algorithm is not implemented correctly
Reviewed-by: jjg
2011-02-07 18:10:13 +00:00
Maurizio Cimadamore
3c0d8e8275
7017414: before the move of JSR 292 to package java.lang.invoke, javac must recognize the new package
...
Added support for future 292 package (support for old location 'java.dyn' will be removed in followup changeset)
Reviewed-by: jjg
2011-02-07 18:09:46 +00:00
Maurizio Cimadamore
f4daf3d7bf
7014715: javac returns different error code for certain failure(s)
...
Javac silently crashes when emitting certain kinds of resolution diagnostics
Reviewed-by: jjg
2011-02-03 09:38:19 +00:00