Changeset 46478 in vbox for trunk/src/libs/xpcom18a4/java
- Timestamp:
- Jun 10, 2013 4:31:35 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 86321
- Location:
- trunk/src/libs/xpcom18a4/java
- Files:
-
- 1 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/java/Makefile.kmk
r41477 r46478 174 174 $(QUIET)$(RM) -f $(wildcard $(VBOX_JXPCOM_GEN)/java/glue/*.java) 175 175 $(QUIET)$(VBOX_XSLTPROC) \ 176 --stringparam filelistonly "" \ 176 177 --stringparam G_vboxApiSuffix $(VBOX_API_SUFFIX) \ 177 178 --stringparam G_vboxGlueStyle xpcom \ -
trunk/src/libs/xpcom18a4/java/src/nsJavaInterfaces.cpp
r38636 r46478 380 380 381 381 extern "C" NS_EXPORT jobject JNICALL 382 #ifdef VBOX 383 XPCOM_NATIVE2(getServiceManager) (JNIEnv *env, jobject) 384 #else 382 385 XPCOM_NATIVE(getServiceManager) (JNIEnv *env, jobject) 386 #endif 383 387 { 384 388 // Call XPCOM method -
trunk/src/libs/xpcom18a4/java/src/nsJavaWrapper.cpp
r38904 r46478 1496 1496 { 1497 1497 nsCOMPtr <nsIException> ex; 1498 rc = em->Get ExceptionFromProvider(r, NULL,getter_AddRefs (ex));1498 rc = em->GetCurrentException(getter_AddRefs (ex)); 1499 1499 if (NS_SUCCEEDED (rc) && ex) 1500 1500 { -
trunk/src/libs/xpcom18a4/java/src/org/mozilla/xpcom/XPCOMException.java
r29140 r46478 88 88 */ 89 89 public XPCOMException(long code, String message) { 90 super(message + " 90 super(message + " (0x" + Long.toHexString(code) + ")"); 91 91 this.errorcode = code; 92 92 } -
trunk/src/libs/xpcom18a4/java/tools/genjifaces.xsl
r44529 r46478 8 8 9 9 genjifaces.xsl: 10 XSLT stylesheet that generates Java XPCOM bridge int reface code from VirtualBox.xidl.11 12 Copyright (C) 2010-201 2Oracle Corporation10 XSLT stylesheet that generates Java XPCOM bridge interface code from VirtualBox.xidl. 11 12 Copyright (C) 2010-2013 Oracle Corporation 13 13 14 14 This file is part of VirtualBox Open Source Edition (OSE), as … … 68 68 <xsl:param name="name" /> 69 69 <xsl:text>/** 70 * Copyright (C) 2010 Oracle Corporation70 * Copyright (C) 2010-2013 Oracle Corporation 71 71 * 72 72 * This file is part of VirtualBox Open Source Edition (OSE), as … … 120 120 121 121 public nsISupports queryInterface(String arg1); 122 123 } 124 122 } 125 123 ]]></xsl:text> 126 124 … … 129 127 </xsl:call-template> 130 128 131 <xsl:call-template name="startFile">129 <xsl:call-template name="startFile"> 132 130 <xsl:with-param name="file" select="'nsIComponentManager.java'" /> 133 131 </xsl:call-template> … … 147 145 public nsISupports createInstanceByContractID(String arg1, nsISupports arg2, String arg3); 148 146 } 149 150 147 ]]></xsl:text> 151 148 … … 154 151 </xsl:call-template> 155 152 156 <xsl:call-template name="startFile">153 <xsl:call-template name="startFile"> 157 154 <xsl:with-param name="file" select="'nsIServiceManager.java'" /> 158 155 </xsl:call-template> … … 172 169 public boolean isServiceInstantiatedByContractID(String arg1, String arg2); 173 170 } 174 175 171 ]]></xsl:text> 176 172 … … 179 175 </xsl:call-template> 180 176 181 <xsl:call-template name="startFile"> 177 <xsl:call-template name="startFile"> 178 <xsl:with-param name="file" select="'nsIExceptionManager.java'" /> 179 </xsl:call-template> 180 181 <xsl:text><![CDATA[ 182 public interface nsIExceptionManager extends nsISupports 183 { 184 public static final String NS_IEXCEPTIONMANAGER_IID = 185 "{efc9d00b-231c-4feb-852c-ac017266a415}"; 186 187 public nsIException getCurrentException(); 188 } 189 ]]></xsl:text> 190 191 <xsl:call-template name="endFile"> 192 <xsl:with-param name="file" select="'nsISupports.java'" /> 193 </xsl:call-template> 194 195 <xsl:call-template name="startFile"> 196 <xsl:with-param name="file" select="'nsIExceptionService.java'" /> 197 </xsl:call-template> 198 199 <xsl:text><![CDATA[ 200 public interface nsIExceptionService extends nsIExceptionManager 201 { 202 public static final String NS_IEXCEPTIONSERVICE_IID = 203 "{35a88f54-f267-4414-92a7-191f6454ab52}"; 204 205 public nsIExceptionManager getCurrentExceptionManager(); 206 } 207 ]]></xsl:text> 208 209 <xsl:call-template name="endFile"> 210 <xsl:with-param name="file" select="'nsISupports.java'" /> 211 </xsl:call-template> 212 213 <xsl:call-template name="startFile"> 214 <xsl:with-param name="file" select="'nsIException.java'" /> 215 </xsl:call-template> 216 217 <xsl:text><![CDATA[ 218 public interface nsIException extends nsISupports 219 { 220 public static final String NS_IEXCEPTION_IID = 221 "{f3a8d3b4-c424-4edc-8bf6-8974c983ba78}"; 222 223 // No methods - placeholder 224 } 225 ]]></xsl:text> 226 227 <xsl:call-template name="endFile"> 228 <xsl:with-param name="file" select="'nsISupports.java'" /> 229 </xsl:call-template> 230 231 <xsl:call-template name="startFile"> 182 232 <xsl:with-param name="file" select="'nsIComponentRegistrar.java'" /> 183 233 </xsl:call-template> … … 191 241 // No methods - placeholder 192 242 } 193 194 243 ]]></xsl:text> 195 244 … … 199 248 200 249 201 <xsl:call-template name="startFile">250 <xsl:call-template name="startFile"> 202 251 <xsl:with-param name="file" select="'nsIFile.java'" /> 203 252 </xsl:call-template> … … 211 260 // No methods - placeholder 212 261 } 213 214 262 ]]></xsl:text> 215 263 … … 218 266 </xsl:call-template> 219 267 220 <xsl:call-template name="startFile">268 <xsl:call-template name="startFile"> 221 269 <xsl:with-param name="file" select="'nsILocalFile.java'" /> 222 270 </xsl:call-template> … … 230 278 // No methods - placeholder 231 279 } 232 233 280 ]]></xsl:text> 234 281
Note:
See TracChangeset
for help on using the changeset viewer.