Skip to content

Commit

Permalink
Update sample code for enum type fields in BytecodeGenerator.java
Browse files Browse the repository at this point in the history
Remove the reference to J9ProcessorArchitecture that will go away
with the solution to #20668.

Signed-off-by: Keith W. Campbell <[email protected]>
  • Loading branch information
keithc-ca committed Dec 6, 2024
1 parent 9725406 commit 6b8d815
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions debugtools/DDR_VM/src/com/ibm/j9ddr/BytecodeGenerator.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6b8d815

Please sign in to comment.