ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47632] New: Manifest should contain java.runtime.version instead of java.vm.version
Date Tue, 04 Aug 2009 08:40:40 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47632

           Summary: Manifest should contain java.runtime.version instead
                    of java.vm.version
           Product: Ant
           Version: 1.7.1
          Platform: PC
        OS/Version: Windows Server 2003
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: notifications@ant.apache.org
        ReportedBy: Gilbert.Rebhan@huk-coburg.de


--- Comment #0 from Gilbert Rebhan <Gilbert.Rebhan@huk-coburg.de> 2009-08-04 01:40:39
PDT ---
Created an attachment (id=24090)
use java.runtime.version instead of java.vm.version

After switching from Sun jdk 1.5.0_11 to jdk 1.6.0_14 i noticed that
property java.vm.version has changed, so the Manifest class should use
java.runtime.version for the value of Created-By entry in MANIFEST.MF

jdk 1.5.0_11, Manifest looks like =
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.1
Created-By: 1.5.0_11-b03 (Sun Microsystems Inc.)
...

jdk 1.5.0_11, java.vm.version property =
1.5.0_11-b03
jdk 1.5.0_11, java.runtime.version property =
1.5.0_11-b03

jdk 1.6.0_14, Manifest looks like =
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.1
Created-By: 14.0-b16 (Sun Microsystems Inc.)
...

jdk 1.6.0_14, java.vm.version property =
14.0-b16
jdk 1.6.0_14, java.runtime.version property =
1.6.0_14-b08

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message