Article View: borland.public.jbuilder.java.api
Article #1446Changing the default class loader.
From: Hanan Hermon
Date: Mon, 28 Jan 2002 08:05
Date: Mon, 28 Jan 2002 08:05
17 lines
1519 bytes
1519 bytes
Hi, I want the system to use my ClassLoader, instead of the default defined for it. I know how to write my ClassLoader, and how to use it for loading classes. But I have two problems: 1) The system always tries to use the default ClassLoader to load classes, before using mine (as it should according to the documentation), but I don't want it do the standard thing, and use the default first, I want it to use mine first. 2) I know only how to read classes that are in regular files, and I would like to read classes from zip or jar files, and that I don't know how to do. Thanks in advance, Hanan Hermon,
Technical Details
Message-ID:
<3c550667$1_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.icl.net!opentransit.net!proxad.net!teaser.fr!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,144532415003ca26,start X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2002-01-28 00:09:27 PST From: "Hanan Hermon" <hananh@radcom.co.il> Newsgroups: borland.public.jbuilder.java.api Subject: Changing the default class loader. Date: Mon, 28 Jan 2002 10:05:14 +0200 Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 NNTP-Posting-Host: 192.116.176.125 Message-ID: <3c550667$1_2@dnews> X-Trace: dnews 1012205159 192.116.176.125 (28 Jan 2002 00:05:59 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.icl.net!opentransit.net!proxad.net!teaser.fr!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews