VirtualBox

Changeset 51444 in vbox for trunk/src/VBox/Main/glue


Ignore:
Timestamp:
May 28, 2014 12:06:27 PM (11 years ago)
Author:
vboxsync
Message:

Main/glue-java.xsl: detect single out parameter and no return parameter if a method parameter list, this is causing trouble with JAX-WS (take the easy way out and ask for changing the IDL, changing the generator would be a lot of effort)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/glue/glue-java.xsl

    r51416 r51444  
    19071907      <xsl:variable name="returnidltype" select="param[@dir='return']/@type" />
    19081908      <xsl:variable name="returnidlsafearray" select="param[@dir='return']/@safearray" />
     1909      <xsl:if test="$hasOutParms and not($hasReturnParms) and (count(param[@dir='out']) = 1)">
     1910        <xsl:call-template name="fatalError">
     1911          <xsl:with-param name="msg" select="concat('genMethod: ', $ifname, '::', $methodname, ' has exactly one out parameter and no return parameter, this causes trouble with JAX-WS and the out parameter needs to be converted to return')" />
     1912        </xsl:call-template>
     1913      </xsl:if>
    19091914      <xsl:variable name="returngluetype">
    19101915        <xsl:choose>
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette