You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that Math.abs(Integer.MIN_VALUE) yeilds Integer.MIN_VALUE, so you probably do not want using Math.abs for hash codes.
I suggest using a release version instead, so the users could configure release: ea and then use the actual release (e.g. 22, 23, ...) in their build system configurations.
I can't understand how could I use release: ga with the current action.
The text was updated successfully, but these errors were encountered:
vlsi
changed the title
Add output variable with "release" of the downloaded Java
Use "22" in outputs.version for EA java versions rather than a hashcode
Nov 27, 2023
It might probably make sense to have two output variables:
release -- high level release
version -- detailed version
It probably makes sense to separate ea => 22; ga => 21 from the list of jdk.java.net-uri.properties. In other words, the current implementation does not provide a way to tell which release stands for ea.
Currently,
outputs.version
is somewhat useless since it results in hashcode of the URI:=>
I guess the culprit is
setup-java/src/Download.java
Line 329 in afea155
Note that
Math.abs(Integer.MIN_VALUE)
yeildsInteger.MIN_VALUE
, so you probably do not want usingMath.abs
for hash codes.I suggest using a release version instead, so the users could configure
release: ea
and then use the actual release (e.g. 22, 23, ...) in their build system configurations.I can't understand how could I use
release: ga
with the current action.The text was updated successfully, but these errors were encountered: