Results for “java constructor vs method python operator site:bugs.java.com pdf”
bugs.java.com
Bug ID: JDK-7004835 Different handling for final in constructor
A DESCRIPTION OF THE PROBLEM : There is a different handling for final member in constructor: Accessing by this or without this lead to a compile error or does not.EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - I'd prefer to get a compile error for FinalClass, too.
bugs.java.com
Bug ID: JDK-4619333 stddoclet: Separate out static factory methods...
That way the benefits of using such methods would be encouraged. Maybe have the static factory methods grouped after the constructors in the javadoc. In one instance this would be beneficial since some constructors will be private and thus uninstantiable by normal conventions.