Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following defects are resolved in this build.

NXPSR-11267

When compiling with JDK8, the error "com.nexaweb.client.net.Invoker class file not found" occurs.

NXPSR-

...

11267: When compiling with JDK8, the error "com.nexaweb.client.net.Invoker class file not found" occurs.

When compiling with JDK8 and using "nexaweb-client-api.jar" for the compile-time -classpath option., "com.nexaweb.client.net.Invoker class file not found" error occurs.
The error occurs when using the com.nexaweb.client.UiUpdateQueue API with MCO.

Code Block
getSession().getUiUpdateQueue().invokeLater(new Runnable() {
public void run() {
}
});

This is due to incompatibility issue in Java 1.8. Please refer https://www.oracle.com/java/technologies/javase/8-compatibility-guide.html#A999198 - Interfaces need to be present when compiling against their implementations. Since Invoker class is not included in nexaweb-client-api.jar, it will throw no class found error. As a solution, Invoker class is added to nexaweb-client-api.jar.