I believe AboutURLConnection and its corresponding Handler are effectively unused. Webkit seems to handle about: URLs internally, by creating an empty document, which is the same thing that AboutURLConnection does.
The only reason we need the handler is so that URLs.newURL() can create a URL object for an about: URL spec. The handler doesn't seem to be called afterwards. The first naive attempt to remove AboutURLConnection (seeRT-32097) failed because newURL() call sites were not updated.
The only reason we need the handler is so that URLs.newURL() can create a URL object for an about: URL spec. The handler doesn't seem to be called afterwards. The first naive attempt to remove AboutURLConnection (see
- relates to
-
JDK-8119247 Default Location of WebEngine is now null
-
- Resolved
-
-
JDK-8123097 Removal of the about: protocol handler causes many DRT tests to fail
-
- Resolved
-