JDK-4881362 : generics: crash with conjunction types
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 5.0
  • Priority: P3
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: solaris_8
  • CPU: generic
  • Submitted: 2003-06-19
  • Updated: 2003-11-12
  • Resolved: 2003-11-12
Related Reports
Relates :  
Description
Date: Tue, 08 Apr 2003 10:39:05 +0200
From: Mads Torgersen <###@###.###>
To: Neal M Gafter <###@###.###>
Subject: Classes in conjunction types

Toying with conjunction types, I managed to make the compiler choke on the
following program:

public class Inference {
  class A {}
  interface B {}
  class Foo<T extends A & B>{}
}

Try it out!

It turns out that if I change A to be an interface, there are no problems.

			/Mads

Comments
EVALUATION Not good. ###@###.### 2003-06-20 I could not reproduce this problem. ###@###.### 2003-09-29
20-06-2003