Skip to main content

more options for warnings and errors

1 reply [Last post]
regexguy
Offline
Joined: 2003-06-20
Points: 0

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.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
callen982
Offline
Joined: 2004-01-14
Points: 0

> I wish I could turn off warnings about failing to
> supply a serialVersionUID on a serialized object.

You already can, using -Xlint:all,-serial