JDK-6612202 : DOC: Scope of java.beans.Encoder#setPersistenceDelegate is undocumented
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.beans
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2007-10-02
  • Updated: 2011-01-19
  • Resolved: 2009-11-23
Related Reports
Duplicate :  
Relates :  
Description
The scope of java.beans.Encoder#setPersistenceDelegate is static however
the method is not static and the javadoc doesn't mention it.  This is an 
essential aspect of the method's semantics, it enables one to register
a persistence delegate for a class once, when the class is initialized.

Comments
EVALUATION The scope of the Encoder#setPersistenceDelegate method should be documented in JavaDoc. The scope should be an instance of the Encoder class, because the method is not static.
19-11-2007