summaryrefslogtreecommitdiffstats
path: root/src/java/com/sun/gluegen/test
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-03-29 04:02:08 +0200
committerMichael Bien <[email protected]>2010-03-29 04:02:08 +0200
commit2d76c16b9384d383d3e6a9d7cb727f2591a39228 (patch)
tree329e638a11a29961cb9fdad778e764dd77efa8f5 /src/java/com/sun/gluegen/test
parent25cc744f6bd5ca97e0ae58fa7e1c35f7b0f3046d (diff)
renamed BufferFactory into Buffers.
Diffstat (limited to 'src/java/com/sun/gluegen/test')
-rw-r--r--src/java/com/sun/gluegen/test/TestStructAccessorEndian.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/com/sun/gluegen/test/TestStructAccessorEndian.java b/src/java/com/sun/gluegen/test/TestStructAccessorEndian.java
index 362116d..89ccb5a 100644
--- a/src/java/com/sun/gluegen/test/TestStructAccessorEndian.java
+++ b/src/java/com/sun/gluegen/test/TestStructAccessorEndian.java
@@ -14,7 +14,7 @@ public class TestStructAccessorEndian {
System.out.println("OS: <"+os+"> CPU: <"+cpu+"> Bits: <"+bitsPtr+"/"+bitsProp+">");
System.out.println("CPU is: "+ (CPU.is32Bit()?"32":"64") + " bit");
System.out.println("Buffer is in: "+ (Platform.isLittleEndian()?"little":"big") + " endian");
- ByteBuffer tst = BufferFactory.newDirectByteBuffer(BufferFactory.SIZEOF_LONG * 3);
+ ByteBuffer tst = Buffers.newDirectByteBuffer(Buffers.SIZEOF_LONG * 3);
StructAccessor acc = new StructAccessor(tst);
acc.setLongAt(0, 0x0123456789ABCDEFL);
acc.setLongAt(1, 0x8877665544332211L);