Name: mf23781 Date: 06/18/98
Early June HotSpot Core source driver drop - portability issue.
In the source file src\share\vm\runtime\stackValue.hpp & cpp the
definition of the method print_on() which overrides a virtual
function in super class is not declared to be a 'const' method
while it is in the super class. Because the definitions do not
match exactly this results in the local print_on method hiding
rather than overriding the virtaul print_on method in the super
class.
Since it seems likely that the local print_on method should be
a 'const' we changed the definition to match the virtaul method
definition and the compiler warning stopped.
In version 1.15 98/05/01 of stackValue.hpp we replaced line #59:
void print_on(outputStream* st);
with this:
void print_on(outputStream* st) const;
and made a corresponding change in version 1.9 98/05/08
of stackValue.cpp at line #17
======================================================================
- duplicates
-
JDK-4150094 IBM *HOTSPOT* Portability Bug - defect 6096
-
- Closed
-