VirtualBox

Ticket #13843 (new defect)

Opened 5 years ago

Last modified 5 years ago

MSCOM Java Binding - Breakage

Reported by: noteirak 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

comment:1 Changed 5 years ago by klaus

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.

www.oracle.com
ContactPrivacy policyTerms of Use