Commit graph

40 commits

Author SHA1 Message Date
jschauma
55eb6e7e2f Tell people to fetch the JCE file if necessary.
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
2004-10-14 14:32:32 +00:00
tv
85570525d2 Fix the "jre" symlink in the various Sun-based JDK packages; it was wrong
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.
2004-10-11 14:07:36 +00:00
tv
136f803cfe Expand the JAVA_WRAPPERS definitions for the sun-j{re,dk}* packages.
This adds many commonly used tools to $PREFIX/bin, such as keytool,
rmiregistry, rmic, idlj, etc.
2004-10-05 22:09:23 +00:00
wiz
f1d962502c Unused. 2004-07-02 22:13:09 +00:00
jschauma
0240058a5d Update sun-jdk14 and sun-jre14 to latest version 1.4.2_05
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
2004-07-02 14:40:21 +00:00
wiz
c05bb42d1e Add appropriate CPPFLAGS and PASSTHRU_DIRS variables so that packages
depending on this one can find the header files. Noted broken by snj.
2004-07-02 12:51:57 +00:00
jmmv
337124ea4b Convert sun-{jre,jdk}14 to use java-env.mk. This implies that the
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.
2004-05-22 21:32:34 +00:00
xtraeme
43f76bf354 bl3ify 2004-05-05 17:20:29 +00:00
jmmv
f5284eb55f As this needs a procfs mounted with the linux option, suggest /emul/linux/proc
as the mount point, instead of /proc.  This way, one can mount a regular (i.e,
w/o linux compatiblity) procfs under /proc.
2004-04-02 10:12:33 +00:00
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