runtime class generation, new patch

4 messages Options
Embed this post
Permalink
Russell McManus

runtime class generation, new patch

Reply Threaded More More options
Print post
Permalink
Here is a combined patch to runtime-class.lisp and JavaClassLoader.java.

The patch supports runtime class generation from lisp, with the added feature
of allowing the user to redefine a previously defined java class.

-russ

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
armedbear-j-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/armedbear-j-devel

runtime-class-patch.txt.gz (7K) Download Attachment
Ville Voutilainen

Re: runtime class generation, new patch

Reply Threaded More More options
Print post
Permalink
On Tue, May 26, 2009 at 5:02 PM, Russell McManus
<[hidden email]> wrote:
> Here is a combined patch to runtime-class.lisp and JavaClassLoader.java.

Ok, the patch itself is quite ok IMHO, but it lacks the necessary
changes to our build system.
That means

- removal of runtime-class.lisp exclusion from build
- detection of ASM presence
-- meaning,  skipping runtime-class from build if ASM is not present

So if you could add those, we can commit the patch.

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
armedbear-j-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/armedbear-j-devel
Russell McManus

Re: runtime class generation, new patch

Reply Threaded More More options
Print post
Permalink

I will try to figure out how to do these things.

Thanks for reviewing the patch!

-russ



----- Original Message ----

> From: Ville Voutilainen <[hidden email]>
> To: Russell McManus <[hidden email]>
> Cc: [hidden email]; Alan Ruttenberg <[hidden email]>
> Sent: Tuesday, June 2, 2009 4:12:54 PM
> Subject: Re: [j-devel] runtime class generation, new patch
>
> On Tue, May 26, 2009 at 5:02 PM, Russell McManus
> wrote:
> > Here is a combined patch to runtime-class.lisp and JavaClassLoader.java.
>
> Ok, the patch itself is quite ok IMHO, but it lacks the necessary
> changes to our build system.
> That means
>
> - removal of runtime-class.lisp exclusion from build
> - detection of ASM presence
> -- meaning,  skipping runtime-class from build if ASM is not present
>
> So if you could add those, we can commit the patch.


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
armedbear-j-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/armedbear-j-devel
Ville Voutilainen

Re: runtime class generation, new patch

Reply Threaded More More options
Print post
Permalink
On Wed, Jun 3, 2009 at 4:11 AM, Russell McManus
<[hidden email]> wrote:
> I will try to figure out how to do these things.

Take a look at how we check JSR-223 support, that should help. For the
exclusion,
there's an <exclude> tag in build.xml for runtime-class.lisp, and it's
also commented out
in compile-system.lisp. Enabling it conditionally in build.xml should
not be hard to do,
I'm not sure about compile-system.lisp.

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
armedbear-j-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/armedbear-j-devel