src/hotspot/share/prims/jvmtiLib.xsl
changeset 54836 e2ed0691ae79
parent 48788 a766aa4a1f07
equal deleted inserted replaced
54835:43764a3a986d 54836:e2ed0691ae79
     1 <?xml version="1.0" encoding="utf-8"?>
     1 <?xml version="1.0" encoding="utf-8"?>
     2 <!--
     2 <!--
     3 
     3 
     4  Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved.
     4  Copyright (c) 2002, 2019, Oracle and/or its affiliates. All rights reserved.
     5  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     5  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     6 
     6 
     7  This code is free software; you can redistribute it and/or modify it
     7  This code is free software; you can redistribute it and/or modify it
     8  under the terms of the GNU General Public License version 2 only, as
     8  under the terms of the GNU General Public License version 2 only, as
     9  published by the Free Software Foundation.
     9  published by the Free Software Foundation.
    25 -->
    25 -->
    26 
    26 
    27 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    27 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    28                 version="1.0">
    28                 version="1.0">
    29 
    29 
       
    30   <xsl:param name="majorversion"></xsl:param>
       
    31 
    30   <xsl:template name="microversion">
    32   <xsl:template name="microversion">
    31     <xsl:value-of select="//specification/@microversion"/>
    33     <!-- Now microversion is always 0 -->
       
    34     <xsl:text>0</xsl:text>
    32   </xsl:template>
    35   </xsl:template>
    33 
    36 
    34   <xsl:template name="showbasicversion">
    37   <xsl:template name="showbasicversion">
    35     <xsl:value-of select="//specification/@majorversion"/>
    38     <xsl:value-of select="$majorversion"/>
    36     <xsl:text>.</xsl:text>
    39     <!-- Now minorversion is always 0 -->
    37     <xsl:value-of select="//specification/@minorversion"/>
    40     <xsl:text>.0</xsl:text>
    38   </xsl:template>
    41   </xsl:template>
    39 
    42 
    40   <xsl:template name="showversion">
    43   <xsl:template name="showversion">
    41     <xsl:call-template name="showbasicversion"/>
    44     <xsl:call-template name="showbasicversion"/>
    42     <xsl:text>.</xsl:text>
    45     <xsl:text>.</xsl:text>