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 29637 Details for
Bug 115693
[1.5][compiler] Unnecessary double checkcast instruction emmited
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Incorrect bytecode with double checkcast
D-double.jad (text/plain), 1.21 KB, created by
dpr
on 2005-11-09 15:30:07 EST
(
hide
)
Description:
Incorrect bytecode with double checkcast
Filename:
MIME Type:
Creator:
dpr
Created:
2005-11-09 15:30:07 EST
Size:
1.21 KB
patch
obsolete
>// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov. >// Jad home page: http://www.kpdus.com/jad.html >// Decompiler options: packimports(3) annotate fieldsfirst >// Source File Name: D.java > >import java.io.PrintStream; > >public class D >{ > > public D() > { > // 0 0:aload_0 > // 1 1:invokespecial #9 <Method void Object()> > // 2 4:return > } > > public static void main(String args[]) > { > C c = (C)(C)C.instance("X").label("Y"); > // 0 0:ldc1 #17 <String "X"> > // 1 2:invokestatic #23 <Method C C.instance(String)> > // 2 5:ldc1 #25 <String "Y"> > // 3 7:invokevirtual #29 <Method B C.label(String)> > // 4 10:checkcast #19 <Class C> > // 5 13:checkcast #19 <Class C> > // 6 16:astore_1 > System.out.println(c.toString()); > // 7 17:getstatic #35 <Field PrintStream System.out> > // 8 20:aload_1 > // 9 21:invokevirtual #39 <Method String Object.toString()> > // 10 24:invokevirtual #45 <Method void PrintStream.println(String)> > // 11 27:return > } >}
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 115693
:
29635
|
29636
| 29637