🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #1743

Re: Q bout Java Default class loader - forName()

#1743
From: Ivan Ooi
Date: Fri, 29 Aug 2003 03:16
21 lines
1749 bytes
Thanks :-)

Lori M Olson (TeamB) wrote:
> Ivan Ooi wrote:
> 
>> Hi,
>>
>>    Will Java Default class loader - forName() load classes
>> multiple times ? Will it check the system memory before
>> it load the class again if I can twice in the program ?
>>
>> Thanks
>>
> 
> http://developer.java.sun.com/developer/onlineTraining/Security/Fundamentals/Security.html#secClassLoader 
> 
> 
> Pretty much every class loader article (for writing your own) stresses 
> the importance of FIRST checking to see if a class is already loaded. It 
> should always check, forName() or not.
> 
Technical Details
Message-ID: <3F4EC598.6060100@netscape.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!news-xfer1.atl.newshosting.com!63.218.45.11.MISMATCH!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3F4EA07F.2070804@netscape.net> <3f4ec32e$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,3003a477e7ee1495
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2003-08-28 20:21:27 PST
Message-ID: <3F4EC598.6060100@netscape.net>
Date: Fri, 29 Aug 2003 11:16:40 +0800
From: Ivan Ooi <ivanooi@netscape.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02
X-Accept-Language: en-us, en, zh-cn
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing
Subject: Re: Q bout Java Default class loader - forName()
References: <3F4EA07F.2070804@netscape.net> <3f4ec32e$1@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 219.95.128.178
X-Trace: newsgroups.borland.com 1062127007 219.95.128.178 (28 Aug 2003 20:16:47 -0700)
Lines: 22
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!news-xfer1.atl.newshosting.com!63.218.45.11.MISMATCH!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail