JDK7 b03 compiler fixes

In JDK 7 b03 (open source bundles), these compiler (related) fixes will be included:

4972073: (javac) (compound) same interface allowed twice in compound type
5021635: (javac) Incorrect default inferred type parameter when type params interdependent
5044646: (javac) package-private indirect noninherited generic overriders
5060485: (javac) The scope of a class type parameter is too wide
5061359: (javac) No error for ambiguous member of intersection
5081782: (javac) type arguments to non-generic methods
5082929: (javac) Comparing Float and Integer
6207988: (javac) Missing tree node in Tree.Visitor?
6292765: (javac) java.lang.NullPointerException at Check.checkCompatibleConcretes
6302954: (javac) Inference fails for type variable return constraint
6318240: (javac) Creation of array of inner class of an enclosing wildcard type doesn't work
6402077: (javac) Start position is wrong for package private constructors
6404194: (javac) javac parser generates incorrect end position for annotations with parentheses.
6413682: (javac) Compiler confused about explicit type args and arrays
6423003: (javac) JSR 199: confusing help message with compiler API
6437349: (javac) JSR 199: JavaFileObject.isNameCompatible() will give true with some incompatible kinds
6440333: (javac) SimpleJavaFileObject.toString() generates URI with some extra message
6442504: (javac) Add -source 7 and -target 7 to javac
6452876: (javac) JSR 199: DiagnosticCollector.report(null) should throw NPE
6455452: (javac) JSR 199: unnecessary imports in ForwardingJavaFileObject.java
6457284: (javac) Internationalize "unnamed package" when the term is used in diagnostics
6458819: (JSR 269) Add SourceVersion.RELEASE_7
6468404: (javac) ExecutableElement.getParameters() uses raw type for class loaded from -g bytecode
6471599: (javac) Type of rhs cannot be obtained when assigning to erroneous symbol
6478017: (javac) -Xprint: no commas between type variables
6479385: (JSR 269) Make SourceVersion.latestSupported() work when run unbundled
6481701: (javac) annot00701.html, annot01602m3.html and intf01004m1.html hang while compiling (b102)
6486430: (javac) Compiler fails to reject access to static member in parameterized type
6491592: (javac) Compiler crashes on assignment operator
6491938: (javac) refactor DefaultFileManager to JavacFileManager
6495350: (javac) openjdk: bootstrap on Mac

Thanks to Joe, Jon, and Wei.

I'm not sure when b03 will be available for download from jdk7.dev.java.net or openjdk.dev.java.net. Since the main focus of our organization is releasing JDK 6 right now, JDK 7 is on the back burner. There is good news and bad news about the first JDK 6 update release (6u1). The good news is that 6u1 should be released very soon after JDK 6. The bad news is that the compiler is not considered critical for this release and there will be no compiler back ports to JDK 6u1.

Post a Comment:
Comments are closed for this entry.
Comments:

Shame! I looked at some of the bugs and they seems pretty serious. In my company, we can never ship software with such omissions...

Posted by Hristo on November 21, 2006 at 10:22 PM PST #

So 6292765 is to be fixed after all - my submission has been marked as duplicated for this one staying around in the cold for some time :-/

I sincerely hope that this will fix the compiler such that I can carry on with my generic maths package that I have been put on halt for almost 2 years now...

Posted by Alex Lam on November 26, 2006 at 06:37 PM PST #

Alex Lam, I have used your test case from 6372782 as a regression test. That should guarantee that it never breaks again. This is a tricky area and I have to be very careful about the order things are done.
You may also be interested in 6192945 which I recently fixed. I hope it will be available in b04 or b05.

Posted by Peter von der Ahé on November 26, 2006 at 07:01 PM PST #

Top priority for me is only to relase all the code on OpenJDK thru GPL as commited then get ready for patch review to validate & push them back to RI tree !

Posted by bjb on November 29, 2006 at 07:10 AM PST #

Cool - in fact I keeping bumping into 6192945 while developing (or for most latter part of it, generifying) a web/wap content delivery package.

Even though the fixes wouldn't be of immediate (if any) help to that API package (since the client wants it now), my maths package which would certainly benefit from these Generics fixes. Thank you very much indeed :-)

Comments:

Post a Comment:
Comments are closed for this entry.
About

The Former Weblog of Peter Ahé

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today