-
Enhancement
-
Resolution: Duplicate
-
P4
-
7
-
generic
-
generic
There are two categories of lint warnings under consideration:
-- reporting use of static variable or method qualified by an expression instead of a type
-- reporting suspicious combinations of command line options, such as -source without setting a bootclasspath
These should be covered by new suboptions for lint, such as
-Xlint:static
-Xlint:options
-- reporting use of static variable or method qualified by an expression instead of a type
-- reporting suspicious combinations of command line options, such as -source without setting a bootclasspath
These should be covered by new suboptions for lint, such as
-Xlint:static
-Xlint:options
- duplicates
-
JDK-6999210 javac should be able to warn of anomalous conditions in classfiles
- Closed
- relates to
-
JDK-6900037 javac should warn if earlier -source is used and bootclasspath not set
- Closed
-
JDK-4880220 Add a warning when accessing a static method via an reference
- Closed