Re: RFR: 8313785: Fix -Wconversion warnings in prims code [v2]

2023-08-05 Thread Coleen Phillimore
> This patch fixes Wconversion in code in the src/hotspot/share/prims > directory. Most of the changes correct the types. jfieldID's are created > with the int offset returned by InstanceKlass::field_offset(). > int field_offset (int index) const { return > field(index).offset();

Re: RFR: 8313785: Fix -Wconversion warnings in prims code [v2]

2023-08-05 Thread Coleen Phillimore
On Fri, 4 Aug 2023 21:11:05 GMT, Dean Long wrote: >> Coleen Phillimore has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Dean's suggested changes. > > src/hotspot/share/prims/jni.cpp line 209: > >> 207: >> 208: >> 209: intptr_t jfieldID