Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-6447 [classlib] [imageio] Implement missing functionality in imageio module
  3. HARMONY-6506

[classlib][imageio] ServiceRegistry.registerServiceProvider failed to return correct value

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • Patch Available

    Description

      According to the spec [1], method ImageIO.ServiceRegistry.registerServiceProvider(object, class) should return TRUE if if no provider of the same class was previously registered in the same category category.

      The current implementation return FALSE.

      [1] - http://java.sun.com/j2se/1.4.2/docs/api/javax/imageio/spi/ServiceRegistry.html#registerServiceProvider(java.lang.Object, java.lang.Class)

      Attachments

        1. HARMONY-6506-lang.txt
          2 kB
          Lang Yang

        Activity

          People

            leshik Alexei Fedotov
            yanglang Lang Yang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: