Commit Graph

526 Commits

Author SHA1 Message Date
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
Jim Holmlund
089c11bb9b 7052782: Two langtools regression tests fail due to fix for 7034977 which removed the invokeGeneric method
Change the tests to call invoke instead of invokeGeneric

Reviewed-by: jrose, mcimadamore
2011-06-09 09:13:50 -07:00
Lana Steuck
e9d626d5ec Merge 2011-06-02 13:38:55 -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
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
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
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
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
Joe Darcy
90c0a645c2 7039822: Project Coin: add explicit tests for the lub of an exception parameter
Reviewed-by: mcimadamore, jjg
2011-04-27 17:03:24 -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
Jonathan Gibbons
94164d4b45 7039019: test cannot run standalone
Reviewed-by: dlsmith
2011-04-25 15:50:30 -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
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
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
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
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
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
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