Swing Causes X11 to restart in GNOME 3.14

Hi, I’m new to OpenSUSE as I have switched from Ubuntu.
I’m using OpenSUSE 13.2 with GNOME 3.14 desktop, an Early access version of OpenJDK 1.8 downloaded independetly from https://jdk8.java.net/download.html, This version didn’t cause any problems on Ubuntu but sometimes on OpenSUSE it causes the X11 window server to restart when starting a swing application like NetBeans.
P.S. : I did install gnome session wayland backend.