assets/src/org/ruboto/JRubyAdapter.java in ruboto-1.1.0 vs assets/src/org/ruboto/JRubyAdapter.java in ruboto-1.1.1

- old
+ new

@@ -155,10 +155,11 @@ // Used to enable JRuby to generate proxy classes System.setProperty("jruby.ji.proxyClassFactory", "org.ruboto.DalvikProxyClassFactory"); System.setProperty("jruby.ji.upper.case.package.name.allowed", "true"); System.setProperty("jruby.class.cache.path", appContext.getDir("dex", 0).getAbsolutePath()); + System.setProperty("java.io.tmpdir", appContext.getCacheDir().getAbsolutePath()); // FIXME(uwe): Simplify when we stop supporting android-15 if (Build.VERSION.SDK_INT >= 16) { DexDex.debug = true; DexDex.validateClassPath(appContext); @@ -390,10 +391,11 @@ // TODO(uwe): Simplify this when Issue #144 is resolved // TODO(scott): printStackTrace is causing too many problems //try { // t.printStackTrace(output); //} catch (NullPointerException npe) { - // TODO(uwe): printStackTrace should not fail + // TODO(uwe): t.printStackTrace() should not fail + System.err.println(t.getClass().getName() + ": " + t); for (java.lang.StackTraceElement ste : t.getStackTrace()) { output.append(ste.toString() + "\n"); } //} }