hasAssociation with empty file extension string {""} throws StringIndexOutOfBoundsException java

XMLWordPrintable

    • x86
    • generic

      hasAssociation with empty file extension string {""} throws StringIndexOutOfBoundsException java
      null file extension throws NullPointerException.
      This is same as requestAssociation needs to change to either illegalArgumentException.

      Suppose we have assocition like this
          <association>
            <mime-type="application-x/swingset2-file"/>
          </association>
      If want to check hasAssocition("application-x/swingset2-file",null or {""}) ?
      Is <extensions> are mandatory ?

            Assignee:
            Roman Kennke
            Reporter:
            Raghu Nair
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: