same problems (and more, as FreeBSD's fifoHack here does not work on
NetBSD 1.6.1).
Rather than make pipe(2) work the way green_threads wants, emulate the
old-style pipe-as-socketpair by calling socketpair(2) directly.
* Don't reference pthreads. At all. I mean it. (Was referencing pth or
native pthreads as used by Mozilla, even though the JVM was not using
that threading model. It should be using the HPI Solaris-threads
emulation in the green_threads JVM instead.)
* Include SCSL license text in the MESSAGE_SRC, and change RESTRICTED to
be more descriptive (binary distribution *is* possible, with specific
licensing restrictions outlined in the SCSL).
* Add some missing PLIST files.
. Fix Math.pow() when the JDK is compiled with optimisation flags set.
There may be other Math methods which similarly fail under optimisation,
these will be addressed by a more extensive change in patchset 9.
. Remove an assert() which asserts that if isatty() is true then
ttyname() must not return NULL. This isn't entirely true according
to the manual page (the device must be able to be found as well) and
certainly appears to not necessarily be true in the package building
environment on bento (plus at least the PR submitter's environment).
Note that this assert() was, of course, only ever triggered when
running in debug mode (which most people don't, but does happen
during the build in some parts). Also note that there is a check
for isatty() preceding the call for ttyname() and a NULL return
from ttyname() is handled, so removing this assert should not
create any problems.
and usable natively on NetBSD/i386 by Greg Lewis and a host of others.
===== From the patchset README:
This is a set of BETA source code patches for the JDK 1.3.1 SCSL source.
It is sincerely hoped that this patchset is suitable for general use,
although no warranty for such use is expressed or implied. Use at your
own risk. The patchset itself is available for download from
http://www.eyesbeyond.com/freebsddom/java/jdk13.html (this message is
included in the downloadable tar ball as the file README).
Please read the file THANKS for attributions.
The JDK built with these patches can only be considered of beta quality
when using the default green threads subsystem with the Classic VM.
These settings are the default. It is not recommended that this JDK
be placed into production use with other settings (e.g., native threads,
HotSpot).