Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4965689
Votes 0
Synopsis class literal code wastes a byte
Category java:compiler
Reported Against tiger-beta
Release Fixed
State 9-Fix Failed, bug
Priority: 4-Low
Related Bugs
Submit Date 09-DEC-2003
Description
Date: Tue, 09 Dec 2003 09:46:48 -0800
Wrom: SHJEXXIMQZUIVOTQNQEMSFDULHPQQWOY
Subject: ldc class


Just FYI, a lot of ldc of classes are being emitted ldc_w even though 
index < 255.  For example:

% javap -c -private java.awt.Frame | grep ldc_w | grep class
    0:   ldc_w   #85; //class java/awt/Frame
    9:   ldc_w   #85; //class java/awt/Frame
    0:   ldc_w   #85; //class java/awt/Frame
    10:  ldc_w   #85; //class java/awt/Frame
    36:  ldc_w   #85; //class java/awt/Frame
    0:   ldc_w   #85; //class java/awt/Frame
    10:  ldc_w   #85; //class java/awt/Frame
Posted Date : 2005-12-09 00:47:03.0
Work Around
N/A
Evaluation
could be improved.

  xxxxx@xxxxx   2003-12-09
Contribution-Forum:https://jdk-collaboration.dev.java.net/servlets/ProjectForumMessageView?messageID=12635&forumID=1463
Posted Date : 2006-04-12 18:32:14.0

FYI:

The fix for this bug was backed out due to lack of regression tests.
Posted Date : 2009-06-05 16:48:19.0
Comments
  
  Include a link with my name & email   

Submitted On 25-AUG-2008
nmgafter
Why is this bug listed as "fix failed"?  How did the proposed fix "fail"?



PLEASE NOTE: JDK6 is formerly known as Project Mustang