-
Bug
-
Resolution: Won't Fix
-
P4
-
None
-
1.2.0
-
sparc
-
solaris_2.5.1
Name: akC45999 Date: 09/03/98
No explicit limitations of object size are described in JVM Spec
(implicit limitation is 65535*8 bytes).
However VM limits the size of object to 64K bytes:
if the size of object is more than 64K bytes,
VM (JDK1.2fcsH) throws
java.lang.IternalError: exceeding the 64K byte object size limit.
To reproduce run JCK 1.2beta4 test
vm/classfmt/lmt/fldnum001/fldnum00101m1/fldnum00101m1.html
The test tries to load valid class with 65535 various length fields.
This test used to pass before fix of security bug#4169277.
======================================================================
allan.jacobs@Eng 1998-09-14
The test vm/classfmt/lmt/mthnum/mthnum001/mthnum00101m1/mthnum00101m1.html
also fails, too.
algol% setenv JDK /net/mulder.eng/export/mulder3/jdk12x/sparc/jdk1.2FCS_I
algol% setenv JCK /net/jde1.eng/export/jtech16/jck12b4
algol% setenv CLASSPATH ${JCK}/classes:${JCK}/javatest.jar
algol% ${JDK}/bin/java javasoft.sqe.tests.vm.classfmt.lmt.mthnum001.mthnum00101m1.mthnum00101m1
test mthnum00101m1 failed to load good classfile mthnum00101m1p: java.lang.InternalError: exceed 64K method table size limit
- relates to
-
JDK-4173669 VM limits the number of methods to 64K.
- Closed