Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4105096

Should URLDataSource.getContentType handle no connection differently?

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.0fcs
    • alpha
    • other-libs
    • None
    • 1.0fcs
    • generic
    • solaris_2.6
    • Verified

        Current implementation URLDataSource.getContentType does:
        Opens a URLConnnection. If successful returns the value of URLConnection.getContentType
        if not, returns null. Traps IOException. Should an IOException be allowed to propagate instead?

        This is just a heads up. I'm not strongly opinionated on this!

              duke J. Duke
              duke J. Duke
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: