comp.lang.ada
 help / color / mirror / Atom feed
From: vdelvecc@mesmer.camb.inmet.com (Vince Del Vecchio)
To: Mike Stark <michael.e.stark@gsfc.nasa.gov>
Subject: Re: Ada to byte-code compiler works as advertised
Date: 1996/09/30
Date: 1996-09-30T00:00:00+00:00	[thread overview]
Message-ID: <eplods9l63.fsf@mesmer.camb.inmet.com> (raw)
In-Reply-To: 324BF60E.4DEF@gsfc.nasa.gov


Many thanks for the kind words.

>>>>> On Fri, 27 Sep 1996 15:43:17 +0000,
   Mike Stark <michael.e.stark@gsfc.nasa.gov> said:

> The only minor problem here (which I attribute entirely to the fact 
> that the product is a beta version) is that my private record
> components in Ada become public instance variables in the corres-
> ponding Java class. This does not have any impact on how the system
> runs, but to have consistent semantics between the languages the
> private record components should IMO become protected instance
> variables.

This is a tricky area, for a couple of reasons.  One is that if you
inline a subprogram, then your (generated) code can make references
to all sorts of components which are Ada-private.  Another is that
because we map a package spec to `<name>.class' and body to
`<name>_.class', we have to make everything in the spec Java-public
or the body won't be able to see into it.

I agree that it is frustrating that these two seemingly similar
concepts don't correspond a little more closely.  We might be able
to come up with a scheme to use private and protected components in
at least some instances, but this is not likely to change anytime
soon.  Sorry.

> 4.  (the part I haven't done)  Write a Java class that extends the Ada
> class.  I have no real doubts that this will work, but I won't get to it
> until next week. Similarly, I could write an Ada extension to the Java
> class being called from Ada.  Examining the generated code leaves me
> no doubt that both can be done -- I just have run out of time before the
> expiration of the AM1.5 beta license.

There should be a 1.6 out soon (hopefully today) to replace the
expiring 1.5.

-Vince Del Vecchio
vdelvecc@inmet.com




  parent reply	other threads:[~1996-09-30  0:00 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-09-27  0:00 Ada to byte-code compiler works as advertised Mike Stark
1996-09-28  0:00 ` Ray Blaak
1996-09-28  0:00   ` Mike Stark
1996-09-30  0:00 ` Vince Del Vecchio [this message]
1996-10-03  0:00 ` New version of AppletMagic (was Re: Ada to byte-code compiler ...) Vince Del Vecchio
1996-10-04  0:00   ` Michael Feldman
1996-10-05  0:00     ` Tucker Taft
1996-10-06  0:00     ` Matthew Heaney
1996-10-06  0:00       ` Ada on the Mac (was: AppletMagic stuff) Michael Feldman
1996-10-07  0:00         ` Larry Kilgallen
1996-10-07  0:00           ` Michael Feldman
1996-10-07  0:00             ` Larry Kilgallen
1996-10-09  0:00               ` Michael Feldman
1996-10-08  0:00             ` Richard A. O'Keefe
1996-10-09  0:00               ` Michael Feldman
1996-10-08  0:00           ` Robert Dewar
1996-10-08  0:00             ` Larry Kilgallen
1996-10-09  0:00               ` Michael Feldman
1996-10-09  0:00             ` jim hopper
1996-10-08  0:00           ` Hosting Ada on Mac (Was: Ada on the Mac) Laurent Gasser
1996-10-09  0:00             ` Michael Feldman
1996-10-08  0:00       ` Ada and Mac (Was: New version of AppletMagic) Laurent Gasser
1996-10-08  0:00         ` jim hopper
1996-10-08  0:00           ` Larry Kilgallen
1996-10-09  0:00             ` Michael Feldman
1996-10-09  0:00               ` Matthew Heaney
1996-10-11  0:00                 ` Robert Dewar
1996-10-11  0:00                   ` Matthew Heaney
1996-10-10  0:00               ` Larry Kilgallen
1996-10-09  0:00           ` Laurent Gasser
1996-10-09  0:00             ` Larry Kilgallen
1996-10-15  0:00         ` Tucker Taft
1996-10-08  0:00       ` Stan Shebs
1996-10-08  0:00         ` Larry Kilgallen
1996-10-10  0:00         ` jim hopper
1996-10-10  0:00       ` Jon S Anthony
1996-10-10  0:00         ` Larry Kilgallen
1996-10-11  0:00         ` Michael Feldman
1996-10-14  0:00       ` Jon S Anthony
1996-10-16  0:00         ` Michael Feldman
1996-10-17  0:00           ` Larry Kilgallen
1996-10-17  0:00             ` jim hopper
1996-10-17  0:00             ` jim hopper
1996-10-17  0:00               ` Robert Dewar
1996-10-18  0:00                 ` Larry Kilgallen
1996-10-21  0:00                   ` Michael Feldman
1996-10-21  0:00                     ` Larry Kilgallen
1996-10-22  0:00                       ` Michael Feldman
1996-10-23  0:00                       ` Steve Wall
1996-10-22  0:00                     ` Tom Halliley
1996-10-23  0:00                       ` Anita Holmgren
1996-10-24  0:00                         ` Tom Halliley
1996-10-23  0:00                       ` Jim Easterbrook
1996-10-21  0:00             ` Michael Feldman
1996-10-17  0:00       ` Jon S Anthony
1996-10-21  0:00         ` Michael Feldman
1996-10-08  0:00     ` New version of AppletMagic (was Re: Ada to byte-code compiler Dr Paul Gorman
1996-10-09  0:00 ` Ada on the Mac (was: AppletMagic stuff) Stan Shebs
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox