Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix undigested m.jar under validated targets (pantsbuild#8479)
### Problem For hermetic rsc+zinc, m.jar in validated targets are not digested, causing downstream targets to error out with missing digest. E.g. ``` zinc[rsc-and-zinc](<target>) failed: ClasspathEntry ClasspathEntry(path='/Users/user/workspace/s2/.pants.d/compile/rsc/c1e3836b60e5/<target_id>/current/rsc/m.jar', directory_digest=None) didn't have a Digest, so won't be present for hermetic execution of zinc Traceback: File "/Users/user/workspace/pants/src/python/pants/backend/jvm/tasks/jvm_compile/execution_graph.py", line 281, in worker work() File "/Users/user/workspace/pants/src/python/pants/backend/jvm/tasks/jvm_compile/execution_graph.py", line 42, in __call__ self.fn() File "/Users/user/workspace/pants/src/python/pants/backend/jvm/tasks/jvm_compile/jvm_compile.py", line 982, in _default_work_for_vts counter) File "/Users/user/workspace/pants/src/python/pants/backend/jvm/tasks/jvm_compile/jvm_compile.py", line 593, in _compile_vts self._get_plugin_map('scalac', ScalaPlatform.global_instance(), ctx.target), ``` ### Solution Make sure m.jar in validated targets are digested.
- Loading branch information