Binary compatibility report for the com4j library between 20040705 and 20040821 versions
Test Info
Library Name | com4j |
Version #1 | 20040705 |
Version #2 | 20040821 |
Test Results
Total Java ARchives | 2 |
---|
Total Methods / Classes | 199 / 50 |
---|
Verdict | Incompatible (13.6%) |
Problem Summary
| Severity | Count |
---|
Added Methods | - | 50 |
---|
Removed Methods | High | 11 |
---|
Problems with Data Types | High | 3 |
---|
Medium | 2 |
Low | 0 |
Problems with Methods | High | 0 |
---|
Medium | 0 |
Low | 0 |
Other Changes in Data Types | - | 7 |
Added Methods (50)
com4j.jar, Bound.class
package com4j
SafeArray.Bound.SafeArray.Bound ( )
[mangled: com4j/SafeArray.Bound."<init>":()V]
com4j.jar, COM4J.class
package com4j
COM4J.addListener ( ComObjectListener listener ) [static] : void
[mangled: com4j/COM4J.addListener:(Lcom4j/ComObjectListener;)V]
COM4J.removeListener ( ComObjectListener listener ) [static] : void
[mangled: com4j/COM4J.removeListener:(Lcom4j/ComObjectListener;)V]
com4j.jar, Com4jObject.class
package com4j
Com4jObject.dispose ( ) [abstract] : void
[mangled: com4j/Com4jObject.dispose:()V]
com4j.jar, ComException.class
package com4j
ComException.ComException ( String msg )
[mangled: com4j/ComException."<init>":(Ljava/lang/String;)V]
com4j.jar, ComObjectCollector.class
package com4j.util
ComObjectCollector.ComObjectCollector ( )
[mangled: com4j/util/ComObjectCollector."<init>":()V]
ComObjectCollector.diposeAll ( ) : void
[mangled: com4j/util/ComObjectCollector.diposeAll:()V]
ComObjectCollector.onNewObject ( Com4jObject obj ) : void
[mangled: com4j/util/ComObjectCollector.onNewObject:(Lcom4j/Com4jObject;)V]
ComObjectCollector.remove ( Com4jObject obj ) : void
[mangled: com4j/util/ComObjectCollector.remove:(Lcom4j/Com4jObject;)V]
com4j.jar, ComObjectListener.class
package com4j
ComObjectListener.onNewObject ( Com4jObject p1 ) [abstract] : void
[mangled: com4j/ComObjectListener.onNewObject:(Lcom4j/Com4jObject;)V]
com4j.jar, NativeType.class
package com4j
NativeType.byRef ( ) : NativeType
[mangled: com4j/NativeType.byRef:()Lcom4j/NativeType;]
com4j.jar, SafeArray.class
package com4j
SafeArray.get ( int[ ] p1 ) : Object
[mangled: com4j/SafeArray.get:([I)Ljava/lang/Object;]
SafeArray.SafeArray ( Variant.Type type, SafeArray.Bound[ ] bounds )
[mangled: com4j/SafeArray."<init>":(Lcom4j/Variant$Type;[Lcom4j/SafeArray$Bound;)V]
SafeArray.set ( int[ ] p1 ) : void
[mangled: com4j/SafeArray.set:([I)V]
tlbimp.jar, AntTaskImpl.class
package com4j.tlbimp.driver
AntTaskImpl.addConfiguredRef ( Ref r ) : void
[mangled: com4j/tlbimp/driver/AntTaskImpl.addConfiguredRef:(Lcom4j/tlbimp/driver/Ref;)V]
AntTaskImpl.AntTaskImpl ( )
[mangled: com4j/tlbimp/driver/AntTaskImpl."<init>":()V]
AntTaskImpl.error ( BindingException e ) : void
[mangled: com4j/tlbimp/driver/AntTaskImpl.error:(Lcom4j/tlbimp/BindingException;)V]
AntTaskImpl.execute ( ) : void
[mangled: com4j/tlbimp/driver/AntTaskImpl.execute:()V]
AntTaskImpl.setDestDir ( File destDir ) : void
[mangled: com4j/tlbimp/driver/AntTaskImpl.setDestDir:(Ljava/io/File;)V]
AntTaskImpl.setFile ( File source ) : void
[mangled: com4j/tlbimp/driver/AntTaskImpl.setFile:(Ljava/io/File;)V]
AntTaskImpl.setLibid ( String libid ) : void
[mangled: com4j/tlbimp/driver/AntTaskImpl.setLibid:(Ljava/lang/String;)V]
AntTaskImpl.setLibver ( String libver ) : void
[mangled: com4j/tlbimp/driver/AntTaskImpl.setLibver:(Ljava/lang/String;)V]
AntTaskImpl.setPackage ( String packageName ) : void
[mangled: com4j/tlbimp/driver/AntTaskImpl.setPackage:(Ljava/lang/String;)V]
AntTaskImpl.warning ( String message ) : void
[mangled: com4j/tlbimp/driver/AntTaskImpl.warning:(Ljava/lang/String;)V]
tlbimp.jar, BindingException.class
package com4j.tlbimp
BindingException.getMessage ( ) : String
[mangled: com4j/tlbimp/BindingException.getMessage:()Ljava/lang/String;]
tlbimp.jar, ErrorListener.class
package com4j.tlbimp
ErrorListener.error ( BindingException p1 ) [abstract] : void
[mangled: com4j/tlbimp/ErrorListener.error:(Lcom4j/tlbimp/BindingException;)V]
ErrorListener.warning ( String p1 ) [abstract] : void
[mangled: com4j/tlbimp/ErrorListener.warning:(Ljava/lang/String;)V]
tlbimp.jar, Generator.class
package com4j.tlbimp
Generator.finish ( ) : void
[mangled: com4j/tlbimp/Generator.finish:()V]
Generator.generate ( IWTypeLib lib ) : void
[mangled: com4j/tlbimp/Generator.generate:(Lcom4j/tlbimp/def/IWTypeLib;)V]
Generator.Generator ( CodeWriter writer, ReferenceResolver resolver, ErrorListener el )
[mangled: com4j/tlbimp/Generator."<init>":(Lcom4j/tlbimp/CodeWriter;Lcom4j/tlbimp/ReferenceResolver;Lcom4j/tlbimp/ErrorListener;)V]
tlbimp.jar, IMethod.class
package com4j.tlbimp.def
IMethod.isVarArg ( ) [abstract] : boolean
[mangled: com4j/tlbimp/def/IMethod.isVarArg:()Z]
tlbimp.jar, IndentingWriter.class
package com4j.tlbimp
IndentingWriter.cancel ( ) : void
[mangled: com4j/tlbimp/IndentingWriter.cancel:()V]
IndentingWriter.commit ( ) : void
[mangled: com4j/tlbimp/IndentingWriter.commit:()V]
IndentingWriter.startBuffering ( ) : void
[mangled: com4j/tlbimp/IndentingWriter.startBuffering:()V]
tlbimp.jar, ISafeArrayType.class
package com4j.tlbimp.def
ISafeArrayType.getComponentType ( ) [abstract] : IType
[mangled: com4j/tlbimp/def/ISafeArrayType.getComponentType:()Lcom4j/tlbimp/def/IType;]
tlbimp.jar, ITypeDecl.class
package com4j.tlbimp.def
ITypeDecl.getParent ( ) [abstract] : IWTypeLib
[mangled: com4j/tlbimp/def/ITypeDecl.getParent:()Lcom4j/tlbimp/def/IWTypeLib;]
tlbimp.jar, IWTypeLib.class
package com4j.tlbimp.def
IWTypeLib.getLibid ( ) [abstract] : GUID
[mangled: com4j/tlbimp/def/IWTypeLib.getLibid:()Lcom4j/GUID;]
tlbimp.jar, Main.class
package com4j.tlbimp.driver
Main.error ( BindingException e ) : void
[mangled: com4j/tlbimp/driver/Main.error:(Lcom4j/tlbimp/BindingException;)V]
Main.Main ( )
[mangled: com4j/tlbimp/driver/Main."<init>":()V]
Main.main ( String[ ] args ) [static] : void
[mangled: com4j/tlbimp/driver/Main.main:([Ljava/lang/String;)V]
Main.warning ( String message ) : void
[mangled: com4j/tlbimp/driver/Main.warning:(Ljava/lang/String;)V]
tlbimp.jar, ReferenceResolver.class
package com4j.tlbimp
ReferenceResolver.resolve ( IWTypeLib p1 ) [abstract] : String
[mangled: com4j/tlbimp/ReferenceResolver.resolve:(Lcom4j/tlbimp/def/IWTypeLib;)Ljava/lang/String;]
tlbimp.jar, TypeLibInfo.class
package com4j.tlbimp
TypeLibInfo.locate ( String libid, String version ) [static] : TypeLibInfo
[mangled: com4j/tlbimp/TypeLibInfo.locate:(Ljava/lang/String;Ljava/lang/String;)Lcom4j/tlbimp/TypeLibInfo;]
TypeLibInfo.TypeLibInfo ( String libName, File typeLibrary, TypeLibInfo.Version version, int lcid )
[mangled: com4j/tlbimp/TypeLibInfo."<init>":(Ljava/lang/String;Ljava/io/File;Lcom4j/tlbimp/TypeLibInfo$Version;I)V]
tlbimp.jar, Version.class
package com4j.tlbimp
TypeLibInfo.Version.compareTo ( Object x0 ) : int
[mangled: com4j/tlbimp/TypeLibInfo.Version.compareTo:(Ljava/lang/Object;)I]
TypeLibInfo.Version.compareTo ( TypeLibInfo.Version rhs ) : int
[mangled: com4j/tlbimp/TypeLibInfo.Version.compareTo:(Lcom4j/tlbimp/TypeLibInfo$Version;)I]
TypeLibInfo.Version.equals ( Object o ) : boolean
[mangled: com4j/tlbimp/TypeLibInfo.Version.equals:(Ljava/lang/Object;)Z]
TypeLibInfo.Version.hashCode ( ) : int
[mangled: com4j/tlbimp/TypeLibInfo.Version.hashCode:()I]
TypeLibInfo.Version.toString ( ) : String
[mangled: com4j/tlbimp/TypeLibInfo.Version.toString:()Ljava/lang/String;]
TypeLibInfo.Version.TypeLibInfo.Version ( String name )
[mangled: com4j/tlbimp/TypeLibInfo.Version."<init>":(Ljava/lang/String;)V]
to the top
Removed Methods (11)
com4j.jar, Com4jObject.class
package com4j
Com4jObject.release ( ) [abstract] : void
[mangled: com4j/Com4jObject.release:()V]
tlbimp.jar, AntTaskImpl.class
package com4j.tlbimp
AntTaskImpl.AntTaskImpl ( )
[mangled: com4j/tlbimp/AntTaskImpl."<init>":()V]
AntTaskImpl.execute ( ) : void
[mangled: com4j/tlbimp/AntTaskImpl.execute:()V]
AntTaskImpl.setDestDir ( File destDir ) : void
[mangled: com4j/tlbimp/AntTaskImpl.setDestDir:(Ljava/io/File;)V]
AntTaskImpl.setPackage ( String packageName ) : void
[mangled: com4j/tlbimp/AntTaskImpl.setPackage:(Ljava/lang/String;)V]
AntTaskImpl.setSource ( File source ) : void
[mangled: com4j/tlbimp/AntTaskImpl.setSource:(Ljava/io/File;)V]
tlbimp.jar, Generator.class
package com4j.tlbimp
Generator.generate ( IWTypeLib lib, CodeWriter writer, String packageName ) [static] : void
[mangled: com4j/tlbimp/Generator.generate:(Lcom4j/tlbimp/def/IWTypeLib;Lcom4j/tlbimp/CodeWriter;Ljava/lang/String;)V]
tlbimp.jar, IndentingWriter.class
package com4j.tlbimp
IndentingWriter.IndentingWriter ( OutputStream out )
[mangled: com4j/tlbimp/IndentingWriter."<init>":(Ljava/io/OutputStream;)V]
IndentingWriter.IndentingWriter ( OutputStream out, boolean autoFlush )
[mangled: com4j/tlbimp/IndentingWriter."<init>":(Ljava/io/OutputStream;Z)V]
tlbimp.jar, Main.class
package com4j.tlbimp
Main.Main ( )
[mangled: com4j/tlbimp/Main."<init>":()V]
Main.main ( String[ ] args ) [static] : void
[mangled: com4j/tlbimp/Main.main:([Ljava/lang/String;)V]
to the top
Problems with Data Types, High Severity (3)
com4j.jar
package com4j
[+] Com4jObject (1)
| Change | Effect |
---|
1 | Abstract method release ( ) has been removed from this interface. | A client program may be interrupted by NoSuchMethodError exception. |
[+] affected methods (8)
createInstance ( Class, GUID )Return value of this method has type 'Com4jObject'.
createInstance ( Class, String )Return value of this method has type 'Com4jObject'.
loadTypeLibrary ( File )Return value of this method has type 'Com4jObject'.
equals ( Object )This abstract method is from 'Com4jObject' interface.
hashCode ( )This abstract method is from 'Com4jObject' interface.
is ( Class )This abstract method is from 'Com4jObject' interface.
queryInterface ( Class )This abstract method is from 'Com4jObject' interface.
toString ( )This abstract method is from 'Com4jObject' interface.
tlbimp.jar
package com4j.tlbimp
[+] AntTaskImpl (1)
| Change | Effect |
---|
1 | This class has been removed. | A client program may be interrupted by NoClassDefFoundError exception. |
[+] affected methods (5)
AntTaskImpl ( )This constructor is from 'AntTaskImpl' class.
execute ( )This method is from 'AntTaskImpl' class.
setDestDir ( File )This method is from 'AntTaskImpl' class.
setPackage ( String )This method is from 'AntTaskImpl' class.
setSource ( File )This method is from 'AntTaskImpl' class.
[+] Main (1)
| Change | Effect |
---|
1 | This class has been removed. | A client program may be interrupted by NoClassDefFoundError exception. |
[+] affected methods (2)
Main ( )This constructor is from 'Main' class.
main ( String[ ] )This method is from 'Main' class.
to the top
Problems with Data Types, Medium Severity (2)
tlbimp.jar
package com4j.tlbimp.def
[+] IMethod (1)
| Change | Effect |
---|
1 | Abstract method isVarArg ( ) has been added to this interface. | A client program may be interrupted by AbstractMethodError exception. Added abstract method is called in 2nd library version by the method declare ( IParam, IndentingWriter ) and may not be implemented by old clients. |
[+] affected methods (10)
getMethod ( int )Return value of this abstract method has type 'IMethod'.
getMethod ( int )Return value of this abstract method has type 'IMethod'.
getMethod ( int )Return value of this abstract method has type 'IMethod'.
getHelpString ( )This abstract method is from 'IMethod' interface.
getKind ( )This abstract method is from 'IMethod' interface.
getName ( )This abstract method is from 'IMethod' interface.
getParam ( int )This abstract method is from 'IMethod' interface.
getParamCount ( )This abstract method is from 'IMethod' interface.
getReturnType ( )This abstract method is from 'IMethod' interface.
getVtableIndex ( )This abstract method is from 'IMethod' interface.
[+] ITypeDecl (1)
| Change | Effect |
---|
1 | Abstract method getParent ( ) has been added to this interface. | A client program may be interrupted by AbstractMethodError exception. Added abstract method is called in 2nd library version by the method getTypeName ( ITypeDecl ) and may not be implemented by old clients. |
[+] affected methods (6)
getType ( )Return value of this abstract method has type 'ITypeDecl'.
getBaseInterface ( int )Return value of this abstract method has type 'ITypeDecl'.
getHelpString ( )This abstract method is from 'ITypeDecl' interface.
getKind ( )This abstract method is from 'ITypeDecl' interface.
getName ( )This abstract method is from 'ITypeDecl' interface.
getType ( int )Return value of this abstract method has type 'ITypeDecl'.
to the top
Other Changes in Data Types (7)
com4j.jar
package com4j
[+] Com4jObject (1)
| Change | Effect |
---|
1 | Abstract method dispose ( ) has been added to this interface. | No effect. |
[+] affected methods (8)
createInstance ( Class, GUID )Return value of this method has type 'Com4jObject'.
createInstance ( Class, String )Return value of this method has type 'Com4jObject'.
loadTypeLibrary ( File )Return value of this method has type 'Com4jObject'.
equals ( Object )This abstract method is from 'Com4jObject' interface.
hashCode ( )This abstract method is from 'Com4jObject' interface.
is ( Class )This abstract method is from 'Com4jObject' interface.
queryInterface ( Class )This abstract method is from 'Com4jObject' interface.
toString ( )This abstract method is from 'Com4jObject' interface.
[+] NativeType (5)
| Change | Effect |
---|
1 | Field Int16_ByRef has been added to this class. | No effect. NOTE: A static field from a super-interface of a client class may hide an added field (with the same name) inherited from the super-class of a client class and cause IncompatibleClassChangeError exception. |
2 | Field Int8_ByRef has been added to this class. | No effect. NOTE: A static field from a super-interface of a client class may hide an added field (with the same name) inherited from the super-class of a client class and cause IncompatibleClassChangeError exception. |
3 | Field PVOID has been added to this class. | No effect. NOTE: A static field from a super-interface of a client class may hide an added field (with the same name) inherited from the super-class of a client class and cause IncompatibleClassChangeError exception. |
4 | Field PVOID_ByRef has been added to this class. | No effect. NOTE: A static field from a super-interface of a client class may hide an added field (with the same name) inherited from the super-class of a client class and cause IncompatibleClassChangeError exception. |
5 | Field SafeArray has been added to this class. | No effect. NOTE: A static field from a super-interface of a client class may hide an added field (with the same name) inherited from the super-class of a client class and cause IncompatibleClassChangeError exception. |
[+] affected methods (4)
value ( )Return value of this abstract method has type 'NativeType'.
valueOf ( String )This method is from 'NativeType' class.
values ( )This method is from 'NativeType' class.
type ( )Return value of this abstract method has type 'NativeType'.
tlbimp.jar
package com4j.tlbimp.def
[+] IWTypeLib (1)
| Change | Effect |
---|
1 | Abstract method getLibid ( ) has been added to this interface. | No effect. |
[+] affected methods (4)
count ( )This abstract method is from 'IWTypeLib' interface.
getHelpString ( )This abstract method is from 'IWTypeLib' interface.
getName ( )This abstract method is from 'IWTypeLib' interface.
getType ( int )This abstract method is from 'IWTypeLib' interface.
to the top
Java ARchives (2)
com4j.jar
tlbimp.jar
to the top