Results 1 to 3 of 3
  1. #1
    vanisree is offline Member
    Join Date
    Nov 2011
    Posts
    2
    Rep Power
    0

    Default Javassist Usage, pros & Cons

    Hi Team,

    I am searching for the tool,which gives the data of the method args during runtime.
    I had thought javassist(byte Code manipulation tool) is one tool through which we can change the implementation of a class at runtime.
    can it give the data/value of the method args during runtime.
    suppose my class is like this,
    Class1{
    mthdA(int a) {syso("Val of A"+a);}
    main(String args[]){
    int b=3;
    mthdA(b);
    }
    }
    In the above class can i hack the value of "a"
    can anyone suggest any other tool by which we can get the data/value of the method args during runtime.
    Along with can anyone give the info/. about "javassist".

    Thanks in advance
    vani

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,436
    Blog Entries
    7
    Rep Power
    20

    Default Re: Javassist Usage, pros & Cons

    Eclipse can do it, why reinvent the wheel?

    kind regards,

    Jos

    ps. your code doesn't even compile ...
    cenosillicaphobia: the fear for an empty beer glass

  3. #3
    vanisree is offline Member
    Join Date
    Nov 2011
    Posts
    2
    Rep Power
    0

    Default Re: Javassist Usage, pros & Cons

    Hi Jos,

    can you give me some info, on how to get the dynamic data during runtime.
    while debugging we will be getting the method args data rite,i need that data.
    will javassist give that data( it seems javassist will give the class infor/. and the methods ,args names only(my assumption)).
    is there any tool to crack that data.

    Thanks in advance
    vani
    Last edited by vanisree; 11-03-2011 at 03:39 PM.

Similar Threads

  1. Replies: 20
    Last Post: 05-17-2011, 12:31 PM
  2. Javassist with Maven
    By pcman312 in forum Advanced Java
    Replies: 2
    Last Post: 02-01-2011, 09:42 PM
  3. Replies: 10
    Last Post: 10-29-2009, 08:03 PM
  4. What the the Pros of Java vs. other languages?
    By shintashi in forum New To Java
    Replies: 1
    Last Post: 07-26-2009, 02:55 AM
  5. Pros and Cons in Java
    By Ninabob in forum New To Java
    Replies: 5
    Last Post: 08-31-2008, 09:35 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •