Kbase P120868: Subclass does not compile if source code for inherited class is encrypted with non-default key
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  01/11/2010 |
|
Status: Unverified
SYMPTOM(s):
4GL client tries to compile a class .cls file.
.cls file is a subclass
Source code has been encrypted using XCODE
Non-default key used for XCODE encryption
Correct XCODE key supplied in COMPILE statement
The following errors may occur:
** Unable to understand after -- "<string>". (247)
** <program> Could not understand line <number>. (196)
Could not compile '', which is a super class of ''. (12918)
Other compile-time errors may occur
FACT(s) (Environment):
OpenEdge 10.1x
CAUSE:
Bug# OE00135490
FIX:
Upgrade to OpenEdge 10.1B02 or later
Upgrade to OpenEdge 10.1C or later
Current releases will avoid the errors as long as all .cls files in the hierarchy use the same XCODE key.
If the files are encoded using different keys, refer to the workaround below:
Workaround:
- In the compiling session, set COMPILER:MULTI-COMPILE = TRUE.
- Ensure the inherited classes are compiled first, before the subclasses.