-
Notifications
You must be signed in to change notification settings - Fork 281
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add _jdk dependency to necessary places (#172)
The default @local_jdk just imports _java and _javac as raw binaries without establishing a dependency on/runfiles of _jdk. Thus, all uses of those should manually add _jdk as a dependency. In the scalac execution ation that compiles scala, also added _jdk in case _scalac ever was replaced by a binary that wasn't a java_binary. _jar_bin does not need a _jdk dependency since is itself a java_binary Note that earlier versions of this PR had a change to use ijars. This was reverted (although the comment referring to using ijar amended to the proper line) to keep this PR as a purely bugfix PR that should strictly increase the chance something compiles
- Loading branch information
Showing
1 changed file
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi @sdtwigg ! I am trying to play a bit with the classpath (for my custom fork), and I noticed that this code refers to
$RUNPATH
but that variable is not available in runtime.The runpath is defined here
Reading your comment here - I think it might be connected. If so - shouldn't we open a GH issue about it?
(cc @johnynek , @ittaiz )