diff --git a/lucene/tools/forbiddenApis/jdk.txt b/lucene/tools/forbiddenApis/jdk.txt index a1f0815bfb5..f848a57cc20 100644 --- a/lucene/tools/forbiddenApis/jdk.txt +++ b/lucene/tools/forbiddenApis/jdk.txt @@ -10,5 +10,19 @@ java.lang.String#toUpperCase() java.io.FileReader java.io.FileWriter +java.io.ByteArrayOutputStream#toString() java.io.InputStreamReader#(java.io.InputStream) java.io.OutputStreamWriter#(java.io.OutputStream) +java.io.PrintStream#(java.io.File) +java.io.PrintStream#(java.io.OutputStream) +java.io.PrintStream#(java.io.OutputStream, boolean) +java.io.PrintStream#(String) +java.io.PrintWriter#(java.io.File) +java.io.PrintWriter#(java.io.OutputStream) +java.io.PrintWriter#(java.io.OutputStream, boolean) +java.io.PrintWriter#(String) + +java.util.Scanner#(java.io.InputStream) +java.util.Formatter#(String) +java.util.Formatter#(java.io.File) +java.util.Formatter#(java.io.OutputStream)