Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 14706 Details for
Bug 74594
[1.5] ClassFormat error when running this example
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Second test case. Compile this test case in -source 1.5 -1.5
X.java (text/plain), 482 bytes, created by
Olivier Thomann
on 2004-09-22 12:17:32 EDT
(
hide
)
Description:
Second test case. Compile this test case in -source 1.5 -1.5
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2004-09-22 12:17:32 EDT
Size:
482 bytes
patch
obsolete
>public class X { > public static void main(String argv[]) { > X1<Integer> o = new X1<Integer>(new Integer(4)); > System.out.println(o.get().t); > } >} > >class X1<T> implements I<T> { > T t; > X1(T arg) { > t = arg; > } > public X1 get() { > return this; > } >} > >interface I<T> extends K<T>, L<T> { > I get(); >} > >interface J<T> { > J get(); >} > >interface K<T> extends J<T> { >} > >interface L<T> { > K get(); >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 74594
:
14705
| 14706 |
15436