--- old/src/share/vm/opto/castnode.hpp 2017-07-18 14:43:38.102997222 +0200 +++ new/src/share/vm/opto/castnode.hpp 2017-07-18 14:43:33.964006341 +0200 @@ -114,6 +114,7 @@ virtual Node* Identity(PhaseGVN* phase); virtual const Type* Value(PhaseGVN* phase) const; + virtual Node* Ideal(PhaseGVN *phase, bool can_reshape); virtual int Opcode() const; virtual uint ideal_reg() const { return Op_RegP; } };