This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch geoapi-4.0
in repository https://gitbox.apache.org/repos/asf/sis.git
The following commit(s) were added to refs/heads/geoapi-4.0 by this push:
new b64921c3f7 fix(GridExtent): fix a missing point coordinate clone in
GridExtent lattice stream
b64921c3f7 is described below
commit b64921c3f7876e896822e4bd98d474153e0f9280
Author: jsorel <[email protected]>
AuthorDate: Wed Apr 22 15:42:49 2026 +0200
fix(GridExtent): fix a missing point coordinate clone in GridExtent lattice
stream
---
.../main/org/apache/sis/coverage/grid/GridExtent.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/endorsed/src/org.apache.sis.feature/main/org/apache/sis/coverage/grid/GridExtent.java
b/endorsed/src/org.apache.sis.feature/main/org/apache/sis/coverage/grid/GridExtent.java
index 52fd31bd54..eca33676d7 100644
---
a/endorsed/src/org.apache.sis.feature/main/org/apache/sis/coverage/grid/GridExtent.java
+++
b/endorsed/src/org.apache.sis.feature/main/org/apache/sis/coverage/grid/GridExtent.java
@@ -2266,7 +2266,7 @@ public class GridExtent implements GridEnvelope,
LenientComparable, Serializable
@Override
public boolean tryAdvance(final Consumer<? super long[]> action) {
if (done) return false;
- action.accept(current);
+ action.accept(current.clone());
done = !next(extent.length >>> 1);
return true;
}