cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (CAY-1706) Build support on JDK 1.7
Date Sat, 05 May 2012 11:31:50 GMT

     [ https://issues.apache.org/jira/browse/CAY-1706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrus Adamchik reopened CAY-1706:
----------------------------------

      Assignee: Andrus Adamchik

Hmm, actually all 1.5 builds suddenly started to fail per https://builds.apache.org/job/Cayenne-trunk/701/


I don't have Java 1.5 handy to try it out, and the build includes a number of other recent
commits, so it may be something else. But still Java 7 patch is likely to blame.

The error is:

org.apache.maven.surefire.booter.SurefireExecutionException: org.apache.cayenne.CayenneDataObjectValidationTest;
nested exception is java.lang.ExceptionInInitializerError: null; nested exception is org.apache.maven.surefire.testset.TestSetFailedException:
org.apache.cayenne.CayenneDataObjectValidationTest; nested exception is java.lang.ExceptionInInitializerError:
null
org.apache.maven.surefire.testset.TestSetFailedException: org.apache.cayenne.CayenneDataObjectValidationTest;
nested exception is java.lang.ExceptionInInitializerError: null
java.lang.ExceptionInInitializerError
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
....
Caused by: java.lang.SecurityException: Prohibited package name: java.sql
	at java.lang.ClassLoader.preDefineClass(ClassLoader.java:480)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
	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)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
	at java.lang.Class.getDeclaredMethods0(Native Method)
	at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
	at java.lang.Class.privateGetPublicMethods(Class.java:2519)
	at java.lang.Class.privateGetPublicMethods(Class.java:2535)
	at java.lang.Class.getMethods(Class.java:1406)
	at org.apache.cayenne.di.spi.DefaultScope.addScopeEventListener(DefaultScope.java:90)
	at org.apache.cayenne.di.spi.DefaultScopeProvider.get(DefaultScopeProvider.java:57)
	at org.apache.cayenne.di.spi.DefaultInjector.getInstance(DefaultInjector.java:107)


                
> Build support on JDK 1.7
> ------------------------
>
>                 Key: CAY-1706
>                 URL: https://issues.apache.org/jira/browse/CAY-1706
>             Project: Cayenne
>          Issue Type: Task
>            Reporter: Andrei Veprev
>            Assignee: Andrus Adamchik
>             Fix For: 3.1M4
>
>         Attachments: CAY-1706.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message