You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2009/08/04 10:40:40 UTC

DO NOT REPLY [Bug 47632] New: Manifest should contain java.runtime.version instead of java.vm.version

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 <Gi...@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.

DO NOT REPLY [Bug 47632] Manifest should contain java.runtime.version instead of java.vm.version

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47632


Stefan Bodewig <bo...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |1.8.0


--- Comment #1 from Stefan Bodewig <bo...@apache.org> 2009-08-05 07:55:32 PDT ---
seems to be consistent with the policy documented in
http://java.sun.com/j2se/versioning_naming.html

applied in svn revision 801246

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