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: [drlvm] invoking non-trivial jars results in IllegalAccessError
Date Tue, 03 Oct 2006 13:24:41 GMT
nice work

Anton Luht wrote:
> Alexey,
> 
> Thanks for pointing to that test - I created my tests using this approach.
> 
> Please see HARMONY-1671 for tests. If you think that some more options
> should be covered - please let me know - I'll try to make tests for
> them.
> 
> On 9/29/06, Alexey Varlamov <alexey.v.varlamov@gmail.com> wrote:
>> Anton,
>>
>> Many thanks for volunteering. You might be interested to look at
>> org.apache.harmony.archive.tests.java.util.jar.JarOutputStreamTest in
>> "archive" module - it gives some basic coverage in this area.
>> I know about it because just recently fixed it, see HARMONY-1622.
>>
>> -- 
>> Alexey
>>
>> 2006/9/29, Anton Luht <anton.luht@gmail.com>:
>> > Hello,
>> >
>> > I'd like to volunteer. Just an idea: I'm going to create a number of
>> > .class and .jar files and test various combinations of launching using
>> > SupportExec
>> >
>> > On 9/25/06, Geir Magnusson Jr <geir@pobox.com> wrote:
>> > > We desperately need tests for this.  Anyone want to volunteer, to 
>> even
>> > > make simple ones?  We can stuff into the smoke or other frameworks...
>> > >
>> > > geir
>> > >
>> > >
>> > > Pavel Pervov wrote:
>> > > > Chris,
>> > > >
>> > > > As far as I understant, this is responsibility of a class loader 
>> to parse
>> > > > Class-Path attribute of any jar file it has in its class path.
>> > > > System class loader for DRLVM (which is URLClassLoader) does this.
>> > > >
>> > > > Any objections?
>> > > >
>> > > > Regards,
>> > > >    Pavel Pervov.
>> > > > Intel Middleware Products Division.
>> > > >
>> > > > On 9/25/06, Chris Gray <chris.gray@kiffer.be> wrote:
>> > > >>
>> > > >> As I understand it, the classpath of the jarred application should
>> > > >> include
>> > > >> the
>> > > >> jar file itself and the contents of its Class-Path attribute 
>> (if any).
>> > > >> You
>> > > >> probably need to create a special class loader for the 
>> application and
>> > > >> use
>> > > >> that whenever the application (or a library loaded by it) is the
>> > > >> initiator.
>> > > >> --
>> > > >> Chris Gray        /k/ Embedded Java Solutions      BE0503765045
>> > > >> Embedded & Mobile Java, OSGi    http://www.k-embedded-java.com/
>> > > >> chris.gray@kiffer.be                             +32 3 216 0369
>> > > >>
>> > > >>
>> > > >> 
>> ---------------------------------------------------------------------
>> > > >> Terms of use : http://incubator.apache.org/harmony/mailing.html
>> > > >> To unsubscribe, e-mail: 
>> harmony-dev-unsubscribe@incubator.apache.org
>> > > >> For additional commands, e-mail: 
>> harmony-dev-help@incubator.apache.org
>> > > >>
>> > > >>
>> > > >
>> > >
>> > >
>> > > ---------------------------------------------------------------------
>> > > Terms of use : http://incubator.apache.org/harmony/mailing.html
>> > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>> > > For additional commands, e-mail: 
>> harmony-dev-help@incubator.apache.org
>> > >
>> > >
>> >
>> >
>> > --
>> > Regards,
>> > Anton Luht,
>> > Intel Middleware Products Division
>> >
>> > ---------------------------------------------------------------------
>> > Terms of use : http://incubator.apache.org/harmony/mailing.html
>> > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>> > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>>
>>
> 
> 

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message