jakarta-bsf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Randall <javabr...@gmail.com>
Subject Re: Jython 2.5.0 upgrade
Date Fri, 26 Mar 2010 04:35:00 GMT
I builds clean with 2.5.1, so we just need to find a repo from that.  Let's
see if the Jython list will push it to Maven Central.

I'm not actually sure why there are two lots of tests - Jython (2.2.1) and
Python (Jython) 2.2b1 -> 2.5.0 -> 2.5.1, but I can't say I've looked at it
that closely.

Brett

On Fri, Mar 26, 2010 at 3:13 PM, sebb <sebbaz@gmail.com> wrote:

> On 26/03/2010, Brett Randall <javabrett@gmail.com> wrote:
> > Hi,
> >
> >  Following r927270 [1] I'm seeing http://bugs.jython.org/issue1145 :
> >
> >
>  -------------------------------------------------------------------------------
> >  Test set: org.apache.bsf.testing.python.HelloTestCase
> >
>  -------------------------------------------------------------------------------
> >  Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.071
> sec
> >  <<< FAILURE!
> >  testInvokeFunction(org.apache.bsf.testing.python.HelloTestCase)  Time
> >  elapsed: 0.05 sec  <<< ERROR!
> >  java.lang.VerifyError: class com.sun.script.jython.JythonScope overrides
> >  final method  .
> >  at java.lang.ClassLoader.defineClass1(Native Method)
> >  at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
> >  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:306)
> >  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
> >  at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> >  at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> >  at
> >
>  com.sun.script.jython.JythonScriptEngineFactory.getScriptEngine(JythonScriptEngineFactory.java:132)
> >  at
> >
>  javax.script.ScriptEngineManager.getEngineByExtension(ScriptEngineManager.java:155)
> >  at
> >
>  org.apache.bsf.testing.python.HelloTestCase.testInvokeFunction(HelloTestCase.java:35)
> >
> >  This is building with JDK5.
> >
> >  Supposedly fixed in Jython 2.5.1 according to their changelog - haven't
> >  tested yet as 2.5.1 is not in Maven Central, have posted to their dev
> list
> >  requesting this.
>
> Thanks.
>
> I tried 2.2.1 but got the following error
>
> *sys-package-mgr*: can't create package cache dir
>
> Dunno if there is another release that works OK.
>
> >  Brett
> >
> >  [1]
> >
> http://svn.apache.org/viewvc/jakarta/bsf/branches/bsf3.x/testing/python/pom.xml?r1=803462&r2=927270&diff_format=h
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: bsf-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: bsf-dev-help@jakarta.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message