[10] RFR for 'JDK-8177958: Possible uninitialized char* in vm_version_solaris_sparc.cpp'

David Holmes david.holmes at oracle.com
Wed Apr 26 12:33:52 UTC 2017

Hi Shafi,

On 26/04/2017 6:23 PM, Shafi Ahmad wrote:
> Hi,
> Please review the one line trivial  change for the fix of bug 'JDK-8177958: Possible uninitialized char* in vm_version_solaris_sparc.cpp'
> Summary:
> I have initialized the uninitialized variable 'imp' with "unknown" as CPU implementation .

That fixes the immediate problem - thanks.

However the basic problem that kstat failures go unreported/logged 
persists. If the assert is triggered all we will see is "Unknown CPU 
implementation unknown" - which is not very enlightening. Perhaps a 
future enhancement ...


> jdk10 bug: https://bugs.openjdk.java.net/browse/JDK-8177958
> webrev link: http://cr.openjdk.java.net/~shshahma/8177958/webrev.00/
> Testing: run jprt
> Regards,
> Shafi

More information about the hotspot-dev mailing list