2 Replies Latest reply on Mar 12, 2004 5:03 AM by jmarranz

    Error compiling AnyNameClassOrInterface.class

    jmarranz Newbie

      Javassist 2.6 doesn´t compile the singleton expression:

      Class cls = AnyNameClassOrInterface.class;

      inside a body source doing CtNewMethod.make

      Perhaps the parser doesn't recognize .class as especial static member (does Javassist thinks is a package...?)