From d757fbfbf878f1b57984605a7a853be31b6fd948 Mon Sep 17 00:00:00 2001 From: "Keith W. Campbell" Date: Wed, 27 Nov 2024 15:01:48 -0500 Subject: [PATCH] Update sample code for enum type fields in BytecodeGenerator.java Remove the reference to J9ProcessorArchitecture that will go away with the solution to #20668. Signed-off-by: Keith W. Campbell --- debugtools/DDR_VM/src/com/ibm/j9ddr/BytecodeGenerator.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debugtools/DDR_VM/src/com/ibm/j9ddr/BytecodeGenerator.java b/debugtools/DDR_VM/src/com/ibm/j9ddr/BytecodeGenerator.java index e6ad329270a..3ff9acbf9d3 100644 --- a/debugtools/DDR_VM/src/com/ibm/j9ddr/BytecodeGenerator.java +++ b/debugtools/DDR_VM/src/com/ibm/j9ddr/BytecodeGenerator.java @@ -1089,9 +1089,9 @@ private void doEnumEAMethod(FieldDescriptor field) { /* Sample generated code: * - * @com.ibm.j9ddr.GeneratedFieldAccessor(offsetFieldName="_physicalProcessorOffset_", declaredType="J9ProcessorArchitecture") - * public long physicalProcessor() throws CorruptDataException { - * return getIntAtOffset(J9ProcessorDesc._physicalProcessorOffset_); + * @com.ibm.j9ddr.GeneratedFieldAccessor(offsetFieldName="__allocationContextTypeOffset_", declaredType="const MM_AllocationContextTarok$AllocationContextType") + * public long _allocationContextType() throws CorruptDataException { + * return getIntAtOffset(J9ProcessorDesc.__allocationContextTypeOffset_); * } * * If the size of the field type is not 4, getByteAtOffset, getShortAtOffset