[request for review] 4877954: RFE: Special syntax for core interfaces

Dmytro Sheyko dmytro_sheyko at hotmail.com
Tue Nov 13 14:30:31 PST 2007


Hi,

I've made some changes to patch:

1. big*Type in Symtab were removed and Lower.visitBinary() was rewritten 
using Types.unboxedType() (as Remi Forax suggested)

2. 'genuine comparable method' is choosen rather than its bridge 
(Lower.visitBinary).

3. bug fixed: following code was mistakenly rejected by compiler:

   static <B, A extends Comparable<? super B>> boolean lt1(A a, B b) {
      return a < b;
   }

I have attached new svn diff and jtreg tests I used. 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RFE4877954-comp.diff
Type: application/octet-stream
Size: 8350 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20071113/629d8bd7/RFE4877954-comp.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tests.jar
Type: application/octet-stream
Size: 9092 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20071113/629d8bd7/tests.jar 


More information about the compiler-dev mailing list