Delivered Field Order Extract Cannot Be Extended (Doc ID 2143134.1)

Last updated on MAY 31, 2016

Applies to:

Oracle Utilities Customer Care and Billing - Version 2.5.0.1.0 and later
Information in this document applies to any platform.

Symptoms

Errors while creating Record Gen classes occur under some circumstances (either VM version or compiler version) when a Record method extends a super interface with a more specific return type. In this example, WLit extends CommonWLit and returns a more specific refProgramName from SimpleStringField to StringField. This requires a program that contains a WLit interface extending CommonWLit. Attempting to run the Program, eg a BatchProgram, results in the error at least on some VMs.
The resulting program compiles, as well it should. But when generating the Record implementation classes, two methods are found, including one without an annotation, which fails some validation.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms