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

Gary Frost gfrost at openjdk.org
Mon Oct 28 14:02:47 UTC 2024


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

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

Commit messages:
 - Dont use hashbang for launcher scripts
 - Dont use hashbang for launcher scripts

Changes: https://git.openjdk.org/babylon/pull/268/files
  Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=268&range=00
  Stats: 105 lines in 8 files changed: 34 ins; 49 del; 22 mod
  Patch: https://git.openjdk.org/babylon/pull/268.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/268/head:pull/268

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


More information about the babylon-dev mailing list