Update sun-j*4 to 14-2.6 (aka sun-jdk/jre version 1.4.2_06).
Bugs fixed since last according to http://java.sun.com/j2se/1.4.2/ReleaseNotes.html:
- jResourceBundle holds ClassLoader references using SoftReference (not weak)
- enablev006: JVMPI_EVENT_ OBJECT_ALLOC request crashes Server VM
- Update cacerts with new VeriSign ca certs
- (so) Selector.select() throws CancelledKeyException
- Internal Error occurs during offet conversion of byte code in rewrite/relocate
- SEGV in MapLoops test
- REGRESSION 1.4: PropertyDescriptors do not find the most specific methods
- REGRESSION 1.5: Introspector.getBeanInfo throws NPE if a primitive type is passe d
- CMS: vtest died with tiger b26
- JVM crashes during deoptimization phase
- CMS thread/SLT deadlock problem
- Unable to create Logger during JVM shutdown
- 64bit j2sdk1.4.2_01 and j2sdk1.4.2_03 dump core with oracle 64bit jdbc oci driver
- Cannot set different runtime parameters for different 1.4.2_x versions
- "java_g -version" dies on an assertion on RH9.0 and RHEL 3.0
- 1.4.2_05: 3 JCK tests failing with -Xcheck:jni flag on Linux
- RH Enterprise 3 and Suse Ent 8 server / desktop asian font properties needed
- Clent VM crash while compiling a large JSP generated method
- NullPointerException in reading an rtf-file into a javax.swing.text.rtf.RTFEdito
- RTFEditorKit wrongly parses rtf if fontname has unicode characters
- 1.4.2_04 Server VM - C2 crash in PhaseCFG::ScheduleLate on Solaris
- bf) Direct memory cannot be unreserved while reserving thread sleeps
- Hotspot compiler changes behaviour of program
- VM segv's running jvmti/jvmpi profiler
- J2SE 1.4.2 cannot display certain awt components in Asian characters in RH2.1 AS
- exception thows from jconsole when run any GUI which works fine with jdk1.4.x
- Can not eliminate implicit null checks for method invocations based on profile
- Regression 1.4.2_06b1 4937429 failing. cacerts in javaws and security dirs diffe
- /api/javax_swing/ SwingUtilities/descriptions.html fails for JCK14a, 1.4.2_06b1
- Regression:4683022 fails for 1.4.2_06-b01
- REGRESSION: ResourceBundle.getBundle(String, Locale) is broken in jdk 1.4.2_05
for quite some time after the ${PREFIX}/java migration. Since pkgsrc now
has proper symlink handling in pkg_install, this can now be a simple
PLIST entry rather than an @exec/@unexec pair.
Changes and bugs fixed since 1.4.2_04 according to
http://java.sun.com/j2se/1.4.2/ReleaseNotes.html:
- NullPointerException with no stack trace
- java.util.zip.ZipFile. getInputStream(name). available() returns incorrect value
- Codepage aliases for EURO codepages missing
- JCK1.4a-runtime api/java_awt/interactive /FrameStateTests.html #FrameStateTests fa
- new warning "finally cannot complete normally" should not be enabled by default
- Intermittent assertion failure running appserver 7 with mantis-beta on solsparc
- Assertion as (peek() == null()), "what's left behind is null" at parseHelper.cpp
- Introspector doesn't synchronize its caches
- (cs) Default charsets must be hardwired
- default CompilerThreadStackSize computation too small in 64bit sparc VM
- CMS/Train: soft refs not cleared as intended
- demo: FileChooserDemo: ShowPlainJFileChooser doesn't open empty dir correctly
- CMS: CL options MaxTenuringThreshold, MaxNewSize and SurvivorRatio are ignored
- (bf) Allocating direct buffers causes OutOfMemoryError
- JTable: Weird column resizing behavior in auto resize modes
- Hard coded version string in ConverterHelp*.java
- JAVA program hangs with XInitThreads call with JDK1.4, but works with JDK1.3.1
- CTW assertion at type.hpp, 349
- deep recursion into PhaseIdealLoop::spinup: atg core dumped with fastdebug build
- Cannot deploy Java Web Start 1.4.2 in enterprise deployment
- JDK 1.4.2 LDAP Library leaves worker threads orphaned
- Japanese characters not converting correctly from Codepage 930 to Codepage 943
- Win: Server VM crashes with test/java/util/Date/ DateGregorian CalendarTest.java
- JVM Server Crash on Solaris
- JVM crash with error "Fatal: null exception in compiled code"
- VM/C2 crashes when running a java program on amd64 (and sparc v9)
- Printing not working on mercury b12 with jdk 1.4.2_04 Build 01
- AMD64: Hotspot crashes with Suse 2.4.21 beta kernel
- JIT Compiler crashes c2/opto/server VM on 1.4.2 ( Windows + Solaris )
- Only in 1.4.2, URLEncoder outputs exception in Japanese locale
- Same jni code causes jvm to crash after upgrading from 141 to 142_03
- Incompatibility in https behaviour between 1.3.1 (with jsse 1.0.3) and 1.4
- [1.4.2_05] cjk font.properties files for quicksilver needs to be updated
- C2 compiler crash in const Type*TypeInstPtr::xmeet
- printing text using Courier New bold results in incorrect spacing
- 1.4.2_03-b02 Crashes during Concurrent collections
- Java 1.4.2_03 C2 Compiler Crash with SIGBUS on Solaris
- Frame. setExtendedState(int state) may work incorrect with misleading WM's
- l10n for 4938868/4912570: GTK L&F: Behaviour in JFileChooser unlike mercury
- 1.4.2 certificate dialog "Scary text"
- 1.4.2_03 client JIT compiler optimization causing JVM to core
- 142_04: wrong copyright year in about dialog on HtmlConverter
- Sun JDK 1.4.2 JWS does not recognize OS architecture "x86"; not compatible with
- compute_compiled _exc_handler() called with pending exception
- 1.4.2_04 fails to recognize the jar cache contents for versions <_04
- VM crashes on deoptimization
- Korean: Java Web Start-add entry, buttons are stuck to the bottom of the page
- JVM 1.4.2_04 Linux SLES8 Itanium crash
- [1.4.2_x] some AWT components show garbled characters using font.properties for
- Object integrity maybe changing using ParallelGC when a Full GC occurs
- REGRESSION: test java/nio/charset/coders/ IsSupported.java fails,1.4.2_05b01
- problem affecting xalan 2.4.1 as supplied with jdk 1.4.2
- REG: Text not rendered properly on vertical progressbar for some locale strings
packages now install several wrappers under ${PREFIX}/bin to run the
binaries installed under ${JAVA_HOME}/bin easily. While here, drop
the direct modification of PREFIX. Bump PKGREVISION to 1.
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"
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...)
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
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
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.
-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
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+
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.
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>.
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.
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.