Re: Serious bug in PL/SQL compiler for Oracle Forms 5.0/Developer 2000 V2.0

From: TL <lamkin_at_tiac.net>
Date: 1998/02/17
Message-ID: <01bd3bc4$29c447c0$334e3dd1_at_l58cb9>#1/1


This sounds like object oriented inheritance.

Claus Jensen <cje_at_stibo.com> wrote in article <34DF7E02.367F_at_stibo.com>...
> I have found a very disturbing bug in the PL/SQL compiler under
> Developer 2000 V2.0. I have not checked if it is also present in earlier
> versions.
>
> Say as a simple example I have a package "MyPck", with one procedure
> "Clear".
>
> If I have a trigger calling "MyPck.Clear" everything works of course.
> BUT if I (by mistake) type something like "MyPck.Clear_Form", which
> obviously should give a compile-time error, it will compile just fine.
> On runtime it will call the built-in "Clear_Form"!!! If however
> "MyPck.Clear_Form" is defined that one will be called!
>
> I found the bug in a somewhat more complex setting, but I have verified
> that the problem is the same in a one-block, 2 item form with just this
> simple package. I can send the form as documentation if anyone is
> interested.
>
> /Claus
> --
> ------------------------------------------------------------------
> Claus Jensen The Stibo Technology Group...since 1794
> Stibo Datagraphics Inc.
> 400 Franklin Road E-mail: cje_at_stibo.com
> Marietta Phone: (001) 770 425 3282, ext. 197
> GA 30067-7735 Fax: (001) 770 425 3012
> ------------------------------------------------------------------
> "If the human brain was simple enough for us to understand,
> we would be so simple we couldn't..."
> ------------------------------------------------------------------
>
Received on Tue Feb 17 1998 - 00:00:00 CET

Original text of this message