In message <ij9roa$oi1$1@news.eternal-september.org>, Stanimir Stamenkov wrote:
Mon, 14 Feb 2011 12:21:34 +1300, /Lawrence D'Oliveiro/:
Compiled and ran just fine. Then I noticed that ???Class??? is being used as
a raw type.
There doesn???t seem to be any option in javac to warn about this sort of
thing.
Have you tried:
% javac
Usage: javac <options> <source files>
where possible options include:
...
-X Print a synopsis of nonstandard options
% javac -X
-Xlint Enable recommended warnings
-Xlint:{all,cast,deprecation,divzero,empty,unchecked,fallthrough,path,serial,finally,overrides,-cast,-deprecation,-divzero,-empty,
-unchecked,-fallthrough,-path,-serial,-finally,-overrides,none}Enable or
disable specific warnings
No warnings.