Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-2594

[classlib][swing] javax.swing.text.StyledEditorKit.createInputAttributes(Element element, MutableAttributeSet set) doesn't throw NPE when any of arguments is null

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Classlib
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      Compatibility problem: On RI createInputAttributes(Element element,
      MutableAttributeSet set) throws NPE on RI when one of arguments is null.

      Test case to reproduce this but is to be attached

        Attachments

        1. H2594-StyledEditorKitTest.2.patch
          4 kB
          Alexey A. Ivanov
        2. H2594-StyledEditorKitTest.patch
          4 kB
          Dmitry Irlyanov
        3. stylededitorkit-patch.txt
          0.8 kB
          Alexander Simbirtsev
        4. Test.java
          3 kB
          Alexander Simbirtsev

          Issue Links

            Activity

              People

              • Assignee:
                hindessm Mark Hindess
                Reporter:
                atsimbir Alexander Simbirtsev
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: