Skip to content

Commit a303c11

Browse files
authored
Fixed ConcurrentModificationException when compiling lots of method readers under Java 17, closes #103 (#104)
1 parent b9efd64 commit a303c11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/openhft/compiler/MyJavaFileManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public boolean isSameFile(FileObject a, FileObject b) {
9999
return fileManager.isSameFile(a, b);
100100
}
101101

102-
public boolean handleOption(String current, Iterator<String> remaining) {
102+
public synchronized boolean handleOption(String current, Iterator<String> remaining) {
103103
return fileManager.handleOption(current, remaining);
104104
}
105105

0 commit comments

Comments
 (0)