Author: asoldano
Date: 2014-02-03 11:49:00 -0500 (Mon, 03 Feb 2014)
New Revision: 18301
Modified:
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/j2ee/serviceref/UnifiedServiceRefMetaData.java
Log:
Fixing another failures with security manager on
Modified:
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/j2ee/serviceref/UnifiedServiceRefMetaData.java
===================================================================
---
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/j2ee/serviceref/UnifiedServiceRefMetaData.java 2014-02-03
16:19:04 UTC (rev 18300)
+++
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/j2ee/serviceref/UnifiedServiceRefMetaData.java 2014-02-03
16:49:00 UTC (rev 18301)
@@ -348,7 +348,11 @@
if (vfsRoot != null) {
try
{
- wsdlLocation = vfsRoot.findChild(wsdlOverride).toURL();
+ wsdlLocation = AccessController.doPrivileged(new
PrivilegedExceptionAction<URL>() {
+ public URL run() throws Exception {
+ return vfsRoot.findChild(wsdlOverride).toURL();
+ }
+ });
}
catch (Exception e)
{
Show replies by date