use the right opcode for NEW_WITH_RTT (c&p error)

This commit is contained in:
Volker Berlin 2021-02-14 18:32:51 +01:00
parent 99e406958f
commit 945c245802

View File

@ -1433,7 +1433,7 @@ public class BinaryModuleWriter extends ModuleWriter implements InstructionOpcod
opCode = RTT_CANON;
break;
case NEW_WITH_RTT:
opCode = STRUCT_NEW_DEFAULT;
opCode = STRUCT_NEW;
break;
case CAST:
codeStream.writeOpCode( REF_CAST );