Hello!
I recently began testing our app under iOS 17 and Xcode 15 betas to check for any issues that might need our attention before their official release by Apple later this year. While testing, I was able to find a new regression - after fetching data from the network our app is unable to parse the JSON responses - and I've been able to narrow it down to a minimal test case that shows a change in behavior between iOS 16 and iOS 17 for the JRE emulation code. It looks like JavaIoInputStreamReader is closing early and thus isn't properly able to read a stream.
On iOS 16 I see that the reader
indicates it is ready, the stream has 10 characters available to read,
and the loop executes printing each character out line by line.
With no changes, on iOS 17 beta I see that the reader indicates it is ready, the first byte is read, but the loop only executes once, printing 65533 and exiting.
Due to this issue our app is unable to read and parse JSON data on iOS 17. Please let me know if anyone else is able to replicate this issue.
Thank you for your time,
Colin