Commit Graph

947 Commits

Author SHA1 Message Date
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
b540a63a84 7009599: javac build puts extraneous files into dist/lib/classes.jar
Reviewed-by: ohair
2011-03-25 07:39:30 -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
Suchen Chien
6f2c41beec Added tag jdk7-b134 for changeset fbf4a969ccba 2011-03-17 14:33:12 -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
Kumar Srinivasan
733707ac37 7026359: (langtools) fix big jar test
Reviewed-by: jjg
2011-03-16 09:41:30 -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
d52a948474 6987384: -XprintProcessorRoundsInfo message printed with different timing than previous
Reviewed-by: darcy
2011-03-15 11:41:21 -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
Michael Fang
4d98914744 Merge 2011-03-13 14:41:25 -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
Lana Steuck
59ccd77845 Merge 2011-03-10 20:51:07 -08:00
Christine Lu
a609621069 Added tag jdk7-b133 for changeset 527e04a21c75 2011-03-10 17:11:19 -08:00
Bhavesh Patel
4f26bca4de 6776656: Incorrect number in 'generated' help-doc.html
Reviewed-by: jjg
2011-03-10 14:37:52 -08:00
Maurizio Cimadamore
bb05a1437c 7025988: Test test/tools/javac/file/zip/T6836682.java takes too long to complete
Added @ignore tag to temporarily disable the test

Reviewed-by: jjg
2011-03-09 16:47:39 +00: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
Lana Steuck
b8d95b25f0 Merge 2011-03-07 11:37:54 -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
David Katleman
e4307eeefe Added tag jdk7-b132 for changeset 83cbfe0a919f 2011-03-03 14:13:21 -08:00
Maurizio Cimadamore
7b3d32182e 7024212: TestWarnErrorCount fails
TestWarnErrorCount should be executed with -Xlint:all,-path to avoid spurious failures

Reviewed-by: jjg
2011-03-03 18:05:52 +00: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