-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
1.2.0
-
sparc
-
solaris_2.4
Name: akC45999 Date: 12/01/98
The specification of java.lang.ClassLoader.DefineClass() (both in API and VM doc)
does not define which exception (if any) must be thrown when the attempt is made
to define a class which is already loaded.
In this case different JDK versions demonstrate different reactions:
1) JDK-116a throws ClassFormatError
2) JDK-1.2-U throws LinkageError
We know some licensees do not throw any exceptions and allow to rewrite
already loaded class.
========================================================================
======================================================================