Hello Guest

[FIXED] LWJGL no longer compiles under JDK 1.5

  • 1 Replies
  • 2681 Views
[FIXED] LWJGL no longer compiles under JDK 1.5
« on: August 13, 2011, 18:45:04 »
Compiling the SVN under JDK 1.5 gives the following error:
Code: [Select]
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

*

Online spasi

  • *****
  • 2132
    • WebHotelier
Re: [BUG] LWJGL no longer compiles under JDK 1.5
« Reply #1 on: August 13, 2011, 19:17:23 »
Thanks, fixed.