I wish I could promote "unchecked cast" to an error using a compiler flag. Similarly, I wish I could turn off warnings about failing to supply a serialVersionUID on a serialized object.
> I wish I could turn off warnings about failing to
> supply a serialVersionUID on a serialized object.
You already can, using -Xlint:all,-serial
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.