Migrating custom Java code from Gen 8.5 to Gen 8.6 and receiving compile error for the Gen Java runtime class:
package com.ca.gen86.csu.exception does not exist
What is the name of the corresponding 8.6 class for 8.5 class "class com.ca.gen85.csu.exception.CSUException" ?
Gen 8.6 Java applications
The Gen 8.6 equivalent class is the same as the 8.5 version but the 85 has been removed i.e. it is: com.ca.gen.csu.exception.CSUException
Version numbers were removed in the Gen distributed platform runtimes in the Gen 8.6 GA release including Java.
This doc. page covers it: Gen™ 8.6 > Release Notes > Gen 8.6 GA Complete (8.6.2) > Gen Release 8.6
***
Windows Java Runtime
The delivered Java runtime package names no longer embed the version number.
The version number was removed to prevent the repackaging of generated applications with future releases of
Gen. Repackaging of generated applications is required with this release in order to use the modified Java runtime package names.
...
Version Number from Distributed Runtimes
To make future upgrades of generated distributed applications easier, the version number has been removed from the distributed runtime components for C and Java. For example:
This allows Windows applications to be upgraded to the latest release by replacing the runtimes. This also means that Java applications do not need to be regenerated in order to upgrade them; replace the runtime jar files. As for C#, the Assembly Version remains the same as it currently is (8.5), allowing existing C# applications to use the 8.6 runtimes without any rebuilds.
***
Also in directory "%Gen86%\Gen\classes" are the various 8.6 java runtime jar files e.g. csu.jar contains the class com.ca.gen.csu.exception.CSUException.