diff options
author | Alex Dupre <ale@FreeBSD.org> | 2010-05-20 15:12:02 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2010-05-20 15:12:02 +0000 |
commit | d566cd0b47f66768916f37258562c90124806bbb (patch) | |
tree | 2ef47aeaf1b7f0b8ba6ff9181ab5c616e8aa7126 /textproc/xstream/files | |
parent | 9c6f658614d0e144731a1f04d0a93ebebbd1b954 (diff) | |
download | ports-d566cd0b47f66768916f37258562c90124806bbb.tar.gz ports-d566cd0b47f66768916f37258562c90124806bbb.zip |
Notes
Diffstat (limited to 'textproc/xstream/files')
-rw-r--r-- | textproc/xstream/files/patch-src_java_com_thoughtworks_xstream_core_JVM.java | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/textproc/xstream/files/patch-src_java_com_thoughtworks_xstream_core_JVM.java b/textproc/xstream/files/patch-src_java_com_thoughtworks_xstream_core_JVM.java deleted file mode 100644 index a3a161be66e9..000000000000 --- a/textproc/xstream/files/patch-src_java_com_thoughtworks_xstream_core_JVM.java +++ /dev/null @@ -1,22 +0,0 @@ ---- src/java/com/thoughtworks/xstream/core/JVM.java.orig 2008-10-14 17:40:37.000000000 +0200 -+++ src/java/com/thoughtworks/xstream/core/JVM.java 2008-10-14 17:47:39.000000000 +0200 -@@ -67,6 +67,10 @@ public class JVM { - return vendor.indexOf("Sun") != -1; - } - -+ private static boolean isDiablo() { -+ return vendor.indexOf("The FreeBSD Foundation") != -1; -+ } -+ - private static boolean isApple() { - return vendor.indexOf("Apple") != -1; - } -@@ -178,7 +182,7 @@ public class JVM { - } - - private boolean canUseSun14ReflectionProvider() { -- return (isSun() || isApple() || isHPUX() || isIBM() || isBlackdown() || isBEAWithUnsafeSupport() || isHitachi() || isSAP()) && is14() && loadClass("sun.misc.Unsafe") != null; -+ return (isSun() || isDiablo() || isApple() || isHPUX() || isIBM() || isBlackdown() || isBEAWithUnsafeSupport() || isHitachi() || isSAP()) && is14() && loadClass("sun.misc.Unsafe") != null; - } - - private boolean canUseHarmonyReflectionProvider() { |