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

JNLPCachedJarURLConnection.getContentLength() may cause unneeded network requests for cached jars

XMLWordPrintable

    • b03
    • generic
    • generic
    • Not verified

        If getContentLength() is the first call after construction of JNLPCachedJarURLConnection object then it will result delegate work to parent and this means network request will be performed even for cached jar file!

        Obviously this have huge impact on performance as network requests are expensive.

        It appears that FX applications may do this and this make this even more important.
        Using SimpleVideoPlayer demo it happens 11 (!) times.

              igor Igor Nekrestyanov (Inactive)
              igor Igor Nekrestyanov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: