BZ #7: [patch] Support -fullversion for JPackage.org compatibility

Status fields:

creation_ts:2005-07-21 12:35
component:unspecified
version:unspecified
rep_platform:All
op_sys:All
bug_status:RESOLVED
resolution:FIXED
reporter:greenrd@greenrd.org
If cacao supported the -fullversion option, it would be compatible with
JPackage, a large repository of common Java packages (see www.jpackage.org).
JPackage uses -fullversion because it is faster than -version on some VMs. The
general format of the result is:

For a Sun VM:

java full version "1.5.0_01-b08"

For gcj/gij:

java full version "gcj-1.4.2"
(This is because it's pretending to be a 1.4.2 VM)

So I attach a patch to output
java full version "cacao-1.4.2"

Comment #1 by greenrd@greenrd.org on 2005-07-21 12:39:38

Created an attachment (id=6)
patch

Comment #2 by twisti@complang.tuwien.ac.at on 2005-07-21 13:01:05

Patch applied.

Attachment id=6

date:2005-07-21 12:39
desc:patch
type:text/plain
download:cacao-fullversion.patch