Re: BND 7.0.0 requires Java 17

2023-11-02 Thread Mark Thomas

On 02/11/2023 16:47, Michael Osipov wrote:

On 2023/11/02 15:20:37 Mark Thomas wrote:

Hi all,

The update to BND 7.0.0 requires Java 17. Do we want to update the build
process to use Java 17 or do we want to revert the BND update?

I'm leaning towards switching to Java 17 as not updating would prevent
any future update if required for any future bug fix.

Thoughts?


Is there any substantial benefit in 7.0.0?


None right now.

We have needed BND fixes in the past for reproducibility bugs.

Will we need a newer BND to fix an issue at some point the future? 
Maybe. OSGI and JPMS don't get much use so I wouldn't be surprised if 
there were bugs lurking in that metadata.



Given that people might want to build Tomcat 9 or 10 in an env where 17 is not 
available to them this is an obstacle just for the matter of OSGi metadata.


Java 11 LTS has reached / is nearing EOL depending on your vendor. 
Requiring an LTS version (17) to build that has been available for over 
2 years doesn't seem unreasonable.


Mark



Call me stupid, but I don't see anything here [1] substantial which makes 17 
absolutely mandatory...

[1] https://github.com/bndtools/bnd/wiki/Changes-in-7.0.0


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: BND 7.0.0 requires Java 17

2023-11-02 Thread Michael Osipov
On 2023/11/02 15:20:37 Mark Thomas wrote:
> Hi all,
> 
> The update to BND 7.0.0 requires Java 17. Do we want to update the build 
> process to use Java 17 or do we want to revert the BND update?
> 
> I'm leaning towards switching to Java 17 as not updating would prevent 
> any future update if required for any future bug fix.
> 
> Thoughts?

Is there any substantial benefit in 7.0.0? Given that people might want to 
build Tomcat 9 or 10 in an env where 17 is not available to them this is an 
obstacle just for the matter of OSGi metadata.

Call me stupid, but I don't see anything here [1] substantial which makes 17 
absolutely mandatory...

[1] https://github.com/bndtools/bnd/wiki/Changes-in-7.0.0

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: BND 7.0.0 requires Java 17

2023-11-02 Thread Michael Osipov
On 2023/11/02 15:51:53 Rémy Maucherat wrote:
> On Thu, Nov 2, 2023 at 4:20 PM Mark Thomas  wrote:
> >
> > Hi all,
> >
> > The update to BND 7.0.0 requires Java 17. Do we want to update the build
> > process to use Java 17 or do we want to revert the BND update?
> >
> > I'm leaning towards switching to Java 17 as not updating would prevent
> > any future update if required for any future bug fix.
> >
> > Thoughts?
> 
> +1
> Java 22 does "error: release version 7 not supported" for Tomcat 8.5
> BTW. Maybe the Java 8 target won't be removed too fast though.
> Hopefully.

This is unrelated to BND and 8.5 will be gone in less than six months.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: BND 7.0.0 requires Java 17

2023-11-02 Thread Rémy Maucherat
On Thu, Nov 2, 2023 at 4:20 PM Mark Thomas  wrote:
>
> Hi all,
>
> The update to BND 7.0.0 requires Java 17. Do we want to update the build
> process to use Java 17 or do we want to revert the BND update?
>
> I'm leaning towards switching to Java 17 as not updating would prevent
> any future update if required for any future bug fix.
>
> Thoughts?

+1
Java 22 does "error: release version 7 not supported" for Tomcat 8.5
BTW. Maybe the Java 8 target won't be removed too fast though.
Hopefully.

Remy

>
> Mark
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org