29package com.jogamp.common.util;
31import java.nio.ByteBuffer;
32import java.security.PrivilegedAction;
34import org.junit.Assert;
35import org.junit.BeforeClass;
38import com.jogamp.common.nio.Buffers;
39import com.jogamp.common.os.Platform;
40import com.jogamp.junit.util.SingletonJunitCase;
42import org.junit.FixMethodOrder;
43import org.junit.runners.MethodSorters;
45@FixMethodOrder(MethodSorters.NAME_ASCENDING)
49 public static void init() {
60 public Boolean run() {
64 Assert.assertEquals(Boolean.TRUE, res);
72 Assert.assertEquals(a0, a1);
75 public static void main(
final String args[]) {
77 org.junit.runner.JUnitCore.
main(tstname);
Utility methods allowing easy java.nio.Buffer manipulations.
static long getDirectBufferAddress(final Object directBuffer)
static ByteBuffer newDirectByteBuffer(final int numElements)
Allocates a new direct ByteBuffer with the specified number of elements.
void testWithoutIllegalAccessLogger00()
static void main(final String args[])
Utility methods allowing easy access to certain sun.misc.Unsafe functionality.
static boolean hasIllegalAccessLoggerAccess()
Returns true if access to jdk.internal.module.IllegalAcessLogger's logger field is available and has ...
static long getDirectBufferAddress(final Buffer buffer)
static< T > T doWithoutIllegalAccessLogger(final PrivilegedAction< T > action)
Issue the given user action while jdk.internal.module.IllegalAcessLogger's logger has been temporaril...