[m-rev.] for review: deep copy for java

Julien Fischer juliensf at csse.unimelb.edu.au
Mon Jun 15 17:56:55 AEST 2009


On Mon, 15 Jun 2009, Peter Wang wrote:

> Branches: main
>
> Complete the deep copy implementation for Java.
>
> library/builtin.m:
>        Implement deep copy using reflection to instantiate new objects and
>        set fields.  Only Mercury objects are copied, in line with deep copy
>        in C grades.
>
> compiler/ml_type_gen.m:
>        Generate zero-argument constructors for Java classes corresponding to
>        Mercury types.  The deep copy implementation needs to be able to
>        instantiate the classes without knowing the constructor arguments.

That's fine but please check that README.Java is up-to-date.

Julien.
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list