From aa8298ecdf2767f6c65235a1beb51198588e09c8 Mon Sep 17 00:00:00 2001 From: "Sha..rd" Date: Sat, 25 Feb 2012 23:01:31 +0000 Subject: [PATCH] * Fixed BufferUtils on android when used on non bytebuffers git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9211 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/core/com/jme3/util/BufferUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/core/com/jme3/util/BufferUtils.java b/engine/src/core/com/jme3/util/BufferUtils.java index b7669f56b..2e59e9787 100644 --- a/engine/src/core/com/jme3/util/BufferUtils.java +++ b/engine/src/core/com/jme3/util/BufferUtils.java @@ -1179,7 +1179,7 @@ public final class BufferUtils { viewedBufferMethod = loadMethod("sun.nio.ch.DirectBuffer", "viewedBuffer"); // Apache Harmony - freeMethod = loadMethod("java.nio.DirectByteBuffer", "free"); + freeMethod = loadMethod("org.apache.harmony.nio.internal.DirectBuffer", "free"); // GUN Classpath (not likely) //finalizeMethod = loadMethod("java.nio.DirectByteBufferImpl", "finalize");