Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using TCK Tested JDK builds of OpenJDK #1242

Merged
merged 5 commits into from
Oct 5, 2021
Merged

Using TCK Tested JDK builds of OpenJDK #1242

merged 5 commits into from
Oct 5, 2021

Conversation

carldea
Copy link
Contributor

@carldea carldea commented Sep 28, 2021

Description

The AdoptOpenJDK has been discontinued since July 2021. When using Zulu
you get all the latest updated (TCK Tested) builds for all versions of OpenJDK.

As good practice I added major fixed versions of JDK 8.0.192, 11.0.3.

An example is when 8.0.192 passes(green) and 8 (latest) fails (red) you know it was the build version not your code that caused the build to fail.

While Temurin is the successor to AdoptOpenJDK it does not support archived versions prior to sept. 2021. Azul has all archived versions and the latest releases.

The AdoptOpenJDK has been discontinued since July 2021. When using Zulu 
you get all the latest updated (TCK Tested) builds for all versions of OpenJDK. 

As good practice I added major fixed versions of JDK 8.0.192, 11.0.3. 

An example is when 8.0.192 passes(green) and 8 (latest) fails (red) you know it was the build version not your code that caused the build to fail.

While Temurin is the successor to AdoptOpenJDK it does not support archived versions prior to sept. 2021. Azul has all archived versions and the latest releases.
@codecov
Copy link

codecov bot commented Sep 29, 2021

Codecov Report

Merging #1242 (691e0fc) into main (8f3a100) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##               main    #1242   +/-   ##
=========================================
  Coverage     77.45%   77.45%           
  Complexity     1900     1900           
=========================================
  Files           189      189           
  Lines          5979     5979           
  Branches        327      327           
=========================================
  Hits           4631     4631           
  Misses         1150     1150           
  Partials        198      198           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8f3a100...691e0fc. Read the comment docs.

@carldea
Copy link
Contributor Author

carldea commented Sep 29, 2021

I have to look as to why the fixed version for JDK 8.0.192) fails in testing.

The option --add-opens does not exist in 8.0.192 and testing on 8.0.202.
Discovered --add-opens doesn't exist in JDK 8 and logic avoids applying the JVM switch.
@carldea
Copy link
Contributor Author

carldea commented Oct 1, 2021

The workflow is all green on my branch 👍🏼.

I noticed the logic in the workflow on when to use the --add-opens option.

  • Do not apply when using JDK 8 or 8.0.192
  • Do apply when using JDK 11 and greater

The logic will now avoid applying the JVM option to JDK 8 versions (even fixed versions).

@carldea
Copy link
Contributor Author

carldea commented Oct 4, 2021

Thank you. Glad to have helped contribute!

@bitwiseman bitwiseman merged commit 0b8c6e3 into hub4j:main Oct 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants