Commit graph

31 commits

Author SHA1 Message Date
jschauma
bbd3cd364a Update sun-j*14 to latest version 1.4.2_04 or sun-j*14-2.4.
This is done during the freeze since the default distfile vanishes from
Sun's website.

Changes and bugs fixed since 1.4.2_03 according to
http://java.sun.com/j2se/1.4.2/ReleaseNotes.html:

Encoding Unicode to JIS0208 Throw exception
HTMLEditorKit uses always default editor kit for rendering of frames
javac requires exponential time to attribute methods in a large hierarchy
NullPointerException in JFileChooser when accessing system level icons
1.4 REGRESSION: Metal & Windows FileChooserUI classes cannot be used without She
Cross-platform PrinterJob.printDialog gets hidden by main application window
GTK+ theme keynav for JTree expand/collapse doesn't confirm with GTK+2 standard
closing sequencer sometimes crashes the VM
GTK+ L&F not fully reflecting GNOME High contrast large print theme
GTK+ JFileChooser doesn't open multiple files
RMI call remains blocked even after network cable is unplugged in Solaris 8
REGRESSION: Unicode escape processing is redone
REGRESSION: regex character class negation error
REGRESSION: infinite loop in ISO2022_JP$Decoder. decodeArrayLoop()
Printing: Legal page sizes not correctly selected/printed on Linux
in with J2se1.3 in multithread situation, socket reads data unexpectly
JPI Control Panel "Help" refers to the incorrect Update button name
Include UseSpinning, UseTLAB, PreBlockSpin with -XX:+AggressiveHeap for Linux
DefaultWriteObject Flag is always true in RMI-IIOP data stream
IOP serialization is slow for large objects
CHROOT JDK 1.4.2-b28
Incorrect ordering of loads/stores of same memory loc with -XX:-OptoScheduling
JDK 1.4 and the JIS0208 character set encoding
Java plugin downloads sticky applet multiple time for sites using load balancing
javax.rmi.CORBA.Util.isLocal(stub) restricts custom ORB
spinners don't look like native ones on blueprint
GTK L&F: In JFileChooser folder ordering is unlike native mercury ordering
JFileChooser filepanel background color is unlike native mercury
GTK L&F: Behaviour of new folder button in JFileChooser is unlike native mercury
JFileDIalog does not show the current directory in GTK
Swing's GTK look and feel should be updated to track GTK 2.2
GTK L&F: Shift+Tab causes the JFileChosser to behave vague
Drag anchor of JToolBar is unlike the native mercury toolbar
JFileChooser Dialog does not respond to the ESC key unlike Native FileDialog
RepositoryId Lists not handled correctly
Swing's blueprint engine is not in sync with native version
Wrong discriminator received on a union with multiple case labels on a branch
CORBA COMM_FAILURE when destroy() takes too long and close() happens
J2SE needs to support Korean on Mercury
Ship currently published CA certificates in cacerts file
Regression: 1.4.2 JVM core dumps with error ID 4F530E43505002EF 01
Regression: jarsigner fails to verify the jar files
Cannot specify java.util.logging.manager property using JWS
IOException on drop part of drag'n'drop
JavaWebStart version number inaccurate on Korean Locale on Win2000
C2 crash in adjust_check
Java Web Start 1.4.2 uses obsolete cacerts file.
GTK L&F: Behaviour of rename button in JFileChooser is unlike native mercury
sun.nio.ch.Util.releaseTemporaryDirectBuffer NullPointerException
classDepth(null) crashes VM
consider removing validity check on trusted cert anchor selection
-XX:NewSize, MaxNewSize CL arguments sometimes ignored
JRE 1.4.2 support for Chinese/Korean fonts on Redhat AS 2.1
Signature timestamps in signed jar files break forward compatibility
REG: JVM crash on RH3.0 w/ 4F533F4C494E55583F 491418160E4350500306
Interop broken b/w 1.4.2_04 and 1.4.1,1.5 for TreeSet, BigInteger, BigDecimal
Krb5LoginModule authentication fails with exception, "connection reset"
2004-03-17 22:01:43 +00:00
lukem
a1d9d9dad0 sync to ../sun-jre14/MESSAGE.NetBSD rev 1.5:
A ulimit datasize of 131072 (128K) is too small; crank to 262144 (256K).
(Whilst 132096 (129K) does work for simple tests, it's better to be
conservative and suggest something that should work most of the time...)
2004-02-28 00:49:03 +00:00
jmc
e6e9dca233 Take out the CLASSPATH suggestion as it's
1. plain wrong (setting it to that will just cause compiles to explode in
   interesting ways as that's source, not .class files)
2. Not needed as it can infer the default CLASSPATH from JAVA_HOME
2004-02-06 01:31:05 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
jschauma
97fad08703 Don't duplicate the FETCH_MESSAGE, move it to Makefile.common instead. 2003-12-12 17:17:19 +00:00
jschauma
ae28731a17 Found a URL for older distfiles, so make that known. 2003-12-12 15:38:16 +00:00
adam
41a6c546d5 _02 is no longer available, updating to _03; couldn't find any differences listed 2003-12-12 15:16:49 +00:00
jschauma
e5608b316d Trivially update sun-j*14 to the latest version (sun-j*14-2.2, corresponding
to Sun's 1.4.2_02).  This is done even though we are in a freeze since
older distfiles disappear and a security vulnerability in older versions
might make people update.

Changes/bugfixes since 1.4.2_01, according to
http://java.sun.com/j2se/1.4.2/ReleaseNotes.html

- Regression: IllegalStateException:constrain(xywh) not supp. for complex transform
- AsyncGetCallTrace() on Solaris/Intel core dumps with assertion failure
- occasional crashes/deadlocks from AsyncGetCallTrace()
- JVMPI_EVENT_COMPILED_ METHOD_LOAD: "must release all locks when leaving VM" asser
- Cannot set preferences factory in web start
- crash in AsyncGetCallTrace() when invoked during Deoptimization
- AsyncGetCallTrace() is absent in linux/Intel JVM
- infinite recursion in AsyncGetCallTrace() with the server JVM
- syncGetCallTrace: assert(pc_desc != 0, "scopeDesc must exist").
- AsyncGetCallTrace: guarantee(get_thread() == thread, "must be the same thread.
- JNI GetEnv() race with ThreadLocalStorage::set_thread() guarantee
- Cache versioning fails to work in 1.4.1 and higher releases
- Get/SetThreadLocalStorage need to work with AsyncGetCallTrace
- JInternalFrame setDefaultCloseOperation ignored under Motif look-and-feel.
- OBJ_ALLOC event deadlock between VMThread and Finalizer thread
- VM crash when HeapDump requested
- Util buffer cache uses wrong release strategy
- Need general-purpose way to dispatch object invocations on Java GUI thread
- Crash in OopFlow::build_oop_map
- [mercury] Java Setup menuitem location misleading
- Update cacerts file with GeoTrust root certs
- extra pings to server if WeakReferenced CachedJarLoaders gc'ed
- Size of sliders in GTK L&F larger than original
- Open/Closing buttons on split panes are very small
2003-10-29 22:18:54 +00:00
jschauma
168b1a5b7b Apparently, as wiz found out, Sun released a new version of their 1.4.2 JDK,
aptly called 1_4_2_01, or, as we call it, sun-jdk14-2.1.
Bugs fixed in this release, according to http://java.sun.com/j2se/1.4.2/ReleaseNotes.html
- DPI setting not supported in GTK L&F
- j2re-1_4_2-iftw.exe installer has problems if IE proxy config is incorrect
- enable JavaUpdate in 1.4.2_01
- Remove \r\rn characters from Balloon Tip text
- JavaUpdate shows 'Java Update not completed' message when reboot is accepted
- Can't input character into the applet text field when doing the applet demo
- Random date/time attributes produced in jars through unpack breaks Java Update
- No warning/error messages if patching fails through incremental update
- The auto download URL in Mantis FCS demo is not correct.
- Trigger installer to reboot if Sun VM is running in IE during Java Update
- Java Update tab should be hidden from non-administrative users
- Web bundle installer fails to install if proxy requires authentication
- Installer needs a more explicit message than "creating jar files"
- Updated PhoneHome behavior for consumers
- Need to update java logos in Java2Demo
- Upgrade from 1.4.2 to 1.4.2_01 & uninstall leaves JavaUpdate registry entries
- JavaScript, wrong url for auto-install
- 1.4.2_01 HTMLConverter refers to the wrong default autodl URL
- jre 1.4.2_01, Fr, computer needs to be rebooted dialog is too long
- jre 1.4.2_01, It, string 'Finishing installation...' is too long
- j2sdk 1.4.2_01, ja, extra '\' character in the installshield
- FloatingDecimal throws an assertion error with -enablesystemassertions flag.
2003-08-26 21:02:52 +00:00
jschauma
973c1d9c96 Note that one needs procfs mounted with the 'linux' option, too. 2003-08-13 15:22:14 +00:00
jschauma
25af0e9fdd Update sun-j*14 to Sun 1.4.2. This version of the JDK requires a
-current kernel from at least 2003-08-09.  Previous 1.4.1 versions
never really worked all that well and needed special kernel options
as well as a -current kernel from that date, so updating to 1.4.2
is better than keeping both.

A complete list of changes from previous 1.4 JDKs is available at
http://java.sun.com/j2se/1.4.2/changes.html
2003-08-13 03:29:53 +00:00
grant
3c2dc5d707 wrap lines to <= 75 2003-08-11 01:25:48 +00:00
grant
c3190e319a this stuff is NetBSD-specific, and not needed on Linux, Solaris, or
likely any other platform, so move it to the platform specific
MESSAGE for NetBSD.
2003-08-11 01:24:11 +00:00
christos
7c00d11c42 Say what will fail, and state clearly that this needs a current kernel. 2003-08-10 23:59:55 +00:00
jschauma
36879bce70 Tell users to compile their kernel with
makeoptions	TEXTADDR=d0100000
options		KERNBASE_LOCORE=0xd0000000
options		COMPAT_LINUX

so they can use the JDK.  Pointed out by Christos.
2003-08-10 23:23:26 +00:00
jschauma
4e94bdfca0 Update sun-j*14 to latest version 1.4.1_04 using patches provided by
Tyler R. Retzlaff in PR pkg/22429.
A complete list of changes is available at
http://java.sun.com/j2se/1.4.1/ReleaseNotes.html but appears to consist of
two bug fixes:
- URLConnection openConnection with setUseCaches(true) fails (jpg, gif)
- Java webcams does not work on JRE1.4+
2003-08-10 22:28:21 +00:00
jschauma
57f88ccd4b Update sun-j*14 to version 1.4.1_03. Changes since _02 are numerous and
can be found at http://java.sun.com/j2se/1.4.1/ReleaseNotes.html.
2003-06-23 13:50:56 +00:00
jschauma
a9d8309be6 Update sun-jdk14 and sun-jre14 to 1.4.1_02. Who knows what's new in this. 2003-03-17 18:29:58 +00:00
hubertf
193dea58cb improve download instructions 2003-02-13 01:19:07 +00:00
jlam
30d00c3cf8 Bump PKGREVISIONs for:
lang/blackdown-jdk13
	lang/jdk
	lang/sun-jdk13
	lang/sun-jdk14

Create a symlink from ${JAVA_HOME} to ${JAVA_HOME}/jre so that the proper
JDK hierarchy is found.  This addresses PR 20269 by Todd Vierling
<tv at pobox dot com>.  This makes misc/openoffice-linux find the Java2
installation again.
2003-02-11 04:23:14 +00:00
jlam
86a0e7498a Update sun-jre14 and sun-jdk14 to 1.0.1. These are bug fix releases from
Sun for JDK 1.4.1.  Pkgsrc changes include noting that some of the installed
files are config files and using bsd.pkg.install.mk to handle the file
copying and directory handling, and using a more scalable method to remove
files shared between the JRE and JDK during the JDK installation.  Also,
the JDK 1.4.x series are now installed into ${LOCALBASE}/java/sun-1.4 so
that future updates of this package won't require a new JDK directory.

This closes PR 19853 by FUKAUMI Naoki <naoki at fukaumi.org>.
2003-01-29 11:13:28 +00:00
jlam
f3a5c9ced2 Default to a build dependency as usually packages that need Java will only
need a full dependency on the JRE, not the JDK.
2002-10-13 08:19:54 +00:00
jlam
5c4953978d Add buildlink2.mk files for use by other package Makefiles. Each JVM
buildlink2.mk file creates a public variable "BUILDLINK_JAVA_PREFIX.<pkg>"
that may be used as the JAVA_HOME for that package.
2002-10-13 07:51:34 +00:00
jlam
ff8f367197 * Use buildlink2.
* Minor improvements to the package Makefiles.
* Correct the PLIST.
2002-10-13 07:45:30 +00:00
jlam
b24f715c50 Cosmetic changes to MESSAGE files for JVMs for readability. 2002-10-13 07:29:32 +00:00
wiz
e8817c9088 Complete standardization of messages according to latest pkglint. 2002-09-24 12:29:55 +00:00
jschauma
5c042a9ddf These packages are available for Linux and NetBSD-1.6*-i386,
not only Linux and -current. (Pointed out by zuntum.)
2002-08-01 14:40:59 +00:00
schmonz
d27772cc04 Format paragraphs. Normalize indentation. Apostrophize. Spell "your"
using only 7-bit ASCII.
2002-07-28 14:53:24 +00:00
jschauma
a85d411b42 We allow several JDKs/JREs to coexist, installing them in separate
subdirectories under ${PREFIX}/java/ -- Change VI of many.

Thus install this JDK into ${PREFIX}/java/sun-1.4.0 and remove
CONFLICTS with other JDKs/JREs.  Rename package from sun-jdk-1.4.0
to sun-jdk14-0 (avoids conflict with sun-jre13).

Pull in common stuff by including lang/sun-jre14/Makefile.common.

Extend MESSAGE and finally bump PKGREVISION.
2002-07-27 22:21:04 +00:00
jschauma
18037a12c3 Add a message to inform the user that "ulimit -d" needs to be >= 131204
to use this JVM.
2002-05-15 19:11:13 +00:00
jschauma
d3218553b4 Initial import of Sun's JDK 1.4.
This JDK is functional only on NetBSD-1.5Z[A-Z]-i386, NetBSD-1.[6-9]-i386
and Linux-*-i386, thus no upgrade of pksrc/lang/sun-jre13.

Changes over sun-jre13 are too many to list here, please see
http://java.sun.com/j2se/1.4/relnotes.html for details.
2002-05-14 18:00:54 +00:00