DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36845>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36845


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |ASSIGNED




------- Additional Comments From [EMAIL PROTECTED]  2005-10-02 00:26 -------
Ok, with the attached .class file i am able to reproduce your problem. Thanks!

Here's the javap output for this method:

public void testContentOfWSDDISAnnotated();
  Code:
   Stack=2, Locals=4, Args_size=1
   0:   new     #16; //class java/util/ArrayList
   3:   dup
   4:   invokespecial   #17; //Method java/util/ArrayList."<init>":()V
   7:   astore_1
   8:   aload_1
   9:   invokeinterface #23,  1; //InterfaceMethod java/util/List.iterator:()
Ljava/util/Iterator;
   14:  astore_3
   15:  goto    32
   18:  aload_3
   19:  invokeinterface #29,  1; //InterfaceMethod java/util/Iterator.next:()
Ljava/lang/Object;
   24:  checkcast       #31; //class java/lang/String
   27:  astore_2
   28:  aload_2
   29:  ifnonnull       32
   32:  aload_3
   33:  invokeinterface #35,  1; //InterfaceMethod java/util/Iterator.hasNext:
()Z
   38:  ifne    18
   41:  return
  LineNumberTable:
   line 9: 0
   line 13: 8
   line 14: 28
   line 13: 35
   line 18: 41

-------------

Notice the LineNumberTable's 4th entry:

line 13:35

this says source line 13 is at byte offset 35. But notice that byte offset 35 
is _not_ a valid instruction start. It looks like a bug in the tool that 
generated this class file, to me.

it probably should have been

line 13:32

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to