VirtualBox

Opened 9 years ago

Last modified 9 years ago

#13843 new defect

MSCOM Java Binding - Breakage

Reported by: Max D Owned by:
Component: other Version: VirtualBox 4.3.22
Keywords: Cc:
Guest type: all Host type: Windows

Description

MSCOM Java bindings are currently unusable as they fail on any method not returning a String.

Test code

public class MsComTest {
   
   public static void main(String[] args) {
      VirtualBoxManager mgr = VirtualBoxManager.createInstance(null);
      try {
         mgr.getVBox().getRevision();
      } finally {
         mgr.cleanup();
      }
   }
   
}

Change History (1)

comment:1 by Klaus Espenlaub, 9 years ago

Not quite every call, but every call which returns unsigned data. JACOB expects that in this case one asks it to return signed data and do the adjustment (including the use of a bigger data type) to convert it back to unsigned.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use