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-7-bit X-Google-Thread: 103376,844e8b7133f8d766,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-03-31 14:16:05 PST Path: supernews.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!newsfeed.cwix.com!newsone.net!newsone.net!not-for-mail From: gary_the_fox@richmond.com Newsgroups: comp.lang.ada Subject: Bizarre JGNAT things Followup-To: comp.lang.ada Date: 31 Mar 2001 22:13:49 GMT Organization: NewsOne.Net - Free Usenet News via the Web - http://newsone.net/ Message-ID: <9a5kqt$cnu$1@news.netmar.com> NNTP-Posting-Host: news.netmar.com X-Trace: news.netmar.com 986076829 13054 205.139.138.14 (31 Mar 2001 22:13:49 GMT) X-Complaints-To: abuse@newsone.net NNTP-Posting-Date: 31 Mar 2001 22:13:49 GMT X-PNG: comp.lang.ada X-NewsOnePostHost: 207-172-113-87.s87.tnt5.ann.va.dialup.rcn.com X-NewsOnePostAddr: 207.172.113.87 Xref: supernews.google.com comp.lang.ada:6302 Date: 2001-03-31T22:13:49+00:00 List-Id: Hello! I've encountered an extremely strange behavior of JGNAT 1.1p, so I'll be very grateful for any clues about its meaning. In fact, when compiling an ADS file automatically generated by jvm2ada, I get error messages like "lang" is not declared in "java" (the same for "io") each time the compiler encounters identifiers like "java.io.String.Ref". or "java.io.Serializable". The "with" statements for packages and "with type" statements don't cause any error messages. The same errors are reported also when I replace auto-generated "with type" statements by equivalent "with" ones and turn extensions mode off. The most bizarre thing is that happens to two files only - com-sun-java-swing-plaf-motif-MotifLookAndFeel.ads and com-sun-java-swing-plaf-windows-WindowsLookAndFeel.ads. All other files, including ones with almost identical structure, compile OK, in the same directory, with the same settings. The extremely similar javax-swing-plaf-metal-MetalLookAndFeel.ads compiles OK also. Do I do anything wrong? TIA Gary ----- Posted via NewsOne.Net: Free (anonymous) Usenet News via the Web ----- http://newsone.net/ -- Free reading and anonymous posting to 60,000+ groups NewsOne.Net prohibits users from posting spam. If this or other posts made through NewsOne.Net violate posting guidelines, email abuse@newsone.net