Browse files

remove stacktraces.

  • Loading branch information...
1 parent f4801ea commit 5fdc9635ae9c6b02faff822ac2d94bba44297375 @the8472 committed Jan 6, 2013
Showing with 0 additions and 3 deletions.
  1. +0 −3 src/org/jruby/util/unsafe/UnsafeHolder.java
View
3 src/org/jruby/util/unsafe/UnsafeHolder.java
@@ -49,7 +49,6 @@ private UnsafeHolder(){}
f.setAccessible(true);
return (sun.misc.Unsafe) f.get(null);
} catch (Exception e) {
- e.printStackTrace();
return null;
}
}
@@ -74,7 +73,6 @@ private static boolean supportsFences() {
if(m != null)
return true;
} catch (Exception e) {
- e.printStackTrace();
}
return false;
}
@@ -85,7 +83,6 @@ public static long fieldOffset(Class clazz, String name) {
try {
return U.objectFieldOffset(clazz.getDeclaredField(name));
} catch (Exception e) {
- e.printStackTrace();
return sun.misc.Unsafe.INVALID_FIELD_OFFSET;
}
}

0 comments on commit 5fdc963

Please sign in to comment.