From e86acf45431d4d4a5837ac14576cef4025299c31 Mon Sep 17 00:00:00 2001 From: JET Date: Fri, 2 Jan 2009 13:25:05 -0700 Subject: [PATCH] added separator to String and added IOException to vm.pro --- classpath/java/io/File.java | 2 ++ vm.pro | 1 + 2 files changed, 3 insertions(+) diff --git a/classpath/java/io/File.java b/classpath/java/io/File.java index 0f91ebb746..96697c9af2 100644 --- a/classpath/java/io/File.java +++ b/classpath/java/io/File.java @@ -14,6 +14,8 @@ public class File { private static final String FileSeparator = System.getProperty("file.separator"); + public static final String separator = FileSeparator; + // static { // System.loadLibrary("natives"); // } diff --git a/vm.pro b/vm.pro index 7e024896ce..ad77a5eb57 100644 --- a/vm.pro +++ b/vm.pro @@ -50,6 +50,7 @@ -keep public class java.lang.ExceptionInInitializerError -keep public class java.lang.OutOfMemoryError -keep public class java.lang.reflect.InvocationTargetException +-keep public class java.io.IOException # ClassLoader.getSystemClassloader() depends on the existence of this class: