Aklakan commented on issue #2076:
URL: https://github.com/apache/jena/issues/2076#issuecomment-1794791236
> This could be quite sensitive to the environment
It is at least sensitive to the exact state of `HashCommon.keys` and this
depends on the hash codes which might differ between JVMs. As mentioned, the
provided dataset `graph-mem-broken-iterator-delete-01.ttl` is an ordered dump
of that data structure from my debugger (hence the comments with `null`).
```
java -version
openjdk version "17.0.8.1" 2023-08-24
# Java running on Ubuntu 22.04 and installed using
sudo apt install openjdk-17-jdk
```
> Does it need to involve the async parser or does
RDFParser.source("").parse(graph) also exhibit the problem?
No, it also happens with `RDFDataMgr.read(graph,
"graph-mem-broken-iterator-delete-01.ttl");`
The AsyncParser code was just a leftover from my experiments.
The important part is that the triples are added to the graph in order -
swapping two random triples will cause the test to succeed.
> Not all implementations can provide remove()
Yes, I see that it can get very difficult to implement that correctly and
efficiently.
> Would it be possible to run this in some earlier versions?
Will try and report back
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]