1 Reply Latest reply on Mar 29, 2005 10:14 AM by Shigeru Chiba

    long method parameter must be explicitely qualified

    Borislav Iordanov Newbie

      Hi,

      If I have a method 'foo' in some class that takes a long, I can't compile a call like:

      foo(1)

      with javassist, I need to write:

      foo(1L)

      The standard Java compiler does the coersion automatically. Are there plans to do the same in Javassist.

      Thanks,
      Boris