Version 1.3.1.0: update JCOBridge version
mariomastrodicasa
released this
27 Jan 01:28
·
367 commits
to master
since this release
Version based on JCOBridge v2.3.1, compiled with jdk-13.0.2+8 with backward compatibility to Java SE 8.
Available for .NET Framework, .NET Core 3.1 and .NET 5.
The following features are available:
- Only public Types are available
- Classes and public accessible methods
- Inheritance: incomplete
- Interface
- Enum: enumeration and flags are available
- .NET exception are translated and thrown in code
- Static classes are managed
- Events
- Arrays: partial support
- Native types managed from JCOBridge are directly mapped to native Java type
Base types (System.Object, System.Type, System.Enum, System.Exception, System.Collections.ArrayList, System.Collections.IEnumerable, System.Collections.IEnumerator) are mapped to specific types into the support library (JCOReflector.jar) - Management of thrown declaration as expected in Java: a generic Throwable is used with all exceptions found in code (used the algorithm in https://stackoverflow.com/questions/986180/how-can-i-determine-which-exceptions-can-be-thrown-by-a-given-method and code from https://docs.microsoft.com/en-us/archive/blogs/haibo_luo/)
- Documentation
Known limitations at this release are:
- Out/Ref parameters: the developer shall write code using JCOBridge API
- Generic types
- Method decoration (Attributes)
- Unsafe methods
- Fields: the developer shall write code using JCOBridge API