aspose file tools*
The moose likes Beginning Java and the fly likes Letters in stack trace Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Letters in stack trace" Watch "Letters in stack trace" New topic
Author

Letters in stack trace

Kriss Reddy
Ranch Hand

Joined: Mar 29, 2005
Posts: 54
Hello All,

What is the significance or meaning of letters L, I, V next to methods or classes in the java stack trace?

Example stack trace [not a real one] :
some exception .......
at com.xyz.abc.aMethod(Ljava.lang.String;)
at com.xyz.app.bore.Helper.saveObject(Lcom.xyz.Id;Lcom.DocMethod;)V(Helper.java:180)

Let me know if the post is not clear.
Thanks.


Kriss.
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18988
    
  40

What is the significance or meaning of letters L, I, V next to methods or classes in the java stack trace?



L = Object type (name terminated by semicolon)
I = Integer type
V = Void type

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18988
    
  40

For more details, see this page (under type signatures)....

http://java.sun.com/j2se/1.5.0/docs/guide/jni/spec/types.html


Henry
Kriss Reddy
Ranch Hand

Joined: Mar 29, 2005
Posts: 54
Hello Henry,
Many Thanks for your quick and easy reply and pointer. I do not have a clue about JNI [ added to my 'To read List']. If you excuse me another lazy question: does JVM place these letters?

Thanks.
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18988
    
  40

does JVM place these letters?


Not sure of what you are asking here ...

Henry
 
 
subject: Letters in stack trace