ByteArrayOutputStream should not have a new writeBytes method in Java 11

Stuart Marks stuart.marks at oracle.com
Wed Sep 12 21:24:21 UTC 2018



On 9/11/18 10:36 PM, Michael Rasmussen wrote:
> Can a language syntax/feature be deprecated to produce a warning in javac?
> Perhaps this one should.

We haven't reached the point of formally deprecating language features, but 
certain features like this one (and others) are certainly frowned upon by 
various style guides and reviewers. So, informally deprecated I guess.

I'd think the next step would be to have javac issue a lint warning.

Filed:

     https://bugs.openjdk.java.net/browse/JDK-8210681

s'marks


More information about the core-libs-dev mailing list