Re: RFR: 8302511: HitInfo.toString() throws IllegalArgumentException [v3]

2023-06-23 Thread Ajit Ghaisas
On Fri, 16 Jun 2023 15:35:42 GMT, Andy Goryachev wrote: >> A recent change in JDK-8304831 ensured that insertionIndex is always >> computed prior to HitInfo construction, making it possible to remove buggy >> logic in HitInfo. This change also allows for removal of the 'text' field. >> >> Th

Re: RFR: 8302511: HitInfo.toString() throws IllegalArgumentException [v3]

2023-06-18 Thread Karthik P K
On Fri, 16 Jun 2023 15:35:42 GMT, Andy Goryachev wrote: >> A recent change in JDK-8304831 ensured that insertionIndex is always >> computed prior to HitInfo construction, making it possible to remove buggy >> logic in HitInfo. This change also allows for removal of the 'text' field. >> >> Th

Re: RFR: 8302511: HitInfo.toString() throws IllegalArgumentException [v2]

2023-06-18 Thread Karthik P K
On Fri, 16 Jun 2023 15:35:17 GMT, Andy Goryachev wrote: >> tests/system/src/test/java/test/robot/javafx/scene/TextSurrogatePairInsertionIndexTest.java >> line 100: >> >>> 98: public static void initFX() { >>> 99: long seed = new Random().nextLong(); >>> 100: System.out.print

Re: RFR: 8302511: HitInfo.toString() throws IllegalArgumentException [v2]

2023-06-16 Thread Andy Goryachev
On Fri, 16 Jun 2023 08:34:29 GMT, Karthik P K wrote: >> Andy Goryachev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> review comments > > tests/system/src/test/java/test/robot/javafx/scene/TextSurrogatePairInsertionIndexTest.java > lin

Re: RFR: 8302511: HitInfo.toString() throws IllegalArgumentException [v3]

2023-06-16 Thread Andy Goryachev
> A recent change in JDK-8304831 ensured that insertionIndex is always computed > prior to HitInfo construction, making it possible to remove buggy logic in > HitInfo. This change also allows for removal of the 'text' field. > > There should be no impact since the constructor is package protec

Re: RFR: 8302511: HitInfo.toString() throws IllegalArgumentException [v2]

2023-06-16 Thread Karthik P K
On Thu, 15 Jun 2023 18:38:14 GMT, Andy Goryachev wrote: >> A recent change in JDK-8304831 ensured that insertionIndex is always >> computed prior to HitInfo construction, making it possible to remove buggy >> logic in HitInfo. This change also allows for removal of the 'text' field. >> >> Th

Re: RFR: 8302511: HitInfo.toString() throws IllegalArgumentException [v2]

2023-06-15 Thread Andy Goryachev
On Thu, 15 Jun 2023 14:42:43 GMT, Karthik P K wrote: >> Andy Goryachev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> review comments > > The fix looks good to me. > Can we add a test to verify the changes? > Another minor comment: copy

Re: RFR: 8302511: HitInfo.toString() throws IllegalArgumentException [v2]

2023-06-15 Thread Andy Goryachev
> A recent change in JDK-8304831 ensured that insertionIndex is always computed > prior to HitInfo construction, making it possible to remove buggy logic in > HitInfo. This change also allows for removal of the 'text' field. > > There should be no impact since the constructor is package protec

Re: RFR: 8302511: HitInfo.toString() throws IllegalArgumentException

2023-06-15 Thread Karthik P K
On Wed, 14 Jun 2023 15:40:41 GMT, Andy Goryachev wrote: > A recent change in JDK-8304831 ensured that insertionIndex is always computed > prior to HitInfo construction, making it possible to remove buggy logic in > HitInfo. This change also allows for removal of the 'text' field. > > There s

Re: RFR: 8302511: HitInfo.toString() throws IllegalArgumentException

2023-06-14 Thread Kevin Rushforth
On Wed, 14 Jun 2023 15:40:41 GMT, Andy Goryachev wrote: > A recent change in JDK-8304831 ensured that insertionIndex is always computed > prior to HitInfo construction, making it possible to remove buggy logic in > HitInfo. This change also allows for removal of the 'text' field. > > There s

Re: RFR: 8302511: HitInfo.toString() throws IllegalArgumentException

2023-06-14 Thread Kevin Rushforth
On Wed, 14 Jun 2023 15:40:41 GMT, Andy Goryachev wrote: > A recent change in JDK-8304831 ensured that insertionIndex is always computed > prior to HitInfo construction, making it possible to remove buggy logic in > HitInfo. This change also allows for removal of the 'text' field. > > There s