@Override
    public int glGetAttribLocation(final int program, final String name) {
        // NOTE: LWJGL requires null-terminated strings
        return GL20.glGetAttribLocation(program, name + "\0");
    }
The LWJGL implementation of interfaces {@link GL}, {@link GL2}, {@link GL3}, {@link GL4}.
jme3-lwjgl3/src/main/java/com/jme3/renderer/lwjgl/LwjglGL.java