VirtualBox

Changeset 50417 in vbox


Ignore:
Timestamp:
Feb 11, 2014 6:12:40 PM (11 years ago)
Author:
vboxsync
Message:

Main: handle NULL input arrays in the Java XPCOM binding correctly

File:
1 edited

Legend:

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

    r50183 r50417  
    16001600          <xsl:when test="@dir='in'">
    16011601            <xsl:if test="(@safearray='yes') and not(@type = 'octet')">
    1602               <xsl:value-of select="concat(@name, '.size(), ')" />
     1602              <xsl:value-of select="concat(@name, ' != null ? ', @name, '.size() : 0, ')" />
    16031603            </xsl:if>
    16041604            <xsl:variable name="unwrapped">
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