JDK-8038970: Deprivilege JAX-WS/JAF code; additional optimizations