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
In RC4 it's possible to call OpenCLProbeLibrary.isValid() before the static block is executed in JavaCL, meaning the call to isValid() will fail. Nothing in isValid() guarantees the initialization of JavaCL.
Can be reproduced by:
public class IsValidTest {
public static void main(String[] args) {
OpenCLProbeLibrary.isValid(); // Returns false
}
}
public class IsValidTest {
public static void main(String[] args) {
new JavaCL(); // Force the static initialization of JavaCL
OpenCLProbeLibrary.isValid(); // Returns true
}
}
The text was updated successfully, but these errors were encountered:
Between version 1.0.0-RC2 and 1.0.0-RC4 the following lines were moved from the static block in
OpenCLProbeLibrary
to the static block inJavaCL
:In RC4 it's possible to call
OpenCLProbeLibrary.isValid()
before the static block is executed inJavaCL
, meaning the call toisValid()
will fail. Nothing inisValid()
guarantees the initialization ofJavaCL
.Can be reproduced by:
The text was updated successfully, but these errors were encountered: