FWIW the version in the IBM VME explicitly converts '/' to '.' in the
Main-Class: value before looking up the class.

I suggest we support both, IMHO nobody will be relying on it failing
with '/'s.

Regards,
Tim

Geir Magnusson Jr. wrote:
> Looking at HARMONY-1622, I'm not convinced that we need to change
> JarRunner in DRLVM, but rather should figure out what the right thing to
> do is in classlib.
> 
> The issue is having a MainClass in the manifest contain "/" :
> 
>    geir/GeirTest
> 
> versus
> 
>    geir.GeirTest
> 
> My simple quick test showed that the RI will throw an exception with the
> / and be ok w/ the .
> 
> Currently, it's reported in 1622 that
> o.a.h.a.t.j.u.j.JarOutputStreamTest  fails on the "/" in the main class
> name.
> 
> I think that's actually right, if we want to conform to the RI. Right
> now, though, either J9 does the conversion in it's JarRunner, or
> internally it's classloader infrastructure is more tolerant.
> 
> Comments?
> 
> geir
> 
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-- 

Tim Ellison ([EMAIL PROTECTED])
IBM Java technology centre, UK.

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to