Index: java/nio/ByteOrder.java =================================================================== RCS file: /cvsroot/classpath/classpath/java/nio/ByteOrder.java,v retrieving revision 1.7 diff -u -b -B -r1.7 ByteOrder.java --- java/nio/ByteOrder.java 11 Feb 2004 19:05:14 -0000 1.7 +++ java/nio/ByteOrder.java 16 Jul 2004 08:42:12 -0000 @@ -49,19 +49,10 @@ public static final ByteOrder BIG_ENDIAN = new ByteOrder(); public static final ByteOrder LITTLE_ENDIAN = new ByteOrder(); - static - { - // load the shared library needed for native methods. - if (Configuration.INIT_LOAD_LIBRARY) - { - System.loadLibrary ("javanio"); - } - } - /** * Returns the native byte order of the platform currently running. */ - public static ByteOrder nativeOrder () + public static ByteOrder nativeOrder() { return (System.getProperty ("gnu.cpu.endian").equals("big") ? BIG_ENDIAN : LITTLE_ENDIAN); @@ -76,7 +67,7 @@ } // This class can only be instantiated here. - private ByteOrder () + private ByteOrder() { } }