Re: [Jython-users] Hello, odd problem here.
by Samuele Pedroni other posts by this author
May 5 2003 9:39PM messages near this date
[Jython-users] Hello, odd problem here.
|
Re: [Jython-users] proxy classes (was Hello, odd problem here.)
At 02:20 05.05.2003 -0400, Jon Franz wrote:
> - somewhere during these changes, I did something that made me
> (later, when I went to make the jar) run into the ProxyMaker problem and
> was forced to change the -core option of jythonc to use -all instead,
> thanks to this this list
> (http://aspn.activestate.com/ASPN/Mail/Message/724323) I was able to find
> the solution of using -all, but not the reason _why_. None of my code
> calls eval or anything similar, so why does my app suddenly need the
> compile support?
likely there is some Python class with a Java superclass that escapes
jythonc static analysis - you should check jythonc compilation transcript -
so its proxy will be created at runtime instead of statically
> - Due to the security restrictions put in place on web start apps, I
> cannot test the app without signing the jars - could my signing of the
> third-part jfreechart jars have caused this problem? (Until I signed them,
> I still got security errors: what should I do if I am not to sign third
> party jars?)
what kind of security errors? if it's classloader creation then it is
related to proxy creation at runtime vs statically.
> - how can I trap for exceptions in an eventDispatch thread (or any
> pure-java thread) from jython? I can trap and print traceback information
> for my threads to my logging window, but while runnign the app in
> interpreted mode I sometimes cause a bug that shows up via a eventDispatch
> thread exception - how would I trap for this (or other errors) so that I
> could show the traceback in my own custom logging window?
>
JWS should allow to enable through preferences a Java console or to log the
output to the console.
Otherwise grep the java library code that comes with the JDK for
sun.awt.exception.handler...
-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com
_______________________________________________
Jython-users mailing list
Jython-users@[...].net
https://lists.sourceforge.net/lists/listinfo/jython-users
Thread:
Jon Franz
Samuele Pedroni
Jon Franz
Samuele Pedroni
Jon Franz
patrickchamberlain
|