Disabled recent constructors for java