GetLastError() (with and without debugger)
Pedro Lamarão
pedro.lamarao at prodist.com.br
Fri Aug 12 14:59:30 UTC 2022
It has just occurred to me that Loom may step into this trap.
Em sex., 12 de ago. de 2022 às 11:57, Pedro Lamarão <
pedro.lamarao at prodist.com.br> escreveu:
> Em sex., 12 de ago. de 2022 às 11:55, Maurizio Cimadamore <
> maurizio.cimadamore at oracle.com> escreveu:
>
>> On 12/08/2022 15:53, Radosław Smogura wrote:
>>
>> Hi all,
>>
>>
>>
>> I could guess that debugger uses network and uses low level API to send
>> and receive packets, which can cause error to be reset. But this is only my
>> guess.
>>
>>
>>
>> I tend to agree with your (educated) guess.
>>
>
> Would a debugger for the JVM do network operations from inside the
> program's thread?
> If it does them from some other thread, that would not disturb the
> effectively thread local "last error".
>
> --
> Pedro Lamarão
>
--
Pedro Lamarão
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/panama-dev/attachments/20220812/f19b08b0/attachment.htm>
More information about the panama-dev
mailing list