[#3880] Cannot access private JavaGenerator.newJavaWriter() method