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-Thread: 103376,e52be218321a9138 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!cycny01.gnilink.net!cyclone2.gnilink.net!cyclone1.gnilink.net!spamkiller2.gnilink.net!gnilink.net!trndny09.POSTED!c2bfcbcf!not-for-mail Subject: Re: JGNAT and JRE Newsgroups: comp.lang.ada References: <1114727090.629742.263970@l41g2000cwc.googlegroups.com> From: "Ed Falis" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: User-Agent: Opera M2/8.0 (Linux, build 1092) Date: Thu, 28 Apr 2005 23:35:47 GMT NNTP-Posting-Host: 70.22.178.165 X-Complaints-To: abuse@verizon.net X-Trace: trndny09 1114731347 70.22.178.165 (Thu, 28 Apr 2005 19:35:47 EDT) NNTP-Posting-Date: Thu, 28 Apr 2005 19:35:47 EDT Xref: g2news1.google.com comp.lang.ada:10792 Date: 2005-04-28T23:35:47+00:00 List-Id: Fabio, On Thu, 28 Apr 2005 18:24:50 -0400, fabio de francesco wrote: > JGNAT seemed working fine with some simple programs until I compiled a > new one that uses tasks without errors. But when I tried to execute it > I got "Exception in thread "main" > java.lang.IllegalMonitorStateException". What is this exception? JGNAT never made it past compatibility with JDK 1.3, due to lack of commercial interest. > Above all, what really matters is whether or not I can write (1) JGNAT > is reliable for production use, (2) if it is actively maintained and > updated, (3) if there exist any kind of practical restrictions in using > it. Any answers and comments on either these issues or everything > related would be very appreciated and useful in writing a good Ada > introduction (I imagine it may matter many of you). We (AdaCore) dropped active support for this product a few years ago because there was no significant commercial interest in Ada running on a JVM (and we did give it a fair amount of time and marketing effort). You could also look into AppletMagic from SoftTool or Aonix as an alternative. JGNAT largely works fine with JDK 1.3 or less. With 1.4, Sun added some additional byte code validation that causes the exception you're seeing. Unfortunately, what interest we saw in JGNAT was largely confined to jokers who thought it would be a way for them to migrate their Ada code base to Java. :-P On the other hand, it is free software, and open to maintenance by others. - Ed