Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We run mustache with huge parallelism in buck2 and as described in https://issuetracker.google.com/issues/137929327 and https://bugs.openjdk.java.net/browse/JDK-8205976 using getResourceAsStream can sometimes be not thread-safe, such as when used with URLClassLoader. This applies the suggested workaround, which resolves the issue.
- Loading branch information
a58f7a2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are getting
com.github.mustachejava.MustacheNotFoundException
after pushing 0.9.12 to prod (but strangely unit tests are fine) @ianlevesque @spullaraa58f7a2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trying to reproduce it.
a58f7a2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.