--- old/src/java.base/share/classes/java/lang/ClassNotFoundException.java 2014-10-21 12:05:55.583203509 +0200 +++ new/src/java.base/share/classes/java/lang/ClassNotFoundException.java 2014-10-21 12:05:55.453205908 +0200 @@ -97,6 +97,23 @@ } /** + * Constructs a stack-less ClassNotFoundException + * with the specified detail message, optional exception that was + * raised while loading the class and the name of the throwing + * entity (usually a runtime class name of the instance throwing + * this exception). + * + * @param s the detail message + * @param ex the exception that was raised while loading the class + * @param wst whether or not the stack trace should be writable + * and filled-in + */ + ClassNotFoundException(String s, Throwable ex, boolean wst) { + super(s, null, true, wst); + this.ex = ex; + } + + /** * Returns the exception that was raised if an error occurred while * attempting to load the class. Otherwise, returns null. *