Yes, thanks for running into that! That was a bug with new code that
checks if we have access to a class according to Java 9+ modules. It
was because I didn't realize that for the class of an array,
Class.getPackage() returns null. The fixed version was pushed to the
Maven snapshot repo already.

On Thu, Mar 28, 2024 at 1:36 AM Gaetan <gaetan.chabous...@nereide.fr> wrote:
>
> Hello,
>
> While testing i stumbled upon an issue with a list.
>
> Before the version update we had no error doing for example
>
> `<#assign permissions = display.getBasePermissionList()>`
>
> Where `getBasePermissionList` would return an array.
>
> With the new version an error is thrown and we must change the
> `permission` from an array to a list.
>
>   So my understanding is that a List is required now. Is this a wanted
> change ?
>
> Gaetan
>
> On 2024/03/12 10:16:52 Jacques Le Roux wrote:
>  > Hi Daniel,
>  >
>  > We have started testing with
> https://issues.apache.org/jira/browse/OFBIZ-12934.
>  >
>  > For now we only crossed things to change in OFBiz that makes sense.
>  >
>  > We will let you informed in case we cross real issues.
>  >
>  > Thanks
>  >
>  > Jacques
>  >
>  > Le 12/03/2024 à 01:18, Daniel Dekany a écrit :
>  > > By the way... if there are bugs, behavior can change with the Java
>  > > version, the break points being Java 8, Java 9, and Java 16 (or just
>  > > 17, as that's what's widely used in reality).
>  > >
>  > > On Mon, Mar 11, 2024 at 12:00 PM Christoph Rueger <ch...@gmail.com>
> wrote:
>  > >> No regressions in our test suite.
>  > >>
>  > >> Am Do., 7. März 2024 um 18:58 Uhr schrieb Daniel Dekany <
>  > >> daniel.dek...@gmail.com>:
>  > >>
>  > >>> Please test if the next release breaks anything. Then if it looks
>  > >>> right, I will update building instructions, and do other more boring
>  > >>> checks (distro zip contents, etc), and start a release voting.
>  > >>>
>  > >>> Change log:
>  > >>>
>  > >>>
> https://freemarker.apache.org/builds/2.3.33-preview/_html/versions_2_3_33.html
>  > >>>
>  > >>> Maven dependency version is 2.3.33-SNAPHSOT, and it's in the Apache
>  > >>> *snapshot* Maven repo only:
>  > >>>
>  > >>> <repository>
>  > >>> <id>apache-snapshot-repository</id>
>  > >>> <url>
>  > >>> https://repository.apache.org/content/repositories/snapshots/</url>
>  > >>> <releases><enabled>false</enabled></releases>
>  > >>> <snapshots><enabled>true</enabled></snapshots>
>  > >>> </repository>
>  > >>>
>  > >>> (Of course you can also download the jar directly, but be careful to
>  > >>> pick the latest:
>  > >>>
>  > >>>
> https://repository.apache.org/content/repositories/snapshots/org/freemarker/freemarker/2.3.33-SNAPSHOT/
>  > >>> )
>  > >>>
>  > >>> --
>  > >>> Best regards,
>  > >>> Daniel Dekany
>  > >>>
>  > >
>  > >
>  >



-- 
Best regards,
Daniel Dekany

Reply via email to