<div dir="ltr"><div class="gmail_default" style="font-family:monospace">Hello Compiler Dev Team,</div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace">I have been using JEP 458 to great effect, but I ran into an issue today. I made a StackOverflow post about it.</div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace"><a href="https://stackoverflow.com/questions/79398053/why-cant-i-use-the-same-class-path-for-my-compile-command-versus-my-run-command">https://stackoverflow.com/questions/79398053/why-cant-i-use-the-same-class-path-for-my-compile-command-versus-my-run-command</a></div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace">Long story short, it appears that all my source files must be contained under a single root. This differs in behaviour from javac, which permits as many root folders as you want, as long as all of them are listed in your class path option.</div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace">Is there any chance that we could add this functionality in?</div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace">Long story short, I found that JEP 458 is actually great for testing pre-existing classes. Classes that are nested deep in a pre-existing hierarchy, and therefore, may sometimes be within different root hierarchies. Being able to have both of these source files on the class path greatly facilitates testing because I can isolate the individual files I need,  and test the functionality simply by adding a main method to one of the classes.</div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace">This ended up being super super super useful to me until I finally landed on an example that has 2 different roots, as I found out in the SO post.</div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace">Would it make sense to add the ability to have multiple roots?</div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace">Thank you for your time and consideration.</div><div class="gmail_default" style="font-family:monospace">David Alayachew<br></div></div>