JDK-4885687 : spec of FlavorListener.flavorsChanged() does not correspond to CCC decision
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 5.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2003-07-01
  • Updated: 2003-07-25
  • Resolved: 2003-07-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
5.0 tigerFixed
Related Reports
Relates :  
Description

Name: agR10216			Date: 07/01/2003


The javadoc for FlavorListener.flavorsChanged() does
not correspond to the spec of this method that was
approved by CCC.
Currently the spec is:

    /**
     * Invoked when the target {@link Clipboard} of the listener
     * has changed its available {@link DataFlavor}s.
     * <p>
     * Some notifications may be redundant &#151; they are not
     * caused by a change of the set of DataFlavors available
     * on the clipboard.
     * For example, if the clipboard subsystem supposes that
     * the system clipboard's contents has been changed but it
     * can't ascertain whether its DataFlavors have been changed
     * because of some exceptional condition when accessing the
     * clipboard, the notification is sent to ensure from omitting
     * a significant notification. Ordinarily, those redundant
     * notifications should be occasional.
     * <p>
     * Note that the detection of changes to the set of DataFlavors
     * available on the clipboard takes into account only those
     * DataFlavors which a particular Clipboard implementation
     * can provide data in.
     * For example, if a native application places data
     * on the system clipboard in formats that the
     * clipboard subsystem doesn't know how to transfer,
     * no notifications are sent.
     *
     * @param e  a <code>FlavorEvent</code> object
     */
    void flavorsChanged(FlavorEvent e);

while according to the approved CCC request 4259272 it should
not contain the last paragraph: "Note that the detection..."

###@###.### 2003-07-01
======================================================================

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger FIXED IN: tiger INTEGRATED IN: tiger tiger-b13
24-08-2004

WORK AROUND Name: agR10216 Date: 07/01/2003 ======================================================================
24-08-2004

SUGGESTED FIX Name: agR10216 Date: 07/01/2003 Remove the paragraph in question. ###@###.### 2003-07-01 ======================================================================
01-07-2003

EVALUATION Name: agR10216 Date: 07/01/2003 The odd paragraph was retained by an oversight. ###@###.### 2003-07-01 ======================================================================
01-07-2003