Use the workaround to avoid the OpenJDK 7 crash only if the interface is
not public !