I just pushed a rewritten Java backend based on LWJGL3 (we used to use LWJGL2). LWJGL3 is itself pretty close to a total rewrite, but it is a vast improvement over LWJGL2 in many ways.
Anyhow, for the most part, this should be totally invisible to users of PlayN. The public API hasn't changed. The only thing that will cause trouble is that when running the Java backend on a Mac: it is now necessary to pass -XstartOnFirstThread to the JVM when running the app.
The new PlayN archetype changes the "mvn test -Pjava" configuration to run the game in such a way that -XstartOnFirstThread is properly provided when running on a Mac (annoyingly if you pass that to the JVM on Linux or Windows, the JVM refuses to run, so we have to do a bunch of conditional blah blah blah to be sure we can "write once, run everywhere").
If you want to change your existing project, remove this from yourgame/java/pom.xml:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2.1</version>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>java</goal>
</goals>
</execution>
</executions>
<configuration>
<mainClass>${mainClass}</mainClass>
</configuration>
</plugin>
and replace it with:
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<phase>test</phase>
<configuration>
<target>
<!-- these shenanigans are needed to pass -XstartOnFirstThread on Mac OS
but not on other OSes where they would cause the JVM to fail, yay -->
<condition property="jvmarg" value="-XstartOnFirstThread" else="-Dfoo=bar">
<os family="mac"/>
</condition>
<java fork="true" classname="${mainClass}" classpathref="maven.test.classpath">
<jvmarg value="${jvmarg}"/>
<arg value="${scaleFactor}"/>
</java>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
I'll release a playn-2.0-rc3 version in a day or two, once I've made sure that this doesn't horribly break everything for everyone.
So if you use 2.0-SNAPSHOT, please update to the latest code and give things a whirl.
Thanks!