[code-reflection] Integrated: Dont use hashbang for launcher scripts

Gary Frost gfrost at openjdk.org
Mon Oct 28 14:12:26 UTC 2024


On Mon, 28 Oct 2024 13:43:13 GMT, Gary Frost <gfrost at openjdk.org> wrote:

> Pivoted away from using shebang/hashbang for `bld`, `sanity` and `hatrun` scripts. 
> 
> This was not really portable (clearly will not work on Windows) and also forced env.bash to precompile bldr/../Bldr.java
> 
> Now we rely on these scripts being launched using 
> 
> 
> java bldr/@args bld 
> ``` 
> 
> Which relies on JEP 458 to launch 'multi source' to  pick up Bldr.java

This pull request has now been integrated.

Changeset: f69e7324
Author:    Gary Frost <gfrost at openjdk.org>
URL:       https://git.openjdk.org/babylon/commit/f69e732433c903febc2ef647c5459139130b9acc
Stats:     105 lines in 8 files changed: 34 ins; 49 del; 22 mod

Dont use hashbang for launcher scripts

-------------

PR: https://git.openjdk.org/babylon/pull/268


More information about the babylon-dev mailing list