On Thu, 3 Dec 2020 15:55:15 GMT, Rémi Forax 
<[email protected]> wrote:

>> Hi Rémi, I do not think that that is required. `DataInputStream.readUTF` 
>> will call back into `this` to do the reading so the `count` should be 
>> properly incremented? Or maybe I'm missing something. Best regards!
>
> Thanks,
> i should have read the code more carefully.

The module-info is read sequentially so the constant pool is read (and indexed) 
before the attributes are read. So any references to UTF-8 constants doesn't 
involve random access.  But maybe you mean something else?

-------------

PR: https://git.openjdk.java.net/jdk/pull/1407

Reply via email to