cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Balmiki (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-2722) WSDL to Java should not create package strucutre start with java.*
Date Fri, 19 Mar 2010 10:03:27 GMT
WSDL to Java should not create package strucutre start with java.*
------------------------------------------------------------------

                 Key: CXF-2722
                 URL: https://issues.apache.org/jira/browse/CXF-2722
             Project: CXF
          Issue Type: Bug
          Components: JAXB Databinding
    Affects Versions: 2.2.6
         Environment: Windows
            Reporter: Balmiki


Hi,
 I am trying to generated Java source code from wsdl path, But some of the packages got created
with java.* as starting folder. At Runtime, as per the java class loader restriction, we can't
have a java source code starts with java.*. I got the following exception when trying to run
the program.

java.lang.SecurityException: Prohibited package name: java.castle_ws
	at java.lang.ClassLoader.preDefineClass(ClassLoader.java:479)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:56)

is it  abug in cxf or there is some way to avoid this ?

Regards
Balmiki

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message