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 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-04-05 13:36:09 PST Newsgroups: comp.lang.ada Path: supernews.google.com!sn-xit-02!supernews.com!isdnet!grolier!newsfeeds.belnet.be!news.belnet.be!news2.euro.net!uunet!ash.uu.net!world!bobduff From: Robert A Duff Subject: Re: Bizarre JGNAT things Sender: bobduff@world.std.com (Robert A Duff) Message-ID: Date: Thu, 5 Apr 2001 20:34:53 GMT References: <9a5kqt$cnu$1@news.netmar.com> <3ac7598d_2@news3.prserv.net> <3AC865C2.763B1A90@earthlink.net> <9agq05$qs7$1@news.netmar.com> Organization: The World Public Access UNIX, Brookline, MA X-Newsreader: Gnus v5.3/Emacs 19.34 Xref: supernews.google.com comp.lang.ada:6528 Date: 2001-04-05T20:34:53+00:00 List-Id: gary_the_fox@richmond.com writes: > > Hello! > Sure, I agree with all you say:-). > However, the things I've described in the original are most likely a small bug > in JGNAT. The problem is that if the compiler seemingly behaves erroneously > if the compilation unit uses a package named, for instance, X and its own > package name is of the form P1.P2.....X....P. For instance, the units that > couldn't be compiled were child of COM.SUN.JAVA package and used JAVA top- > level package. If I moved the code into a package that is not a child package > of P1...JAVA, everything was OK. Since after the analysis of RM I've found no > indication that this is illegal in Ada, it looks like a bug (Please, correct > me if I'm wrong). You would have to post the exact code to be sure. But it sounds like you were hiding something called Java with another name Java. - Bob