Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-JSR-6
-
None
-
Win XP, JDK1.5.0_06, JSR-06
Description
A method declarator in an interface may include one or more default parameters.
These defaults should apply to only the parameters at the end of the parameter list.
JSR-06 permits them to appear anywhere.
Question: Do defaults in interfaces make sense? Could a class implementing the interface
offer a different default value? This leads to ambiguity.