diff options
author | Xerxes Rånby <[email protected]> | 2013-01-18 16:25:59 +0100 |
---|---|---|
committer | Xerxes Rånby <[email protected]> | 2013-01-18 16:25:59 +0100 |
commit | 2b7d1b1d25cb2cd73311ec9159b465f0391bf5e0 (patch) | |
tree | fef05074f0e4c5c67caeaa68a39402212befd226 /src/java/jogamp/common/os/android/StaticContext.java | |
parent | 9c1c6d49e11574d8afe351a8100872a645ccdd36 (diff) |
Buffer.isDirect() operation is undefined w/ Eclipse ecj and GCJ gij JRE.
Fix for the runtime error using GCJ gij JRE:
java.lang.NoSuchMethodError: method java.nio.Buffer.isDirect with signature ()Z was not found.
at com.jogamp.common.nio.Buffers.isDirect(Buffers.java:363)
Also Eclipse ecj refuses to compile code using java.nio.Buffer.isDirect().
----------
1. ERROR
...
return ((Buffer) buf).isDirect();
^^^^^^^^
The method isDirect() is undefined for the type Buffer
Signed-off-by: Xerxes Rånby <[email protected]>
Diffstat (limited to 'src/java/jogamp/common/os/android/StaticContext.java')
0 files changed, 0 insertions, 0 deletions