--- old/src/share/vm/opto/type.cpp 2017-07-02 11:30:46.000000000 +0200 +++ new/src/share/vm/opto/type.cpp 2017-07-02 11:30:46.000000000 +0200 @@ -3968,6 +3968,8 @@ st->print(":%s", ptr_msg[_ptr]); if( _klass_is_exact ) st->print(":exact"); break; + default: + break; } if( _offset ) { // Dump offset, if any @@ -4437,6 +4439,8 @@ st->print(":%s", ptr_msg[_ptr]); if( _klass_is_exact ) st->print(":exact"); break; + default: + break; } if( _offset != 0 ) { @@ -5202,6 +5206,8 @@ st->print(":%s", ptr_msg[_ptr]); if( _klass_is_exact ) st->print(":exact"); break; + default: + break; } if( _offset ) { // Dump offset, if any