-
Bug
-
Resolution: Fixed
-
P4
-
1.1, 1.3.0
-
beta
-
generic, x86
-
generic, windows_95
Name: mc57594 Date: 02/27/97
java\awt\menu.java (358)
The 'throws' spec for java.awt.Menu.writeObject is
incorrect according to the Java Language Specification.
The class 'java.lang.ClassNotFoundException' *IS NOT*
an unchecked exception. The Sun javac compiler has
a bug because an unchecked exception is by definition
any class derived from 'java.lang.Error' or
'java.lang.RuntimeException'. ClassNotFoundException
is not a subclass of either of these classes.
Further support:
11.5.1.2 in the JLS explicitly states that ClassNotFoundException
is a checked exception class.
company - Sybase Waterloo , email - ###@###.###
======================================================================