Changeset 51448 in vbox for trunk/src/VBox/Main
- Timestamp:
- May 28, 2014 1:51:05 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 94011
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/glue/glue-java.xsl
r51444 r51448 1904 1904 <xsl:otherwise> 1905 1905 <xsl:variable name="hasReturnParms" select="param[@dir='return']" /> 1906 <xsl:variable name="hasOutParms" select=" param[@dir='out']" />1906 <xsl:variable name="hasOutParms" select="count(param[@dir='out']) > 0" /> 1907 1907 <xsl:variable name="returnidltype" select="param[@dir='return']/@type" /> 1908 1908 <xsl:variable name="returnidlsafearray" select="param[@dir='return']/@safearray" /> 1909 <xsl:if test="$hasOutParms and not($hasReturnParms) and ( count(param[@dir='out']) = 1)">1909 <xsl:if test="$hasOutParms and not($hasReturnParms) and (string-length(@wsmap) = 0) and (count(param[@dir='out']) = 1)"> 1910 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')" />1911 <xsl:with-param name="msg" select="concat('genMethod: ', $ifname, $hasOutParms, not($hasReturnParms), 'a', string-length(@wsmap) = 0, 'b', @wsmap, (count(param[@dir='out']) = 1), '::', $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 1912 </xsl:call-template> 1913 1913 </xsl:if> … … 2165 2165 <xsl:otherwise> 2166 2166 <xsl:variable name="hasReturnParms" select="param[@dir='return']" /> 2167 <xsl:variable name="hasOutParms" select="param[@dir='out']" />2168 2167 <xsl:variable name="returnidltype" select="param[@dir='return']/@type" /> 2169 2168 <xsl:variable name="returnidlsafearray" select="param[@dir='return']/@safearray" /> … … 4603 4602 <xsl:otherwise> 4604 4603 <!-- We don't need WSDL-specific interfaces here --> 4605 <xsl:if test="not( $self_target='wsdl') and not($module)">4604 <xsl:if test="not(@internal='yes') and not($self_target='wsdl') and not($module)"> 4606 4605 <xsl:call-template name="genIface"> 4607 4606 <xsl:with-param name="ifname" select="@name" />
Note:
See TracChangeset
for help on using the changeset viewer.