Skip to content

Commit

Permalink
Merge pull request #673 from keithc-ca/jtreg
Browse files Browse the repository at this point in the history
Also download jtreg-7.5+1 and use for Java 25+
  • Loading branch information
karianna authored Feb 21, 2025
2 parents 22c848c + 088c407 commit afaad98
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
7 changes: 7 additions & 0 deletions scripts/getDependencies.pl
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,13 @@
shafn => 'jtreg_7_4_1.tar.gz.sha256sum.txt',
shaalg => '256'
},
jtreg_7_5_1 => {
url => 'https://ci.adoptium.net/job/dependency_pipeline/lastSuccessfulBuild/artifact/jtreg/jtreg-7.5+1.tar.gz',
fname => 'jtreg_7_5_1.tar.gz',
shaurl => 'https://ci.adoptium.net/job/dependency_pipeline/lastSuccessfulBuild/artifact/jtreg/jtreg-7.5+1.tar.gz.sha256sum.txt',
shafn => 'jtreg_7_5_1.tar.gz.sha256sum.txt',
shaalg => '256'
},
jython => {
url => 'https://repo1.maven.org/maven2/org/python/jython-standalone/2.7.2/jython-standalone-2.7.2.jar',
fname => 'jython-standalone.jar',
Expand Down
11 changes: 9 additions & 2 deletions scripts/getDependencies.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,16 @@
<property name="jtregTar" value="jtreg_7_3_1_1"/>
</then>
</elseif>
<elseif>
<!-- version 24 -->
<matches pattern="^24$" string="${JDK_VERSION}"/>
<then>
<property name="jtregTar" value="jtreg_7_4_1"/>
</then>
</elseif>
<else>
<!-- versions 24+ -->
<property name="jtregTar" value="jtreg_7_4_1"/>
<!-- versions 25+ -->
<property name="jtregTar" value="jtreg_7_5_1"/>
</else>
</if>
<echo message="jtreg version used is : ${jtregTar}"/>
Expand Down

0 comments on commit afaad98

Please sign in to comment.