4 Replies Latest reply on Feb 21, 2008 8:35 AM by Martin Burger

    Byte code limits?

    Tom Traughber Newbie

      Are there limits (beyond normal VM limits) on how much code can be generated for a class? In my experiments it appears that after roughly 8,200 statements within a class, the offsets in the opcode get stored wrong to where I get a ClassCastException thrown from within ConstPool.getMethodrefName(). It appears an instance of NameAndTypeInfo is being returned instead of a MethodrefInfo.