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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Classlib
    • None
    • 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. Test.java
          3 kB
          Alexander Simbirtsev
        2. stylededitorkit-patch.txt
          0.8 kB
          Alexander Simbirtsev
        3. H2594-StyledEditorKitTest.patch
          4 kB
          Dmitry Irlyanov
        4. H2594-StyledEditorKitTest.2.patch
          4 kB
          Alexey A. Ivanov

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: