Skip to content

Commit

Permalink
Merge pull request #20771 from keithc-ca/comment
Browse files Browse the repository at this point in the history
Update sample code for enum type fields in BytecodeGenerator.java
  • Loading branch information
pshipton authored Dec 9, 2024
2 parents 5231fac + 6b8d815 commit b166107
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 b166107

Please sign in to comment.