Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [glassfish-dev] Releasing HK2 3.0.5

Hi,

On Thu, 5 Oct 2023 at 09:08, Steve Millidge (Payara) <steve.millidge@xxxxxxxxxxx> wrote:
Sorry are you saying h2 3.x was previously released compiled jdk17? 

Hk2 itself is not compiled for JDK17, but for JDK11:

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <release>11</release>
                </configuration>
            </plugin>

The TCK for GlassFish, which includes all the latest HK2 versions, is run with JDK 11 as well to ensure this. You just need the JDK 17 compiler, hence the requirement. It's a thing that came in with the (optional) Spring module, and its dependencies.

That all said, in one of the issues the team did suggest bumping HK2 to 3.1.x, so this may be a good opportunity.

Kind regards,
Arjan Tijms

Back to the top