jar manifest main class can contain /

Mark Wielaard mark@klomp.org
Sun Mar 18 13:17:00 GMT 2001


Hi,

A jar Manifest file can contain a main-class field that contains '/' in the
class name instead of '.' to seperate the packages. For example:

  Main-Class: at/dms/kjc/Main

So this patch replaces all '/' with '.' in the jarMainClassName string.

2001-03-18  Mark Wielaard  <mark@klomp.org>

        * gnu/gcj/runtime/FirstThread.java (main): replace / with . in
        jarMainClassName 

OK to commit?

Cheers,

Mark
-- 
Stuff to read:
    < http://www.toad.com/gnu/whatswrong.html >
  What's Wrong with Copy Protection, by John Gilmore


More information about the Java-patches mailing list