From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,af2e7a78c5c6e7c4 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-11 00:54:28 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!gate.dornier.dasa.DE!not-for-mail From: Joachim =?ISO-8859-1?Q?Schr=F6er?= Newsgroups: comp.lang.ada Subject: Re: Ada -> Java by Java disassemlers? Date: Mon, 11 Mar 2002 09:55:16 +0100 Message-ID: <3C8C70F4.6020000@dornier.eads.net> References: <3C88D896.9090509@dornier.eads.net> <3C890F3A.52E1936E@ib-paus.com> NNTP-Posting-Host: gate.dornier.dasa.de (53.122.46.165) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: fu-berlin.de 1015836865 15089200 53.122.46.165 (16 [76083]) User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.6) Gecko/20011120 X-Accept-Language: en-us Xref: archiver1.google.com comp.lang.ada:21040 Date: 2002-03-11T09:55:16+01:00 List-Id: Dr. Michael Paus wrote: > Joachim Schr�er wrote: > >>You mention an Ada95 -> Java compiler. Has anyone tried to disassamble >>.class files compiled by an Ada95 to bytecode compiler like JGnat. >>There are some disassemblers that convert .class files to .java files. >> > > Yes, I did but I failed. I took a class file produced by AdaMagic and tried > to decompile it. It worked for a trivial hello world example but after I > added a little bit more code the decompiler failed. It seems that the > Ada compiler produced some legal bytecode which the decompiler could not > translate into some legal piece of Java. I finally gave up on this issue. > > Just for curiosity. For what kind of project do you need an Ada to Java > compiler? > > Michael > First, as other people in this newsgroup I prefer Ada over Java. The other reason: Our current project demands Java (J2EE) and we have a few hundred thousend loc of (not very nice) Ada83. I would prefer a transition to Ada95 and a parallel improvement of the code but we need an Ada95 to bytecode compiler. (I did not ask for an Ada to Java source compiler, but this would be a nice thing). J. Schr�er