🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #14817

Re: Try with no catch.

#14817
From: Hugo Ferreira
Date: Thu, 05 Aug 1999 00:00
19 lines
1095 bytes
Hi,

>> Class clss = X.class
>>
>> java complained.
>
>Your class X doesn't seem to be declared public - did you try to
>access the .class field from a class in a different package?

Thats the wierd part. The code compiles ok, and only during the run breaks.
So this means the access modifier is ok.

I changed the class removing the try/finally blocks. Compiled and it ran ok.
I replaced the try/finally block. Compiled and guess what, it ran ok ! Now
I am trying to recreate this problem again but cannot seem to do it.

Compiler (javac) problems ?

Hugo.
Technical Details
Message-ID: <7obdfm$qas5@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7o9m0l$p122@forums.borland.com> <uaes6g1po.fsf@sds.no>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,664c3a7a9c471a
X-Google-Attributes: gidf74b3,public
From: "Hugo Ferreira" <HugoF@cocaina.inescn.pt>
Subject: Re: Try with no catch.
Date: 1999/08/05
Message-ID: <7obdfm$qas5@forums.borland.com>
X-Deja-AN: 509090045
References: <7o9m0l$p122@forums.borland.com> <uaes6g1po.fsf@sds.no>
Organization: Another Netscape Collabra Server User
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700
Newsgroups: borland.public.jbuilder.java.language