Description
I'm testing freemaker code on two SBT tests, The first code is
val config = new Configuration(Configuration.VERSION_2_3_31) val d = new DefaultObjectWrapper() println(d.getJythonSupport)
Another is
val d = new DefaultObjectWrapper()
println(d.getJythonSupport)
When I tested them in parallel, waiting for each other happened.
I speculate that some static initialization code has circular dependencies.
_TemplateAPI.SAFE_OBJECT_WRAPPER-> DefaultObjectWapper.instance->DefaultObjectWrapperConfiguration->_TemplateAPI