From 767ecc854f4217b1bd43180bab7b23b4c56e03c8 Mon Sep 17 00:00:00 2001 From: Atsushi Eno Date: Thu, 31 Jan 2013 19:58:34 +0900 Subject: [PATCH] print error details when asm or java failed to read class bytecode. Seealso http://forums.xamarin.com/discussion/973/problems-binding-jar#latest --- JavaArchive.java | 1 + 1 file changed, 1 insertion(+) diff --git a/JavaArchive.java b/JavaArchive.java index babeec0..b7ea00f 100644 --- a/JavaArchive.java +++ b/JavaArchive.java @@ -94,6 +94,7 @@ void getPackages (HashMap packages, JarFile file) } pkg.addClass (new JavaClass (c, node)); } catch (Throwable t) { + t.printStackTrace (); System.err.println ("warning J2X9001: Couldn't load class " + name + " : " + t); } }