Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Letters in stack trace

 
Kriss Reddy
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Henry Wong
author
Marshal
Pie
Posts: 20894
75
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Henry Wong
author
Marshal
Pie
Posts: 20894
75
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Marshal
Pie
Posts: 20894
75
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
does JVM place these letters?


Not sure of what you are asking here ...

Henry
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic