0 Replies Latest reply on Jul 25, 2013 6:46 PM by rrajamani

    javassist compiling/casting Integers as strings

    rrajamani

      Hi,

      I"m a new javassist user and noticed that the following code is resulting in a value of 1599 instead of 114.  Makes me think that the integers are getting cast as Strings.  How can I overcome this issue?

       

      public void eval(void) {Integer dsi = new Integer(15); Integer bsi = new Integer(99); Integer nsi = dsi + bsi;System.out.println(nsi);}