734 Commits

Author SHA1 Message Date
Maurizio Cimadamore
fbf72650b9 6980862: too aggressive compiler optimization causes stale results of Types.implementation()
Use a scope counter in order to determine when/if the implementation cache entries are stale

Reviewed-by: jjg
2010-09-18 09:54:51 -07:00
Christine Lu
a8cfef66b3 Added tag jdk7-b110 for changeset a74f1fdb0bb8 2010-09-16 15:13:23 -07:00
Lana Steuck
dc37688eb9 Merge 2010-09-16 11:20:36 -07:00
Jonathan Gibbons
e0caf9f660 6985115: tests create too much output
Reviewed-by: mcimadamore
2010-09-16 09:57:37 -07:00
Jonathan Gibbons
1144807f1f 6985181: Annotations lost from classfile
Reviewed-by: mcimadamore
2010-09-16 09:56:25 -07:00
Christine Lu
7880134a10 Merge 2010-09-15 13:41:14 -07:00
Jonathan Gibbons
e3c7ca0c53 6978974: [langtools] <findbugs> task should use ${target.java.home}
Reviewed-by: mcimadamore
2010-09-13 11:40:58 -07:00
Jesse Glick
0d2b8790d3 6965264: langtools build should use ${ant.core.lib} instead of ${ant.home}/lib/ant.jar
Reviewed-by: mcimadamore
2010-09-13 11:35:27 -07:00
Kelly O'Hair
fd65dbfc50 6982137: Rebranding pass 2 - missed copyright changes
Reviewed-by: mbykov
2010-09-09 16:29:40 -07:00
Christine Lu
e179cdf2fb Added tag jdk7-b109 for changeset e14215cd81b9 2010-09-09 15:08:03 -07:00
Christine Lu
bca2254386 Merge 2010-09-09 13:49:03 -07:00
Jonathan Gibbons
949983f6b0 6983239: TreeScanner does not scan default value for method
Reviewed-by: mcimadamore
2010-09-09 13:31:28 -07:00
Athijegannathan Sundararajan
a5aa8a0943 6900149: IllegalStateException when compiling same files and DiagnosticListener is set
Reviewed-by: jjg
2010-09-09 09:42:45 +05:30
Kelly O'Hair
f44a7ee069 Merge 2010-09-07 15:49:48 -07:00
Kelly O'Hair
8890e99b2c 6982946: Change make/jprt.properties to defer to JPRT itself for jdk platform list
Reviewed-by: kamg
2010-09-07 15:14:49 -07:00
Maurizio Cimadamore
4da9c57770 6970584: Flow.java should be more error-friendly
Added a post-attribution visitor that fixup uninitialized types/symbol in AST after erroneous attribution

Reviewed-by: jjg
2010-09-07 17:33:43 +01:00
Maurizio Cimadamore
c1ac5e8862 6981185: com.sun.tools.model.JavacTypes.contains() calls Type.contains instead of Types.containsType
Wrong implementation is causing trivial containment tests to fail unexpectedly (when such tests are executed using compiler API)

Reviewed-by: jjg
2010-09-07 17:32:52 +01:00
John Rose
cd74d63c12 6979327: method handle invocation should use casts instead of type parameters to specify return type
Infer return type for polymorphic signature calls according to updated JSR 292 draft

Reviewed-by: jjg
2010-09-07 17:32:27 +01:00
Maurizio Cimadamore
73825fc885 6337171: javac should create bridge methods when type variable bounds restricted
Javac should add synthetic overrides for inherited abstract methods in order to preserve binary compatibility

Reviewed-by: jjg
2010-09-07 17:31:54 +01:00
Jonathan Gibbons
c09fe5cafb 6930507: Symbols for anonymous and local classes made too late for use by java tree API
Reviewed-by: mcimadamore
2010-09-06 12:55:09 -07:00
Christine Lu
990a6d67a1 Added tag jdk7-b108 for changeset 44d515c5b5b6 2010-09-03 12:50:19 -07:00
Lana Steuck
5b58b51e22 Merge 2010-09-03 12:00:21 -07:00
Athijegannathan Sundararajan
977ad1ae6a 6956462: AssertionError exception thrown in the Compiler Tree API in JDK 7
Reviewed-by: jjg
2010-09-03 12:36:43 +05:30
Athijegannathan Sundararajan
60cf6eb1de 6458823: Messager messages on TypeParamterElements to not include position information
Reviewed-by: jjg
2010-09-03 11:25:43 +05:30
Lana Steuck
3069fdf9a9 Merge 2010-09-02 22:11:39 -07:00
Jonathan Gibbons
753b8d0fea 6921495: spurious semicolons in class def cause empty NOPOS blocks
Reviewed-by: mcimadamore
2010-09-02 18:26:21 -07:00
Athijegannathan Sundararajan
183a7b7797 6458749: TypeParameterElement.getEnclosedElements throws NPE within javac
Reviewed-by: jjg
2010-09-02 23:10:05 +05:30
John R Rose
ca3dbff3f8 6979683: inconsistent interaction of reference cast with box/unbox conversions leaves out a useful case
Allow casts which narrow and then unbox.

Reviewed-by: mcimadamore
2010-09-01 03:19:16 -07:00
Jonathan Gibbons
0930f81131 6403465: javac should defer diagnostics until it can be determined they are persistent
Reviewed-by: mcimadamore, darcy
2010-08-30 18:03:35 -07:00
Lana Steuck
0c82e12244 Merge 2010-08-29 22:42:08 -07:00
Jonathan Gibbons
e96eb944c2 6980707: Reduce use of IOException in JavaCompiler
Reviewed-by: darcy
2010-08-27 17:59:08 -07:00
Jonathan Gibbons
fba51e328b 6570730: com.sun.source.tree.ModifiersTree.getFlags() should return class type
Reviewed-by: mcimadamore
2010-08-27 17:21:17 -07:00
Jonathan Gibbons
99d83d8d85 6980724: test/tools/javac/InterfaceAssert.java sometimes fails
Reviewed-by: darcy
2010-08-27 17:14:51 -07:00
Christine Lu
38d1512949 Added tag jdk7-b107 for changeset c3c1f7961b1a 2010-08-26 16:17:15 -07:00
Jonathan Gibbons
98f8b67c3a 6980017: javap -XDdetail:source behaves badly if source not available
Reviewed-by: ksrini
2010-08-26 16:13:33 -07:00
Jonathan Gibbons
de9921986c 6604599: ToolProvider should be less compiler-specific
Reviewed-by: darcy
2010-08-26 15:17:17 -07:00
Naoto Sato
34fda8a36d 6875847: Java Locale Enhancement
Fix for javac to allow "sun.util.locale" package accessible.

Reviewed-by: jjg
2010-08-25 15:31:46 -07:00
Jonathan Gibbons
37fcc133f6 6960424: new option -Xpkginfo for better control of when package-info.class is generated
Reviewed-by: mcimadamore
2010-08-25 11:40:25 -07:00
Jonathan Gibbons
0e1661c2f1 6979564: ":" for path separator in dist/bin/javac does not work on Windows
Reviewed-by: jjh
2010-08-25 11:24:30 -07:00
Jonathan Gibbons
19a9622303 6929404: Filer.getResource(SOURCE_PATH, ...) does not work when -sourcepath contains >1 entry
Reviewed-by: darcy
2010-08-24 15:09:21 -07:00
Jonathan Gibbons
d6c5c969f0 6935638: -implicit:none prevents compilation with annotation processing
Reviewed-by: darcy
2010-08-24 11:31:00 -07:00
Lana Steuck
026d5787bb Merge 2010-08-23 19:14:55 -07:00
Jonathan Gibbons
c12f12ce8e 6976747: JCDiagnostic: replace "boolean mandatory" with new "Set<JCDiagnostic.Flag>"
Reviewed-by: mcimadamore
2010-08-23 15:13:33 -07:00
Jonathan Gibbons
c72513c86b 6975005: improve JavacProcessingEnvironment.Round abstraction
Reviewed-by: darcy
2010-08-23 11:56:53 -07:00
Maurizio Cimadamore
92de62f50b 6978574: return statement in try block with multi-catch causes ClassFormatError
Wrong nested loops in Gen.java causes javac to generate bad bytecode

Reviewed-by: jjg
2010-08-23 17:00:07 +01:00
Maurizio Cimadamore
f5dd0bab3f 6932571: Compiling Generics causing Inconvertible types
Types.rewriteQuantifiers() does not work well with recursive type-variable bounds

Reviewed-by: jjg
2010-08-23 16:59:30 +01:00
Christine Lu
d13610cef5 Added tag jdk7-b106 for changeset 9af6b80c6f4b 2010-08-19 15:13:23 -07:00
Maurizio Cimadamore
634d001c64 6977800: Regression: invalid resolution of supertype for local class
Resolution of superclass/superinterfaces in extends/implements clause skips local classes

Reviewed-by: jjg
2010-08-19 11:54:25 +01:00
Maurizio Cimadamore
d56e09153a 6885255: Improve usability of raw warnings
Raw warnings should be disabled in (i) instanceof expressions and (ii) when java.lang.Class is not parameterized

Reviewed-by: jjg
2010-08-19 11:52:58 +01:00
Maurizio Cimadamore
71962ebfb0 6886247: regression: javac crashes with an assertion error in Attr.java
Capture conversion does not work on nested types

Reviewed-by: jjg
2010-08-19 11:50:50 +01:00