harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <g...@pobox.com>
Subject Re: [jira] Commented: (HARMONY-2130) DaCapo antlr fails on drlvm
Date Fri, 08 Dec 2006 19:04:21 GMT


Stefano Mazzocchi wrote:
> Stepan Mishura wrote:
>> On 12/8/06, Geir Magnusson Jr. wrote:
>>>
>>> We've talked about this before because we knew we'd run into the
>>> problem.  I'll see if I can remember what we concluded...
>>>
>>> geir
>>>
>> See[1]  - we talked about two approaches: repackaging and 'dedicated class
>> loader' and as I understand we didn't make any decision.
>>
>> [1]
>> http://mail-archives.apache.org/mod_mbox/incubator-harmony-dev/200604.mbox/%3c6e47b64f0604110115l31496ffflc9bba19bc88756ac@mail.gmail.com%3e
> 
> repackaging is doable, but it's a pain in the neck, especially when
> modularity is in place. I would go for the dedicated classloader.
> 

Yea, but the repackaging is actually a relatively simple solution to try 
first if the classloader solution gets gnarly simply because the only 
code in the universe that will be using the class

    o.a.h.repkg.org.apache.jakarta.bcel.Foo

will be us.  It's a hack, but seems simple and straightforward and 
lacking in "magic" that could create nasty bugs or be confusing for 
difficult debugging situation.

Lots of options here...

geir


Mime
View raw message