--- old/src/share/vm/opto/graphKit.cpp 2017-06-28 15:44:33.000000000 -0700 +++ new/src/share/vm/opto/graphKit.cpp 2017-06-28 15:44:32.000000000 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -584,6 +584,8 @@ ex_obj = env()->ClassCastException_instance(); } break; + default: + break; } if (failing()) { stop(); return; } // exception allocation might fail if (ex_obj != NULL) { @@ -821,7 +823,7 @@ if (cur_method != NULL && cur_bci != InvocationEntryBci) { Bytecodes::Code code = cur_method->java_code_at_bci(cur_bci); return Interpreter::bytecode_should_reexecute(code) || - is_anewarray && code == Bytecodes::_multianewarray; + (is_anewarray && code == Bytecodes::_multianewarray); // Reexecute _multianewarray bytecode which was replaced with // sequence of [a]newarray. See Parse::do_multianewarray(). // @@ -1500,7 +1502,7 @@ ld = LoadNode::make(_gvn, ctl, mem, adr, adr_type, t, bt, mo, control_dependency, unaligned, mismatched); } ld = _gvn.transform(ld); - if ((bt == T_OBJECT) && C->do_escape_analysis() || C->eliminate_boxing()) { + if (((bt == T_OBJECT) && C->do_escape_analysis()) || C->eliminate_boxing()) { // Improve graph before escape analysis and boxing elimination. record_for_igvn(ld); } @@ -2024,14 +2026,14 @@ case Deoptimization::Action_make_not_entrant: C->set_trap_can_recompile(true); break; -#ifdef ASSERT case Deoptimization::Action_none: case Deoptimization::Action_make_not_compilable: break; default: +#ifdef ASSERT fatal("unknown action %d: %s", action, Deoptimization::trap_action_name(action)); - break; #endif + break; } if (TraceOptoParse) {