CSS-Engine doesn't handle custom protocols

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • fx2.0
    • Affects Version/s: fx2.0
    • Component/s: javafx
    • Environment:

      OSGi

      It looks like the resource loading of e.g. the StyleEngine is not loading information simply using URL.openStream() or things like that but somehow differently. My use case is to run JavaFX inside an OSGi-Container which installs its own protocols URL#setURLStreamHandlerFactory() to e.g. support urls like this ("bundleresource://88.fwk605645/test.css").

      While new URL("bundleresource://88.fwk605645/test.css") will throw an exception standard Java-Application it is perfectly valid in OSGi-Apps. I don't know how high the priority is for you to run on OSGi so the change to use URL.openStream to load stuff is probably not only a problem of the CSS-Engine

            Assignee:
            David Grieve
            Reporter:
            Tom Schindl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: