The change to tests libraries (declared with @library flag) alone should trigger recompilation. Even when the test file hasn't changes since the previous run.
Currently this is not the case. It can be of a surprise to the developers not knowing this "feature".
The common workaround is to remove the test folder before every run. But that adds ~1 minute overhead per test run.
Currently this is not the case. It can be of a surprise to the developers not knowing this "feature".
The common workaround is to remove the test folder before every run. But that adds ~1 minute overhead per test run.
- relates to
-
CODETOOLS-7900024 jtreg can mishandle implicitly compiled library classes, causing subsequent tests to fail with NoClassDefFoundError
-
- Open
-
-
CODETOOLS-7903882 Support control of compilation options for libraries
-
- Open
-