Hi Soren,
I've just built it without any issue:

...
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.119 sec -
in it.geosolutions.jaiext.scale.CoverageClassTest
Running it.geosolutions.jaiext.scale.BicubicScaleTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec - in
it.geosolutions.jaiext.scale.BicubicScaleTest
Running it.geosolutions.jaiext.scale.NearestScaleTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.107 sec -
in it.geosolutions.jaiext.scale.NearestScaleTest
Running it.geosolutions.jaiext.scale.BilinearScaleTest
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.58 sec -
in it.geosolutions.jaiext.scale.BilinearScaleTest

Results :

Tests run: 26, Failures: 0, Errors: 0, Skipped: 1

[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ jt-scale2 ---
[INFO] Building jar:
/home/aaime/devel/jai-ext/jt-scale2/target/jt-scale2-1.1-SNAPSHOT.jar
[INFO]
[INFO] --- maven-jar-plugin:2.4:test-jar (default) @ jt-scale2 ---
[INFO] Building jar:
/home/aaime/devel/jai-ext/jt-scale2/target/jt-scale2-1.1-SNAPSHOT-tests.jar
[INFO]
[INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) >
generate-sources @ jt-scale2 >>>
[INFO]
[INFO] <<< maven-source-plugin:2.2.1:jar (attach-sources) <
generate-sources @ jt-scale2 <<<
[INFO]
[INFO]
[INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @ jt-scale2 ---
[INFO] Building jar:
/home/aaime/devel/jai-ext/jt-scale2/target/jt-scale2-1.1-SNAPSHOT-sources.jar
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ jt-scale2
---
[INFO] Installing
/home/aaime/devel/jai-ext/jt-scale2/target/jt-scale2-1.1-SNAPSHOT.jar to
/home/aaime/.m2/repository/it/geosolutions/jaiext/scale2/jt-scale2/1.1-SNAPSHOT/jt-scale2-1.1-SNAPSHOT.jar
[INFO] Installing /home/aaime/devel/jai-ext/jt-scale2/pom.xml to
/home/aaime/.m2/repository/it/geosolutions/jaiext/scale2/jt-scale2/1.1-SNAPSHOT/jt-scale2-1.1-SNAPSHOT.pom
[INFO] Installing
/home/aaime/devel/jai-ext/jt-scale2/target/jt-scale2-1.1-SNAPSHOT-tests.jar
to
/home/aaime/.m2/repository/it/geosolutions/jaiext/scale2/jt-scale2/1.1-SNAPSHOT/jt-scale2-1.1-SNAPSHOT-tests.jar
[INFO] Installing
/home/aaime/devel/jai-ext/jt-scale2/target/jt-scale2-1.1-SNAPSHOT-sources.jar
to
/home/aaime/.m2/repository/it/geosolutions/jaiext/scale2/jt-scale2/1.1-SNAPSHOT/jt-scale2-1.1-SNAPSHOT-sources.jar
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time:  9.933 s
[INFO] Finished at: 2025-03-05T17:11:01+01:00
[INFO]
------------------------------------------------------------------------

Mind, jai-ext is meant to be built with java8, that might be related to the
problem you're seeing.

Regards,

Andrea Aime


==


GeoServer Professional Services from the experts!

Visit http://bit.ly/gs-services-us for more information.

==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions Group
phone: +39 0584 962313

fax:     +39 0584 1660272

mob:   +39  339 8844549

https://www.geosolutionsgroup.com/

http://twitter.com/geosolutions_it

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

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE
2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
precisa che ogni circostanza inerente alla presente email (il suo
contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is
addressed and may contain information that is privileged, confidential or
otherwise protected from disclosure. We remind that - as provided by
European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
e-mail or the information herein by anyone other than the intended
recipient is prohibited. If you have received this email by mistake, please
notify us immediately by telephone or e-mail


On Wed, Mar 5, 2025 at 5:01 PM Kalesse Sören <soeren.kale...@dwd.de> wrote:

> Hello dear geotools developers,
>
> I am currently working on a bugfix in jai-ext/scale that should fix
> https://github.com/geosolutions-it/jai-ext/issues/309.
>
> While working on the PR (refer to
> https://github.com/geosolutions-it/jai-ext/pull/310) I wanted to check
> other jai-ext operators to see if they would suffer from a similar issue.
> It turns out jai-ext/scale2 should have the very same problem (probably
> because many parts were once copied from jai-ext/scale).
>
> Now I was about to address the issue, but noticed that on the main branch
> even, one test-case is failing:
>
>
> https://github.com/geosolutions-it/jai-ext/blob/e58fed601bf85f0661153a942e7a0aaba933744e/jt-scale2/src/test/java/it/geosolutions/jaiext/scale/BilinearScaleTest.java#L239
> :
>
> Tests run: 15, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.167 sec
> <<< FAILURE! - in it.geosolutions.jaiext.scale.BilinearScaleTest
> testRecyclingROIWeights(it.geosolutions.jaiext.scale.BilinearScaleTest)
> Time elapsed: 0.015 sec  <<< FAILURE!
> java.lang.AssertionError: Unexpected value at 3 5 expected:<5> but was:<0>
>         at org.junit.Assert.fail(Assert.java:89)
>         at org.junit.Assert.failNotEquals(Assert.java:835)
>         at org.junit.Assert.assertEquals(Assert.java:647)
>         at
> it.geosolutions.jaiext.scale.BilinearScaleTest.testRecyclingROIWeights(BilinearScaleTest.java:287)
>
> Has anyone else noticed this? Shouldn't it break some build?
>
> Thanks
> Sören
>
> --
> Sören Kalesse
> Referat Verfahrensentwicklung für Meteorologische Arbeitsplätze |
> Abteilung Zentrale Meteorologische Fachverfahren
> Deutscher Wetterdienst | Michendorfer Chaussee 23 | 14473 Potsdam
> phone: +49 69 8062 5256 | @: soeren.kale...@dwd.de | web: www.dwd.de
>
>
>
> _______________________________________________
> GeoTools-Devel mailing list
> GeoTools-Devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to