Commit graph

8 commits

Author SHA1 Message Date
Geert Hendrickx
a6227050d0 Update to jdk14 patchset 8.
Notable changes:
- DragonFly support (thanks to asmodai and joerg)
- Add DONT_ENABLE_IPV6 knob (turned into pkgsrc "inet6" option)
- Many small improvements and fixes
2005-12-19 13:32:01 +00:00
Geert Hendrickx
b3c6ca5df9 Optionally build the Mozilla browser plugin (option jdk14-plugin, enabled by default).
Convert the JDK14_USE_JCE variable to the options framework: jdk14-jce.
2005-08-09 14:59:12 +00:00
Geert Hendrickx
2720ffaebb patch-ab is in patchset 7 as well 2005-08-02 16:30:40 +00:00
Geert Hendrickx
71f85ad189 Update to patchset 7 2005-08-02 16:28:25 +00:00
Marc Recht
992ea673e7 Update to the latest current patches.
Set PKGVERSION to 1.4.2.6.1 to distinguish it from the p6 patch.
Also, add the updated cacert file and some ns plugin related patches
(currently unused) from the FreeBSD port.

changes:
2004-07-21 Wednesday 17:58  glewis
	* j2se/src/share/native/java/io/io_util.h:
	. At least on FreeBSD, O_SYNC and O_DSYNC aren't both defined
	  (for FreeBSD 4.x neither are defined and for FreeBSD 5.x
	  O_DSYNC isn't defined).  This caused them to be defined to
	  some bogus values.  In particular, O_SYNC would be defined
	  as 0x800, which is O_EXCL (at least on FreeBSD 4.x).  The
	  result being that the RandomAccessFile class would fail to
	  open an existing file if you specified "s" as part of the mode.
	  Fix this by defining O_SYNC and O_DSYNC to O_FSYNC on BSD if
	  they aren't defined.  This shouldn't hurt Net or Open.

2004-07-08 Thursday 20:21  glewis
	*
	j2se/src/share/native/sun/awt/font/fontmanager/fontobjects/fontObject.cpp:
	. In the ReadChunk() function, change an assert() to be a "test for a
	  condition and return NULL".  Take account of the NULL in the
	  appropriate place (which is somewhat worrisome in itself since
	  ReadChunk() has always had the possibility of returning NULL).
	  This makes loading a font file a little more resilient to specially
	  crafted font data which can be used, for example, by an applet to
	  crash the browser plugin by triggering the assert().  Such an applet
	  was mentioned on Bugtraq:
	  http://www.securityfocus.com/archive/1/367331/2004-06-26/2004-07-02/0
	  and can be found at
	  http://www.illegalaccess.org/cms/?q=node/view/9
	  This change stops the browser plugin from crashing.  However, I'm
	  somewhat unfamiliar with this part of the code though, so any review
	  would be appreciated.
	. While I'm here, fix some warnings regarding types in debugging printf's.
2004-07-08 Thursday 20:10  glewis
	* j2se/src/share/native/java/lang/fdlibm/src/k_tan.c:
	. Merge in a fix recently added to FreeBSD's math library (taken from
	  fdlibm-5.3):
	  "Merge a bugfix from FDLIBM 5.3 to ensure that the error in tan()
	   is always less than 1 ulp."
	  I've not yet run this through the compatibility test suite, so this
	  change may be backed out if the suite relies on the broken behaviour.
2004-07-08 Thursday 20:09  glewis
	* j2se/src/share/native/java/lang/fdlibm/src/e_pow.c:
	. Merge in a fix recently added to FreeBSD's math library (taken from
	  fdlibm-5.3):
	  "Fixed the sign of the result in some overflow and underflow cases (ones
	   where the exponent is an odd integer and the base is negative)."
	  I've not yet run this through the compatibility test suite, so this
	  change may be backed out if the suite relies on the broken behaviour.
2004-07-08 Thursday 20:04  glewis
	* deploy/src/javaws/src/solaris/native/system_md.c:
	. The implementation of sysTempnam() formerly just called tempnam(), which,
	  on FreeBSD at least, would provoke warnings about security.  So, on *BSD,
	  implement sysTempnam() using mkstemp(3).
2004-04-03 Saturday 05:54  glewis
	* j2se/src/solaris/native/java/net/NetworkInterface.c:
	. Don't leak a file descriptor in the IPv6 case.
	Submitted by:	Pavlin Radoslavov <pavlin@icir.org>
2004-08-31 21:26:35 +00:00
Marc Recht
799e981760 Remove a couple of hard coded references to /usr/X11R6 to make this build
with X.org's X11 implementation.
While at it remove PKGREVISION -- with do not use this with pkgsrc-wip.
2004-08-03 13:15:15 +00:00
Marc Recht
e6814a9385 - use java-env.mk
- HACK: work-around a rpath-link related problem (patch-ag)
2004-05-26 16:22:24 +00:00
Marc Recht
25f7e62543 Initial import of the native JDK 1.4.2.
This is Sun's Java[tm] Development Kit, version 1.4.2, made buildable
and usable natively on NetBSD/i386 by Greg Lewis and a host of others.

===== From the patchset README:

This is a set of source code patches for the JDK 1.4.2 SCSL source.
The resulting JDK should be suitable for most uses, although using it in
a production environment is at your own risk.  Please note that this
patchset only provides support for recent versions of FreeBSD and NetBSD.
The patchset is available at
http://www.eyesbeyond.com/freebsddom/java/jdk14.html

Please read the file THANKS for attributions.

Instructions to build the JDK are contained in the file BUILD.

You should also examine the ChangeLog for the changes that have been
made so far, and notes on them.
2004-04-28 01:00:17 +00:00