Damn...the Javadocs don't state that this method isn't available in 1.1. jPCT should work in 1.1 (the OpenGL renderer won't, but the software one will). I've removed the call to this method as it wasn't really needed. The fixed jar can be downloaded here: http://www.jpct.net/download/beta/jpct_112pl2.jar. Please give it a try.
ARGH! The problem is, that i don't have a 1.1 compatible VM installed anymore, so such things remain unnoticed. I've updated the jar to fix this problem. Can't wait to spot the next part where i've broken 1.1 compatibility again... :oops:
I think if you try to build jPCT with the "-target 1.1" switch, it should throw all incompatible lines of code.
Quote from: "Fencer"I think if you try to build jPCT with the "-target 1.1" switch, it should throw all incompatible lines of code.No, it doesn't. This switch only forces the compiler to produce 1.1 compatible byte code. It doesn't care about methods and/or classes. jPCT is compiled with -target 1.1 already.