When compiling for android, we use the symbol [TestRunner.cpp:51]
```
namespace crossplat {
extern std::atomic<JavaVM*> JVM;
}
```
to access the JVM from inside the unit test framework. This symbol is provided by CppREST and set during it's initialization.
Ideally, there should not be a dependency here; the unit test framework should have a separate initialization function.
```
namespace crossplat {
extern std::atomic<JavaVM*> JVM;
}
```
to access the JVM from inside the unit test framework. This symbol is provided by CppREST and set during it's initialization.
Ideally, there should not be a dependency here; the unit test framework should have a separate initialization function.