API compatibility report for the jna library between 4.5.1-SNAPSHOT (b0) and 5.1.0-SNAPSHOT (b0) versions


Binary
Compatibility
Source
Compatibility

Test Info


Library Namejna
Version #14.5.1-SNAPSHOT (b0)
Version #25.1.0-SNAPSHOT (b0)
SubjectBinary Compatibility

Test Results


Total Java Modules1
Total Methods / Classes486 / 62
Compatibility 76.6%

Problem Summary


SeverityCount
Added Methods-8
Removed MethodsHigh10
Problems with
Data Types
High1
Medium0
Low1
Problems with
Methods
High0
Medium0
Low1

Added Methods  8 


jna.jar, Native.class
package com.sun.jna
Native.load ( Class<T> interfaceClass ) [static]  :  T
Native.load ( Class<T> interfaceClass, Map<String,?> options ) [static]  :  T
Native.load ( String name, Class<T> interfaceClass ) [static]  :  T
Native.load ( String name, Class<T> interfaceClass, Map<String,?> options ) [static]  :  T
Native.toByteArray ( String s, Charset charset ) [static]  :  byte[ ]
Native.toString ( byte[ ] buf, Charset charset ) [static]  :  String

jna.jar, ParameterType.class
package com.sun.jna
ELFAnalyser.ArmAeabiAttributesTag.ParameterType.valueOf ( String name ) [static]  :  ELFAnalyser.ArmAeabiAttributesTag.ParameterType
ELFAnalyser.ArmAeabiAttributesTag.ParameterType.values ( ) [static]  :  ELFAnalyser.ArmAeabiAttributesTag.ParameterType[ ]

to the top

Removed Methods  10 


jna.jar, Native.class
package com.sun.jna
Native.getDirectByteBuffer ( long p1, long p2 ) [static]  :  ByteBuffer *DEPRECATED*
Native.getPreserveLastError ( ) [static]  :  boolean *DEPRECATED*
Native.parseVersion ( String v ) [static]  :  float *DEPRECATED*
Native.setPreserveLastError ( boolean enable ) [static]  :  void *DEPRECATED*

jna.jar, Platform.class
package com.sun.jna
Platform.isAix ( ) [static]  :  boolean *DEPRECATED*

jna.jar, Pointer.class
package com.sun.jna
Pointer.getString ( long offset, boolean wide )  :  String *DEPRECATED*
Pointer.getStringArray ( long offset, boolean wide )  :  String[ ] *DEPRECATED*
Pointer.getStringArray ( long offset, int length, boolean wide )  :  String[ ] *DEPRECATED*
Pointer.setString ( long offset, String value, boolean wide )  :  void *DEPRECATED*

jna.jar, Structure.class
package com.sun.jna
Structure.setFieldOrder ( String[ ] fields )  :  void *DEPRECATED*

to the top

Problems with Data Types, High Severity  1 


jna.jar
package com.sun.jna
[+] class Pointer  1 

to the top

Problems with Data Types, Low Severity  1 


jna.jar
package com.sun.jna
[+] class Structure  1 

to the top

Problems with Methods, Low Severity  1 


jna.jar, Structure.class
package com.sun.jna
[+] Structure.getFieldOrder ( ) [abstract]  :  List<String>  1 

to the top

Java Archives  1 


jna.jar

to the top



Test Info


Library Namejna
Version #14.5.1-SNAPSHOT (b0)
Version #25.1.0-SNAPSHOT (b0)
SubjectSource Compatibility

Test Results


Total Java Modules1
Total Methods / Classes486 / 62
Compatibility 76.6%

Problem Summary


SeverityCount
Added Methods-8
Removed MethodsHigh10
Problems with
Data Types
High1
Medium0
Low0
Problems with
Methods
High0
Medium0
Low0
Other Changes
in Data Types
-1
Other Changes
in Methods
-1

Added Methods  8 


jna.jar, Native.class
package com.sun.jna
Native.load ( Class<T> interfaceClass ) [static]  :  T
Native.load ( Class<T> interfaceClass, Map<String,?> options ) [static]  :  T
Native.load ( String name, Class<T> interfaceClass ) [static]  :  T
Native.load ( String name, Class<T> interfaceClass, Map<String,?> options ) [static]  :  T
Native.toByteArray ( String s, Charset charset ) [static]  :  byte[ ]
Native.toString ( byte[ ] buf, Charset charset ) [static]  :  String

jna.jar, ParameterType.class
package com.sun.jna
ELFAnalyser.ArmAeabiAttributesTag.ParameterType.valueOf ( String name ) [static]  :  ELFAnalyser.ArmAeabiAttributesTag.ParameterType
ELFAnalyser.ArmAeabiAttributesTag.ParameterType.values ( ) [static]  :  ELFAnalyser.ArmAeabiAttributesTag.ParameterType[ ]

to the top

Removed Methods  10 


jna.jar, Native.class
package com.sun.jna
Native.getDirectByteBuffer ( long p1, long p2 ) [static]  :  ByteBuffer *DEPRECATED*
Native.getPreserveLastError ( ) [static]  :  boolean *DEPRECATED*
Native.parseVersion ( String v ) [static]  :  float *DEPRECATED*
Native.setPreserveLastError ( boolean enable ) [static]  :  void *DEPRECATED*

jna.jar, Platform.class
package com.sun.jna
Platform.isAix ( ) [static]  :  boolean *DEPRECATED*

jna.jar, Pointer.class
package com.sun.jna
Pointer.getString ( long offset, boolean wide )  :  String *DEPRECATED*
Pointer.getStringArray ( long offset, boolean wide )  :  String[ ] *DEPRECATED*
Pointer.getStringArray ( long offset, int length, boolean wide )  :  String[ ] *DEPRECATED*
Pointer.setString ( long offset, String value, boolean wide )  :  void *DEPRECATED*

jna.jar, Structure.class
package com.sun.jna
Structure.setFieldOrder ( String[ ] fields )  :  void *DEPRECATED*

to the top

Problems with Data Types, High Severity  1 


jna.jar
package com.sun.jna
[+] class Pointer  1 

to the top

Other Changes in Data Types  1 


jna.jar
package com.sun.jna
[+] class Structure  1 

to the top

Other Changes in Methods  1 


jna.jar, Structure.class
package com.sun.jna
[+] Structure.getFieldOrder ( ) [abstract]  :  List<String>  1 

to the top

Java Archives  1 


jna.jar

to the top