JDK-2163591 : transition to Mercurial: need to eliminate dependencies on SCCS keywords
  • Type: Backport
  • Backport of: JDK-6589868
  • Component: hotspot
  • Sub-Component: jvmti
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2008-06-04
  • Updated: 2011-09-22
  • Resolved: 2008-07-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
OpenJDK6,hs11Fixed
Description
Not sure if this is an issue with openjdk 6 or not. If not, please close this as 'not a bug'
The jvmti.xml defines the variable "onedotmicroversion" value using the SCCS %I% keyword:
<specification label="JVM(TM) Tool Interface"
        majorversion="1"
        minorversion="1"
        onedotmicroversion="%I%">

There are the following dependencies on the onedotmicroversion value:
jvmtiLib.xsl:
  <xsl:variable name="microversionbase" select="100"/>

  <xsl:template name="microversion">
    <xsl:variable name="micro" select="substring-after(//specification/@onedotmicroversion, '1.')"/>
    <xsl:choose>
      <xsl:when test="string($micro)=''">
        <xsl:text>dev</xsl:text>
      </xsl:when>
      <xsl:otherwise>
        <xsl:value-of select="$micro - $microversionbase"/>
      </xsl:otherwise>
    </xsl:choose>
  </xsl:template>

All the above needs to be fixed to complete transition from TeamWare to Mercurial.

Comments
SUGGESTED FIX The same fix is valid as for the main CR.
09-06-2008

EVALUATION Please, refer to the description what needs to be done.
05-06-2008