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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,79d422601576e972 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!news.motzarella.org!motzarella.org!not-for-mail From: Sebastien Morand Newsgroups: comp.lang.ada Subject: Re: AWS issue Date: Sun, 18 May 2008 17:16:54 +0000 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: feeder.motzarella.org U2FsdGVkX1+KOZ+rpgBLgDpQbWcB0O/YKpNkZvA7qoG6Em8Ow/SE/jKe4QMF7uBvX84UKiH/iz15KyGmQqLnScWooRJjurh0WFy+JGvNyyDIdGkPVB12fkaIJ1aDl5HVT//u8GRvfwA= X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers NNTP-Posting-Date: Sun, 18 May 2008 17:14:42 +0000 (UTC) In-Reply-To: X-Auth-Sender: U2FsdGVkX1/pdeTZrBgpbAMJ8JerAMWcKV0cDkm+6uU= Cancel-Lock: sha1:jzwD3SJ1Mjd9lg2ePZzstZV9sVE= User-Agent: Thunderbird 2.0.0.12 (X11/20080406) Xref: g2news1.google.com comp.lang.ada:210 Date: 2008-05-18T17:16:54+00:00 List-Id: > The lines are the following: > 60 H: AWS.Services.Dispatchers.URI.Handler; > 61 V: AWS.Services.Dispatchers.Virtual_Host.Handler; > 62 C: AWS.Config.Object := AWS.Config.Default_Config; > 63 > 64 begin > 65 H.Initialize; > 66 V.Initialize; > > What I don't understand is that AWS.Services.Dispatchers.URI.Handler; is > a new AWS.Dispatchers.Handler and Initialize is defined for > AWS.Dispatchers.Handler type, so it should be ok. I answer to my own question: I read a bit more about Ada.Finalization. Actually, Initalize and Finalize Methods are the equivalent of contructor and destructor and are automatically called by the compiler. So my feelings is that the error message could be a bit clearer :-) I remove the call to these two methods, and it works fine. Sebastien