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

Synchronous URLFetcher is buggy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • fx2.1
    • fx2.0
    • javafx
    • web

      The "synchronous" part of the URLFetcher works very differently from the "asynchronous" part and is very buggy. The problems include:
        - In case of a synchronous fetcher, the initConn() method is not called and thus the connection is not properly setup wrt to timeouts, accepted formats (gzip), and the use of caches
        - Errors are reported inconsistently
        - In case of error, the synchronous fetcher does not close the error stream
      It would perhaps be ideal to unify the synchronous and asynchronous fetchers by having the synchronous loading go through mostly the same code path as the asynchronous one.

            vbaranov Vasiliy Baranov (Inactive)
            vbaranov Vasiliy Baranov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: