[FIXED] LWJGL no longer compiles under JDK 1.5

Started by Matthias, August 13, 2011, 18:45:04

Previous topic - Next topic

Matthias

Compiling the SVN under JDK 1.5 gives the following error:
compile:
     [core] Compiling 367 source files to D:\Java\svn.sourceforge.net\LWJGL\bin
     [core] D:\Java\svn.sourceforge.net\LWJGL\src\java\org\lwjgl\util\mapped\MappedObjectClassLoader.java:170: cannot find symbol
     [core] symbol  : method copyOf(byte[],int)
     [core] location: class java.util.Arrays
     [core]                                     bytecode = Arrays.copyOf(bytecode, len * 2);
     [core]                                                          ^
     [core] D:\Java\svn.sourceforge.net\LWJGL\src\java\org\lwjgl\util\mapped\MappedObjectClassLoader.java:185: cannot find symbol
     [core] symbol  : method copyOf(byte[],int)
     [core] location: class java.util.Arrays
     [core]             return Arrays.copyOf(bytecode, len);
     [core]                              ^
     [core] 2 errors

spasi