> Presumably that's due to this code in ServerConfiguration.java:
>
>
> try
> {
> Signal sig = new sun.misc.Signal("HUP");
> sun.misc.Signal.handle(sig, this);
> }
> catch (Exception e)
> {
> _logger.error("Signal HUP not supported for OS: " +
> System.getProperty("os.name"));
> // We're on something that doesn't handle SIGHUP, how sad,
> Windows.
> }
>
Correct.
> This code really shouldn't rely on the presence of the sun.misc classes,
> let
> alone on the presence of the HUP signal... i.e. the whole thing should be
> done with Class.forName , and the "error" should at worst be a warning,
> probably info.
So that mean we can safely make it a warning?. But still how do we get the
expected behaviour on Windows amidst there is no SIGHUP on it?.
> The existence of this dependency on sun.misc.Signal etc. is
> also the cause of a warning in the build
>
Exactly. Also it makes the code Sun-JDK-specific.
Thanks,
Danushka