Service.<init> fails with SecurityException, java.xml.ws not granted NetPermission("getProxySelector")

XMLWordPrintable

    • b157
    • Not verified

        As reported here:
        http://mail.openjdk.java.net/pipermail/jdk9-dev/2016-November/005171.html

        The JAX-WS implementation uses java.net.ProxySelector.getDefault() to get the default proxy but it has not been granted NetPermission("getProxySelector").

        This is a regression in JDK 9 since the move of java.xml.ws to the platform class loader with reduced permissions.

              Assignee:
              Lance Andersen
              Reporter:
              Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: