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 eclipse-openj9#20668.

Signed-off-by: Keith W. Campbell <[email protected]>
  • Loading branch information
keithc-ca authored and tajila committed Jan 3, 2025
1 parent 61a899b commit d757fbf
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 d757fbf

Please sign in to comment.