Skip to content
Snippets Groups Projects
Commit 45da63b6 authored by Florian Angerer's avatar Florian Angerer
Browse files

Synchronizing initialization of static R version info.

parent 5d8d789b
No related branches found
No related tags found
No related merge requests found
......@@ -79,7 +79,7 @@ public enum RVersionInfo {
return Character.toLowerCase(s.charAt(0)) + s.substring(1);
}
private static void initialize() {
private synchronized static void initialize() {
if (ListValues == null) {
CompilerDirectives.transferToInterpreterAndInvalidate();
ListValues = new String[VALUES.length];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment