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
}
}