Bug 42718

GemStone/S 64 Bit

3.1.0.6, 3.1.0.5, 3.1.0.4, 3.1.0.3, 3.1.0.2, 3.1.0.1, 3.1, 3.0.1, 3.0

All

3.2

needsRecompileFor30 incorrect for classes without instance methods

As part of the 2.x to 3.x upgrade, all methods in the image must be recompiled.
This can be done by filing in all source code; it can also be done by
executing recompileAllMethods, optionally first checking if the class has
already been updated using needsRecompileFor30.

However, the value checked by needsRecompileFor30 is only updated if the
class has instance methods. For classes with no instance methods, needsRecompileFor30
will continue to return true, even though the class methods have been recompiled
correctly and are value for 3.x.

Workaround

Do not rely on needsRecompileFor30 results to determine if a class without
instance methods has been recompiled.


                

Last updated: 4/15/13