Commit 6b9668c
committed
Make nashorn an optional (static) module dependency
nashorn is used only by beastlabs.util.Script and was removed from the
JDK. As a hard 'requires' it made the whole beast.labs module
unresolvable wherever nashorn is absent, so the package manager skipped
the module and every BEASTLabs class became unloadable. BEAUti then
crashed on startup parsing the Weibull subtemplate (ClassNotFoundException
for beastlabs.math.distributions.WeibullDistribution). Declaring it
'requires static' lets the module resolve without nashorn, matching how
beast.fx and javafx.controls are already handled.
Fixes #301 parent 8a075b6 commit 6b9668c
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
| |||
0 commit comments