diff --git a/src/hotspot/cpu/ppc/assembler_ppc.hpp b/src/hotspot/cpu/ppc/assembler_ppc.hpp index d32f2cbee36..7ea6d8e5876 100644 --- a/src/hotspot/cpu/ppc/assembler_ppc.hpp +++ b/src/hotspot/cpu/ppc/assembler_ppc.hpp @@ -95,7 +95,7 @@ class AddressLiteral { protected: // creation - AddressLiteral() : _address(NULL), _rspec(NULL) {} + AddressLiteral() : _address(NULL), _rspec() {} public: AddressLiteral(address addr, RelocationHolder const& rspec) diff --git a/src/hotspot/cpu/s390/assembler_s390.hpp b/src/hotspot/cpu/s390/assembler_s390.hpp index 4258f971078..a0a86a707dd 100644 --- a/src/hotspot/cpu/s390/assembler_s390.hpp +++ b/src/hotspot/cpu/s390/assembler_s390.hpp @@ -295,7 +295,7 @@ class AddressLiteral { protected: // creation - AddressLiteral() : _address(NULL), _rspec(NULL) {} + AddressLiteral() : _address(NULL), _rspec() {} public: AddressLiteral(address addr, RelocationHolder const& rspec)