Release notes

Version 2.6.10.261112

This version continues the alignment with the HPA API surface and updates the supported platforms to .NET 11.

  • Platform
    • Adds support for .NET 11
    • Removes support for .NET 8 and .NET 9
    • Updates the native toolchains and bundled components to their latest versions
  • .NET side
    • Updates from HPA:
      • Further performance improvements porting HPA features: many JNI interactions are now evaluated once and reused, reducing the load on the JVM boundary and the number of temporary allocations
      • Generic Invoke, InvokeWithSignature and field access paths avoid boxing when the requested type matches the native type
      • JVM array APIs accept ArraySegment; ReadOnlySpan and ReadOnlyMemory overloads are available only in HPA Edition
      • JCOBridgeStream exposes IsCopy to report whether the JVM returned a copy of the array memory (the value is meaningful only in HPA Edition)
      • JCOBridgeObjectPool<T> becomes public to align the API surface with HPA, with new members to know if pooling is enabled and when an instance is returned to the pool; object pooling, including pooled streams obtained from the ToStream API, is active only in HPA Edition
      • Extends IStringJavaObject with new overloads accepting other IStringJavaObject instances and the missing IndexOf overload
      • Many other internal improvements inherited from HPA
    • Improves type checks on delegates and events
    • Improves compatibility with Linux distributions by avoiding unresolved symbols in the native libraries
  • JVM side
    • JCListener adds a concurrent event model based on a call identifier, with new raiseEventConcurrent overloads (including a string-based version) returning the result directly
  • Issues solved
    • Fixes a condition in asynchronous operations executed on external threads (native or thread pool) which, after the operation was completed or disposed, could crash the application or raise an unexpected exception on the main thread
2.6.* series (2.6.0 to 2.6.9)

Version 2.6.9.260611

This version continues to introduce important changes, improvements and better alignment with the API surface of HPA.

  • .NET side
    • Reverts the separation between JVMBridgeBase and JVMBridgeCore: the usage of JVMBridgeCoreWrapper generates more code than expected
    • Exposes Java Object methods (notify, wait, …) under the IJavaObjectBase interface
    • Adds the methods CastToAndDetach, CastToAndDispose, CastDirectAndDetach and CastDirectAndDispose to manage the life cycle of objects extending JVMBridgeBase
    • Adds new Get/Set methods in IJavaArray
    • Adds the JCSharedBufferManager class to control JCSharedBuffer settings in the JVM
    • JCOBridgeSharedBufferStream becomes public and supports native memory resize
    • IJVMWrapperLow becomes public to expose DetachThread
    • The JCOBridge class adds the property IsHPAEdition to distinguish between Standard and HPA
    • General review of the API documentation
    • Updates from HPA:
      • General performance improvements porting HPA features
      • Many method implementations use the native libraries directly
      • Updates the Dispose chain
      • Updates JVMBridgeListener, adding an API to discard events early and control event propagation, avoiding useless object construction
      • Introduces JCOBridgeDisposeAsyncScope and JCOBridgeDisposeFastScope to batch JNI operations under heavy pressure
      • Introduces JCOBridgeStream and zero-copy JVM array management, accessible from the new ToStream API on the IJavaArray interface
      • Introduces AsSpan* variants in JCOBridgeDirectBuffer
      • Adds a Span/ReadOnlySpan .NET Framework shim to harmonize the API exposed by JCOBridgeStream and the new API of JCOBridgeDirectBuffer across frameworks
      • Adds the IStringJavaObject zero-copy string API (Equals, CompareTo, StartsWith, EndsWith, IndexOf (char/string), IndexOfAny, LastIndexOf (char/string), Contains, IsNullOrEmpty, IsNullOrWhiteSpace)
      • Adds fixed-parameter overloads of Invoke, InvokeWithSignature, New, NewWithSignature, IExecute, IExecuteWithSignature, SExecute and SExecuteWithSignature across IJavaObject, IJavaArray and JVMBridgeBase to avoid generating temporary object[]
      • Adds a method for compatibility with HPA object pooling: JVMBridgeBase exposes New<TClass> methods
  • JVM side
    • Removes the usage of the JVM internal sun.misc.Unsafe and promotes the usage of the native allocator, for compatibility with HPA
    • Reviews JCSharedBuffer pooling
    • General review of the API documentation
  • Issue solved
    • Updates the behavior of the pre-fetcher iterator, which could lose messages stored in the queue under heavy pressure

Version 2.6.8.260410

  • Renames JVMBridgeBaseCore* into JVMBridgeCore* to better distinguish the two class sets
  • Adds JVMBridgeCoreDisposable to support the operations limited by the removal of IDisposable: see issue 26

Version 2.6.7.260409

  • Fixes activation on Arm/Arm64 architectures on case-sensitive file systems
  • .NET side
    • Adds new base classes without the IDisposable interface (JVMBridgeBaseCore*); the current implementation (JVMBridgeBase*) still supports IDisposable: issue 25
  • HPA compatibility
    • JVMBridgeListener adds new methods and/or handlers to support event handling at the JVM↔CLR boundary
    • JCListener introduces new methods to raise events based on the registration index, which is exposed by the AddEventHandler methods of JVMBridgeListener
    • Updates IJVMWrapperStatistics with a new property that reports whether statistics are captured in lazy mode: lazy mode optimizes throughput
    • Many other internal updates back-ported from HPA

Version 2.6.6.260211

  • Supports Java SE 8: JCOBridge becomes compatible with Java 8 to support legacy systems
  • Adds the IgnoreUnrecognized switch, enabling the bypass of unknown JVM initialization parameters: useful when Java 8 is in use
  • Unifies the folder structure, removing the sub-folders for .NET 8/9/10
  • Reviews ClassPathBuilder with new methods
  • Deprecates the methods that raise exceptions in JVMBridgeException<TException>, moving them to JVMBridgeException and JCOBridge and renaming them Throw instead of ThrowNew
  • Adds more information when an exception is raised if BridgeInstance is null

Version 2.6.5.251126

In addition to the changes introduced in version 2.6.4:

  • .NET side
    • Adds support for .NET 10
    • Removes the new constraint from many APIs (see issue 21)
    • .NET Framework for Arm/Arm64 misses some mandatory libraries: when JCOBridge is used on Arm64 machines it reports an informative note
    • To make JCOBridge more open, with this release more operating systems can use the product without requesting a dedicated version
    • Fixes:
      • Fixes the license management to set the right execution time available when a license is not available
      • Updates class retrieval in some operating conditions (see issue 15)
      • Fixes a wrong implementation introduced with version 2.6.4 (see issue 20)
  • JVM side
    • Exposes the .NET version hosting the JVM, adding new methods on the JCOBridge class

Version 2.6.4.250922

In addition to the changes introduced in version 2.6.3:

  • .NET side
    • Fixes a regression in reference management that could lead to high memory pressure: issue 18
    • Fixes the issue raised with Oracle 17 (OpenJDK 17) when ByteBuffer is in use: issue 17
    • Adds new overloads of ClazzOf that help retrieve an exception without raising it: related to JNet issue 717
    • Adds new options on SetupJVMWrapper and on the command line:
      • DisableOpenOnJavaNio: removes --add-opens=java.base/java.nio=ALL-UNNAMED from the JVM initialization parameters
      • EnableNativeAccess: enables native access as defined in JEP 472
    • Continues the integration into the public version of specific improvements made for some customers:
      • Adds a caching mechanism associated with instance generation: JVMBridgeMain is deprecated due to incompatibility
      • Breaking change: introduces IDisposable in IJavaObjectBase, reviewing the Dispose chain; the method can be overridden from JVMBridgeBase
      • Exception management:
        • Breaking change: adds new overload constructors on JVMBridgeException so the exception chain is better managed
        • Removes the specific Message and InnerException properties: the ones exposed by the .NET exception are used
        • Exceptions raised from the JVM can be accessed to invoke any method on them, to retrieve specific information not available in the standard pattern
      • Breaking change: reviews the way classes inherited from JVMBridgeBase are allocated, adding a new specific constructor
      • Breaking change: adds a specific constructor in JVMBridgeListener, following the updated JVMBridgeBase, for future uses
  • JVM side
    • Updates to solve non-deterministic Access Violation and JVM crashes
    • Updates to solve conditions where the JVM reports errors associated with invalid JNI references

Version 2.6.3.250913 (deprecated due to issues in reference management)

This is the first major release since 2.6.1. On the .NET side:

  • Moves IsNull from IJavaObject to the IJavaObjectBase interface to extend its usage
  • Adds ReferenceObject to IJavaObjectBase to expose the underlying referenced IJavaObject when available
  • Adds more information, for internal analysis, when a problem is raised (details)
  • Updates the mechanism by which an IJavaObject instance manages JVM references
  • Adds the methods JVMBridgeBase.ReferenceEqualsJVM and IJVMWrapperDirect.IsSameObject, and the IEquatable interface on JVMBridgeBase
  • JVMBridgeBase stores constructor parameters (issue 14)
  • Adds DisableCleanupAndReturn (with DisableCleanup and EnableCleanup) to support extraction of the underlying IJavaObject, to avoid Dispose of the underlying memory within a using statement
  • Adds NewAndWrapsDirect and NewWithSignatureAndWrapsDirect on JVMBridgeBase to support parameter storage for the WrapsDirect methods
  • Solves a non-deterministic issue raised when events generated from the CLR are intercepted by the JVM
  • Integration into the public version of specific improvements made for some customers:
    • Gain in performance between 20% and 50%, depending on the requested operation
    • Introduces linear access to JNI functions
    • Updates object type resolution for JVM generics instances
    • Reduces data copy for parameter interchange
    • Stores in memory more objects that do not change during the application life cycle
    • Exposes the static property TryFinallyProtection on JVMBridgeBaseEnumerator and JVMBridgeBasePrefetchableEnumerator to select whether to lock out Garbage Collection during object conversion
      • Enumeration with Prefetch protects against exceptions: any raised Exception is sent to the main Enumerator (details)
    • Changes the signature of IJVMWrapperDirect.ConvertObject to return a managed object (IJavaObjectBase) or a generic value as IntPtr for JVM native types
    • Adds new static overload methods on the JCRefOut class (JVM side) to store references of user-defined objects

Version 2.6.2.250821

  • Updates Globalization management from the JVM (see issue 10)
  • JCOBridge exposes information about the first hosting process (see issue 11)
  • Many properties and methods of SetupJVMWrapper are declared obsolete, promoting the usage of the interfaces, in order to remove them in one of the next versions

Version 2.6.1.250804 (maintenance release)

  • Fixes an issue related to listeners (see issue 9)

Version 2.6.0.250731

First 2.6.* release, which makes the new pricing conditions available.

  • .NET side
    • Removes support for .NET 6
    • Listeners accept multiple arguments
    • Adds the PreInitialization and PostInitialization interceptors
  • JVM side
    • Java projects can set ScopeOn and ScopeOnVersion without an environment variable
    • Simplified request for a specific .NET framework from Java:
      • Removes the CoreCLRPath command-line switch
      • CoreCLRApp becomes CoreCLRVersion
      • Adds CoreCLREnableDesktop to enable the .NET Desktop version
2.5.* series

Version 2.5.21.241219

  • Adds .NET 9 without deprecation of .NET 6
  • Adds CETCompat in compilation (see issue 7)
  • Updates the NuGet package layout and simplifies the targets file
  • Support for macOS 13+ in .NET 6/8/9: issue 8 still open
  • Removes support for Windows Arm
  • .NET (6/8/9) activation now uses a self-contained library (experimental)

Version 2.5.20.241218 (retired)

  • Adds CETCompat in compilation (see issue 7)
  • Updates the NuGet package layout and simplifies the targets file
  • Support for macOS 13+ in .NET 6/8/9: issue 8 still open

Version 2.5.19.241130 (maintenance release, retired)

  • Fixes version 2.5.18
  • Adds .NET 9 without deprecation of .NET 6
  • Support for macOS 13+ in .NET 6/8/9
  • Removes support for Windows Arm
  • .NET (6/8/9) activation now uses a self-contained library (experimental)

Version 2.5.18.241128 (retired)

  • Adds .NET 9 without deprecation of .NET 6
  • Support for macOS 13+ in .NET 6/8/9
  • Removes support for Windows Arm
  • .NET (6/8/9) activation now uses a self-contained library (experimental)

Version 2.5.17.240622

  • Fixes activation on macOS
  • Support for macOS in .NET 6/8 (experimental)

Version 2.5.16.240622

  • Updates the management of the online license for macOS
  • Supports macOS in .NET 6/8 (experimental)

Version 2.5.15.240621

  • Fixes an issue during activation of the secondary host context within .NET
  • Adds support for macOS in .NET 6/8 (experimental)

Version 2.5.14.240617 (early published)

  • Build toolchains upgrade to Visual Studio 2022
  • Adds Monitor API management: read the API remarks carefully before using them
  • Removes support for win-arm in .NET 8
  • Fixes .NET 6/8 activation

Version 2.5.13.240514 (maintenance release)

Version 2.5.12.240512

  • Adds methods, based on ByteBuffer, to optimize data exchange at the CLR-JVM boundary (requested in issue 3):
    • CLR: adds the NewDirectBuffer and GetDirectBuffer methods on the IJVMWrapperDirect interface
    • JVM: adds the new JCSharedBuffer class to help create ByteBuffer based on native memory
  • Breaking changes:
    • Removes support for .NET 7
    • The method CastTo strictly checks cast behavior
  • Fixes some issues using JDK 21 (see issue 4):
    • while parsing the constructor parameters, the JVM raises an ACCESS VIOLATION exception if the constructor declares one or more exceptions that can be thrown
  • Other minor enhancements and fixes, the most notable being:
    • Adds the WrapsDirect method to reduce the load of JVMBridgeBase type casting
    • Removes static constraint checks on class instantiation to instantiate nested static classes
    • Removes some unnecessary JNI method invocations
    • Adds ThreadPriority on IEnumerableExtension
    • Optimizes array enumeration

Version 2.5.11.240229

  • JVM method invocation based on signature is now publicly available, needed by JNet issue 374
  • Updates the management of native types, needed by JNet issue 371
  • Reviews and reduces the number of JNI method invocations
  • Removes the automatic activation of critical methods for native array types: using critical methods is a developer choice and depends on EnableCriticalMethodsOnGet/EnableCriticalMethodsOnGetThreshold or EnableCriticalMethodsOnSet/EnableCriticalMethodsOnSetThreshold
  • Other minor fixes

Version 2.5.10.240120

  • Performance improvement: recovers roughly one microsecond in each method execution request to the JVM, which more than doubles execution speed
  • Fixes the error reported in issue 2: caused by a missing object reference, the Garbage Collector executed a GEN 0 collection retiring the non-referenced object, destroying the object counterpart in the JVM
  • Minor fixes

Version 2.5.9.231125

  • Adds in-place support for .NET 8
  • Fixes InvalidOperationException when the Windows registry misses some information

Version 2.5.8.230625

  • Adds the IJVMBridgeMain interface to identify Main-Class types
  • Adds JVMBridgeMainExtensible beside JVMBridgeMain
  • Adds a mechanism to retrieve Main-Class types and execute them
  • Minor fix on the previous version

Version 2.5.7.230503

  • Breaking change: adds the Bridge prefix on properties of IJVMBridgeDefinition, IJVMBridgeBaseStatic and IJVMBridgeBase (JNet issue 175)
  • Adds IGetField, ISetField, SGetField and SSetField to cover a request from JNet (JNet issue 170)
  • Fixes layout elements for LicenseManagerUI version 2 (.NET Framework version) and an application crash
  • Minor fix on the previous version

Version 2.5.6.230415

  • Adds new method overloads of IsInstanceOf and IsAssignableFrom based on the fully qualified name of a class
  • Adds new methods to retrieve IJavaType using both the fully qualified name of a class and a class type constraint
  • Adds new methods in JVMBridgeBase to execute operations on a user-defined IJavaType (requested in JNet issue 152)
  • Fully reviews the graphical integration subsystem:
    • Adds the JCWindowsManager class to manage windows integration between the .NET and JVM graphical systems
    • Reviews the IJCGraphicContainer interface to receive the reviewed graphical management
  • Minor fix on the previous version

Version 2.5.5.230406 (maintenance release)

  • Maintenance release: the published artifact of version 2.5.4 was not aligned with the latest development status
  • Updates for parallel execution on HPC: in some conditions the library reported a false positive error
  • Adds a new kind of Enumerator to satisfy JNet issue 139
  • Adds the ability to cast to a sub class; the previous version worked only in the super class direction
  • Enhances JVMBridgeBase* classes with IsInstanceOf, CastTo and IsAssignableFrom methods
  • Minor changes from the previous release to meet the needs of JNet

Version 2.5.4.230405

  • Updates for parallel execution on HPC: in some conditions the library reported a false positive error
  • Adds a new kind of Enumerator to satisfy JNet issue 139
  • Adds the ability to cast to a sub class; the previous version worked only in the super class direction
  • Enhances JVMBridgeBase* classes with IsInstanceOf, CastTo and IsAssignableFrom methods
  • Minor changes from the previous release to meet the needs of JNet

Version 2.5.3.230222

  • Solves an issue that caused sporadic application crashes due to an asynchronous collection made by the GC during a JNI operation
  • Reduces the number of JNI calls from .NET to Java: an extra speed gain of 20% over the previous version in some operating conditions
  • Adds the methods Notify, NotifyAll and Wait to JVMBridgeBase and to every class extending it
  • Adds a handler to receive info and exceptions in user code; the default behavior prints output on the console
  • Adds the ability to register all exception classes defined within an assembly
  • Typed exceptions can be retrieved directly
  • Adds a new switch to set the module paths

Version 2.5.2.230208 (maintenance release)

  • Reports the failure of online license requests on the console

Version 2.5.1.230131 (maintenance release)

  • Upgrades .NET Framework from v4.6.1 to v4.6.2: v4.6.1 end of support on 26 April
  • Removes .NET 5: end of support on 10 May 2022
  • Removes .NET Core 3.1: end of support on 13 December 2022
  • Adds .NET 7
  • The minimum Java version supported is 11
  • License model upgrade to actively support the community: online requests can be used together with file-based licensing
  • Speed improvements of 40%
  • Templates moved to the JNet project, see JNet
  • Makes other methods public
  • Non-functional fix on the previous version

Version 2.5.0.230128

  • Upgrades .NET Framework from v4.6.1 to v4.6.2: v4.6.1 end of support on 26 April
  • Removes .NET 5: end of support on 10 May 2022
  • Removes .NET Core 3.1: end of support on 13 December 2022
  • Adds .NET 7
  • License model upgrade: online requests can be used together with file-based licensing
  • Speed improvements of 40%
  • Templates moved to the JNet project, see JNet
2.4.* series

Version 2.4.14.220818

  • Fix on the previous version

Version 2.4.13.220816

  • Fixes a regression in JCRefOut for native types

Version 2.4.12.220507

  • Fixes a regression in object arrays
  • Fix on the previous version

Version 2.4.11.220428

  • Fixes the management of heavy memory pressure on the Garbage Collector
  • Adds new statistics on the JNI interface
  • Fix on the previous version

Version 2.4.10.220413

  • Fix on the previous version

Version 2.4.9.220328

  • All classes within the Java.Lang namespace are now fully available in the MASES.JNet NuGet package
  • Classes under the Java.Util.Function namespace fully moved into the MASES.JNet NuGet package
  • Graphic management classes are now obsolete and moved into the MASES.JNet NuGet package: they will be removed in a future major release
  • Updates method signatures to avoid stack overflow with the latest versions of AWT
  • Fix on the previous version

Version 2.4.8.220319

  • Removes most of the classes within the Java.Lang namespace: moved to the MASES.JNet NuGet package
  • New command-line switches and initialization
  • Fix on the previous version

Version 2.4.7.220309

  • Fixes the management of get/set fields with non-primitive types
  • Breaking changes:
    • MASES.JCOBridge.C2JBridge.Exceptions becomes Java.Lang
    • MASES.JCOBridge.C2JBridge.Function becomes Java.Util.Function
  • Adds almost all classes under the java.lang package: only some are implemented; while waiting for the full implementation a developer can access methods and fields with dynamic
  • JVMBridgeBase now exposes a property named Class, to be more compliant with the Java equivalent .class keyword
  • Adds JVMBridgeListener to continue the API surface consolidation
  • CLRListener becomes obsolete
  • Fix on the previous version

Version 2.4.6.220205

  • API surface consolidation
  • Improvements on array management
  • Improvements on exception management
  • JVMBridgeBase classes expose new accessors and are based on an interface (IJVMBridgeBase)
  • Listener inherits from IJVMBridgeBase
  • JVMBridgeBase is able to identify arguments of IJVMBridgeBase and ICLRListener types and manages them consequently
  • Events in the java.util.function package now expose interfaces
  • Fix on the previous version

Version 2.4.5.220108

  • Adds new APIs
  • Improvements on exception management
  • Fix on the previous version

Version 2.4.4.220103

  • Fix on package publishing

Version 2.4.3.211213

  • The .NET side is able to send data back to the JVM upon events
  • Events can now manage more than one piece of information
  • The java.lang.function package is directly managed by the core
  • Exceptions of the java.lang package are directly managed by the core
  • Important fix on version 2.4.2

Version 2.4.2.211211

  • The .NET side is able to send data back to the JVM upon events
  • Events can now manage more than one piece of information
  • The java.lang.function package is directly managed by the core
  • Exceptions of the java.lang package are directly managed by the core
  • Minor fixes on version 2.4.1

Version 2.4.1.211121

  • Adds new features to the .NET JVMBridge classes
  • Management of JavaException in the CLR
  • Minor fixes on version 2.4.0

Version 2.4.0.211113

  • Adds the .NET 6 target
  • Better management of JavaException in the engine
  • Adds LastBindingException to help debugging the underlying subsystem
  • Adds some classes that help bridge the JVM from .NET
  • Removes support for the MSI installer
2.3.* series

Version 2.3.2.210304

  • Adds the "NativePath" command-line option to define where the JCOBridge runtime is located
  • Minor fixes in documentation

Version 2.3.1.201207

  • Fixes issues with .NET Core 3.1
  • Enables the online check of the Trial License Agreement

Version 2.3.0.201115

  • Support for .NET 5
2.0.* to 2.2.* series

Version 2.2.1.200603

  • Removes the limitation to a single embeddable instance if the JavaUI control has its own message pump detached from the main UI message pump
  • Removes the limitation of JCRefOut to a single object: management of arrays is now a public feature
  • Exposes internal API, on both JCType and JCObject, to interact with the underlying System.Type and fields
  • Solves minor issues

Version 2.2.0.200516

This update adds new wrapper libraries for Windows and Linux.

  • On platforms where WindowsDesktop is supported, a Java component can be integrated within the WPF/WindowsForms main application
  • Adds new Java event management (mouse, keyboard, focus, etc.) with ready-made classes
  • Shared objects between the CLR and the JVM are now available on .NET Core
  • Adds the win-arm, win-arm64, linux-arm and linux-arm64 wrapper libraries
  • The runtime identifier is no longer mandatory: Java Initialize does not need it from the command line; if it is not found automatically the user must specify it
  • Adds functions to start an external thread and a daemon thread from .NET
  • Minor changes on API and interfaces to better cover some behaviors
  • Solves minor issues

Known limitation:

  • .NET Core type identification from Java code needs, in some conditions, an explicit assembly-qualified name. Some types reported to be in one assembly are really managed by another one: for example System.Uri, documented in System.Runtime.dll, is really managed by System.Private.Uri.dll

Version 2.1.0.200415

This update introduces the general availability of invoking .NET Core API from Java. With it, both .NET Core and .NET Framework are aligned with a complete bidirectional communication between the JVM and the CLR.

  • New command-line switch available for Java

Known limitations:

  • The .NET Core initialization libraries are available for Windows x86/x64 and Linux x64. Other platforms are available on demand
  • .NET Core type identification from Java code needs an explicit assembly-qualified name: it will be updated in a future release; .NET Framework has a better type resolver
  • WindowsDesktop is an experimental feature: do not use it in production

Version 2.0.1.200409

This is a critical patch update that solves an issue found in version 2.0.0.200321. The previous version is retired.

  • Adds the missing J2CBridge wrapping libraries for Linux x86/x64
  • New command-line switch for the license search path
  • Simplified usage of the SetupJVMWrapper initialization class

Version 2.0.0.200321

The major improvement of this version is on the CLR host: it is now possible to use .NET Core on different operating systems.

JVM (available only for .NET Framework, .NET Core coming soon)

  • Adds event management for the JVM graphical environment (AWT/Swing)
  • All features of previous versions

CLR (available for .NET Framework on Windows and .NET Core on Windows and Linux, other platforms on demand)

  • Adds the .NET Core host (Windows/Linux), other platforms on demand
  • Management of events coming from the JVM graphical environment
  • All features of previous versions
1.* series

Version 1.0.2.0

  • Minor fix
  • Minor performance improvement

Version 1.0.0.0

JVM

  • Retrieve a CLR type
  • Instantiate CLR objects
  • Invoke static or instance methods
  • Get or set static or instance properties
  • Subscribe to events
  • Integrate WPF and WinForms controls into AWT or Swing, managing properties and events

CLR

  • Retrieve a JVM class
  • Instantiate JVM objects
  • Invoke static or instance methods
  • Get or set static or instance fields
  • Use dynamic access to write code seamlessly, as in the Java language
  • Use specific interfaces to directly manage methods and fields