/hg/icedtea-web: Print stacktrace for ClassFormatError's during ...

adomurad at icedtea.classpath.org adomurad at icedtea.classpath.org
Fri Mar 22 07:12:28 PDT 2013


changeset 7543d0b4e502 in /hg/icedtea-web
details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=7543d0b4e502
author: Adam Domurad <adomurad at redhat.com>
date: Fri Mar 22 10:13:34 2013 -0400

	Print stacktrace for ClassFormatError's during classloading


diffstat:

 ChangeLog                                              |  5 +++++
 netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java |  1 +
 2 files changed, 6 insertions(+), 0 deletions(-)

diffs (23 lines):

diff -r 8a7fa31629d0 -r 7543d0b4e502 ChangeLog
--- a/ChangeLog	Fri Mar 22 14:27:12 2013 +0100
+++ b/ChangeLog	Fri Mar 22 10:13:34 2013 -0400
@@ -1,3 +1,8 @@
+2013-03-22  Adam Domurad <adomurad at redhat.com>
+
+	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
+	(findClass): Print stacktrace for ClassFormatError
+
 2013-03-22  Jiri Vanek <jvanek at redhat.com>
 
 	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImpl.java:
diff -r 8a7fa31629d0 -r 7543d0b4e502 netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
--- a/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java	Fri Mar 22 14:27:12 2013 +0100
+++ b/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java	Fri Mar 22 10:13:34 2013 -0400
@@ -1725,6 +1725,7 @@
                 }
             } catch (ClassNotFoundException ex) {
             } catch (ClassFormatError cfe) {
+                cfe.printStackTrace();
             } catch (PrivilegedActionException pae) {
             } catch (NullJnlpFileException ex) {
                 throw new ClassNotFoundException(this.mainClass + " in main classloader ", ex);



More information about the distro-pkg-dev mailing list