| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
dump the archive with the Server VM.
Notes:
svn path=/head/; revision=142042
|
|
|
|
|
|
|
|
|
|
|
|
| |
up VM load times.
See http://java.sun.com/j2se/1.5.0/docs/guide/vm/class-data-sharing.html
Suggested by: "Ronald Klop" <ronald-freebsd8@klop.yi.org>
Approved by: phantom (maintainer)
Notes:
svn path=/head/; revision=141916
|
|
|
|
|
|
|
|
|
|
| |
somehow.
Approved by: maintainer (phantom)
Approved by: portmgr (krion)
Notes:
svn path=/head/; revision=140759
|
|
|
|
| |
Notes:
svn path=/head/; revision=140694
|
|
|
|
|
|
|
|
|
|
|
| |
encoding. It is even easier to do the same thing to jdk14 and jdk13,
where only one charset-interface exists (jdk15 has two with the old one
considered obsolete).
Approved by: Alexey Zelkin (maintainer)
Notes:
svn path=/head/; revision=140315
|
|
|
|
|
|
|
|
|
| |
under 5.x which was running fine without it.
Approved by: phantom
Notes:
svn path=/head/; revision=137870
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in or below the current working directory. Fixes a security problem with
jar(1).
This fix may change to be compatible with whatever fix Sun applies when
they release the next version of 1.5.
. Bump PORTREVISION for this fix.
Security: http://vuxml.FreeBSD.org/18e5428f-ae7c-11d9-837d-000e0c2e438a.html
Reviewed by: maintainer timeout
Notes:
svn path=/head/; revision=135102
|
|
|
|
|
|
|
|
|
|
|
| |
. /etc/localtime is a symlink.
. /etc/localtime contains a time zone not recognised by the JDK.
Submitted by: Kurt Miller <truk@optonline.net>
Reviewed by: maintainer timeout
Notes:
svn path=/head/; revision=135101
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
hence the path for the shared libraries doesn't always work on FreeBSD.
It definitely fails on FreeBSD 4.11 and FreeBSD 6-CURRENT under the
tested environments. In fact, the dladdr(3) man page even warns of
these problems. While there is work under way to fix this, it isn't
available yet.
Given that situation, switch to trying /proc/curproc/file, which is
similar to what Linux does, and if that fails, drop back to checking
argv[0] and iterating through $PATH as in jdk 1.4. Both these methods
work correctly in testing.
Reported by: das
Reviewed by: maintainer timeout
Notes:
svn path=/head/; revision=135100
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
unfortunately sending it to stdout. When using such a JDK to bootstrap
this line ends up at the head of generated classes, leaving them
uncompilable. Add a filter to the class generation to strip out such
lines with egrep.
A similar patch is present in the jdk14 port and prevents a semi-common
class of error reports.
Approved by: phantom (maintainer)
Notes:
svn path=/head/; revision=132777
|
|
|
|
|
|
|
|
|
|
| |
freeze.
. Fix a typo and improve some grammar in some user output.
Approved by: phantom (maintainer)
Notes:
svn path=/head/; revision=132768
|
|
|
|
|
|
|
|
|
| |
(which FreeBSD 4.x lacks).
Approved by: phantom (maintainer)
Notes:
svn path=/head/; revision=132721
|
|
|
|
|
|
|
|
|
|
| |
files that are generated by the post-install script (which runs after
the dynamic packing list has been generated).
Approved by: portmgr (krion), phantom (maintainer)
Notes:
svn path=/head/; revision=132124
|
|
|
|
|
|
|
|
| |
PR: 77725
Submitted by: Anthony Ginepro <anthony.ginepro@laposte.net>
Notes:
svn path=/head/; revision=131814
|
|
|
|
|
|
|
|
|
|
| |
macro. This will be in patchset 2.
PR: 77162
Submitted by: phantom
Notes:
svn path=/head/; revision=131813
|
|
|
|
|
|
|
|
|
|
|
| |
This ensures that this command is run before the files in the package
are deleted (which is necessary for it to correctly delete the symbolic
links created by registervm).
Approved by: phantom (maintainer)
Notes:
svn path=/head/; revision=129191
|
|
|
|
| |
Notes:
svn path=/head/; revision=127599
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
family -- first public patchset of native Sun JDK 1.5.0 port.
Most valuable addition of this patchset is native amd64 support.
And special thanks goes to Daniel Seuffert <ds@freeBSD.org> for
making it possible by providing amd64 hardware.
This patchset was tested on following configurations: i386/4.10,
i386/5.3, amd64/5.3. 5.3-RELEASE support is quite strong and
shown no huge visible problems over last week.
But even mentioning above note, keep in mind -- THIS IS ALPHA
PATCHSET and suitable for testers/developers ONLY!
Known issues are including (but for sure not limited to):
. Browser plugin support is missing
. JVMTI, JDWP and JMX are not tested yet
. FreeBSD i386/4.10 support is suffering from hidden memory
allocation failres (ideas and patches are welcome)
NOTE ABOUT BOOTSTRAPING: It's possible to bootstrap jdk 1.5.0 using
jdk 1.4.2 (either native or linux one). There's no need to have
java/linux_jdk15 installed and working.
Supported by: FreeBSD Foundation
Notes:
svn path=/head/; revision=126909
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a generated file will be overwritten with a warning, causing the
build to fail. There is a check for linprocfs in pre-build, but it
seems as though this problem can somehow trigger anyway, based on
semi-regular reports to the mailing lists.
PR: 74999
Approved by: phantom
Notes:
svn path=/head/; revision=124269
|
|
|
|
|
|
|
|
|
| |
. Fix a permissions problem with the plugins directory.
Approved by: phantom (maintainer)
Notes:
svn path=/head/; revision=124268
|
|
|
|
|
|
|
|
|
| |
. Bump PORTVERSION.
Submitted by: Kurt Miller <truk@optonline.net>
Notes:
svn path=/head/; revision=123058
|
|
|
|
|
|
|
|
|
|
| |
vulnerabilities discussed in:
http://sunsolve.sun.com/search/document.do?assetkey=1-26-57591-1
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1029
Notes:
svn path=/head/; revision=122308
|
|
|
|
|
|
|
|
|
| |
well as EBUSY with libkse on FreeBSD 5.x.
Inspired by: green
Notes:
svn path=/head/; revision=120628
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
existing the Solaris base, and similarly to what happened with NSPR, made
a bad assumption on undefined behavior. This broke locking in various
places in Java, for example, causing the the debugging support to be
totally broken. It is worth someone who knows the Java codebase taking
a look to see what other things could have been broken by this on
FreeBSD 5.x+.
The assumption is that pthread_mutex_trylock(3) on a default-type
mutex will fail with EBUSY. This assumption is wrong for our
libpthread, which returns EDEADLK if the owner thread is trying to
acquire the mutex again with trylock. The behavior of performing a
locking operation on a self-locked default-type mutex is explicitly
undefined for pthread_mutex_lock(3).
The POSIX specification is still not very clear. It defines
pthread_mutex_trylock(3) in terms of pthread_mutex_lock(3) yet
does not say what the defined behavior should be for a self-locked
pthread_mutex_trylock(3) for any of the various mutex types, so it is
ambiguous whether the result is clearly undefined or clearly to return
EBUSY.
It is a one line change whether or not to make libpthread return
EDEADLK in this case, where it seems that most implementations do not.
Reference: http://www.opengroup.org/onlinepubs/009695399/functions/pthread_mutex_lock.html
Notes:
svn path=/head/; revision=119887
|
|
|
|
| |
Notes:
svn path=/head/; revision=119610
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The HotSpot code (ab)uses named enums as ints in a number of places.
The problem with this is that according the the C++ spec, the compiler
(essentially) only needs to use an integral type wide enough to hold
the values defined in the enum. Earlier versions of gcc appear to have
just used an int whether they could have got away with a narrower type
or not, hence the code worked as expected. gcc 3.4 now appears to
implement this part of the spec, so using an enum blindly as an int
causes various problems due to overflow.
In this case the enum, Bytecodes::Code, appears to be a genuine enum,
its just assumed to be wide enough to hold an arbitrary int in various
places in the code. The correct fix would be to track down all those
places in the code and fix them. Since there are quite a lot of these
places and 5.3 is close to release for now we just add a value to the
enum set to INT_MAX, forcing the compiler to use at least an int for the
type.
Sleuth work, discussion and code suggestions: peadar
Notes:
svn path=/head/; revision=119609
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The HotSpot code (ab)uses named enums as ints in a number of places.
The problem with this is that according the the C++ spec, the compiler
(essentially) only needs to use an integral type wide enough to hold
the values defined in the enum. Earlier versions of gcc appear to have
just used an int whether they could have got away with a narrower type
or not, hence the code worked as expected. gcc 3.4 now appears to
implement this part of the spec, so using an enum blindly as an int
causes various problems due to overflow.
This case is particularly bogus since the enums are merely to define
a named integral type within a class (VMReg::Name doesn't even have
any values enumerated in the declaration). So, convert these two
enums to simply be typedef'ed ints.
Sleuth work, discussion and code suggestions: peadar
Notes:
svn path=/head/; revision=119608
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
. Fix some warnings regarding formats in debugging printf's.
Notes:
svn path=/head/; revision=119606
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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 if they
aren't defined.
Notes:
svn path=/head/; revision=119604
|
|
|
|
|
|
|
|
| |
. Call unregistervm with the VM we registered, not the comment associated
with it (as comments should be optional).
Notes:
svn path=/head/; revision=117883
|
|
|
|
|
|
|
|
|
|
|
|
| |
override the MAKEFLAGS ARCH value in the main HotSpot Makefile. Fix
this by passing in a blank MAKEFLAGS up front so there is nothing to
(try to) override.
Submitted by: truckman
Requested by: kris
Notes:
svn path=/head/; revision=116566
|
|
|
|
|
|
|
|
|
| |
PR: 69853
Submitted by: Jake Hamby <jhamby@anobject.com>
Approved by: phantom (maintainer)
Notes:
svn path=/head/; revision=116077
|
|
|
|
| |
Notes:
svn path=/head/; revision=104735
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
. Fix rare NULL pointer de-reference bug in plugin code [2]
. Use better chinese fonts [3]
. Bump PORTREVISION
Requested by: kris [1]
Submitted by: Georg-W. Koltermann <gwk@rahn-koltermann.de> [2],
Clive Lin <clive@tongi.org> [3]
Notes:
svn path=/head/; revision=103016
|
|
|
|
|
|
|
| |
(Part 2)
Notes:
svn path=/head/; revision=99920
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We switched FreeBSD-5.x port to libkse as default threading library before
releasing of patchset 6, but users who has most of stuff linked against
libc_r and attempted to use jdk linked against libkse got into local hell
of threading libraries mix. So, rollback to libc_r by default and add
PTHREAD_LIBS support for this port.
IMPORTANT: In order to use libkse as threading library for jdk14 you
have to use rtld's libmap feature or recompile your ports stuff (like
mozilla) with libkse.
NOTE: libkse still has issues with java debug support, so if you're going
to use debuging (JVMDI) stuff - leave with libc_r for now.
2. Disable IPv6 support by default. Unfortunatelly due to security reasons
IPv4-to-IPv6 addresses mapping is disabled by default in FreeBSD-5.x, so
those who would like to use Java Networking stuff had to manually
enable it. To make jdk14 port more user-friendly IPv6 is disabled now
on compile time. Those who need this stuff enabled have to use WITH_IPV6
compile time option.
3. Add MINIMAL compile option. If this option is used to build
jdk14 port then plugin, javaws and demos stuff will not be installed
and/or packaged. Also (as noted in [5]) X11 runtime dependancy will
not be registered into built package.
4. Strip runtime depends of jdk14 port. There's no need to require open-motif
to be runtime depends since libXm is staticly linked into libawt.so.
5. Make X11 runtime dependancy conditional (via urwfonts) in !WITHOUT_PLUGIN
case only. This should affect only prebuilt package users: there's no
need to install X11 libraries if you're going to use non-GUI stuff only
(i.e. tomcat or jboss)
6. Add ${LOCALBASE}/lib to the deafult search path for JNI libraries.
7. Bump PORTVERSION
Reported by: many [1]
Submitted by: glewis [6]
Requested by: marcus [6]
Notes:
svn path=/head/; revision=99318
|
|
|
|
| |
Notes:
svn path=/head/; revision=99317
|
|
|
|
| |
Notes:
svn path=/head/; revision=98863
|
|
|
|
| |
Notes:
svn path=/head/; revision=98793
|
|
|
|
| |
Notes:
svn path=/head/; revision=98788
|
|
|
|
|
|
|
|
|
|
|
| |
configuration file and behave appropriately if its -1. Fixes a SEGV
caused by ignoring the return value and just carrying on.
. Bump PORTREVISION.
PR: 61392
Notes:
svn path=/head/; revision=98375
|
|
|
|
|
|
|
|
|
|
|
|
| |
. Install the cacerts file from Sun's 1.4.2_03 release to avoid some
problems associated with expired root certificates described in:
http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsalert%2F57436
Hopefully not objected to by: phantom
Notes:
svn path=/head/; revision=98174
|
|
|
|
|
|
|
| |
linux-sun-jdk.
Notes:
svn path=/head/; revision=95931
|
|
|
|
| |
Notes:
svn path=/head/; revision=94172
|
|
|
|
|
|
|
| |
Reported by: Nelis Lamprecht <nelis@brabys.co.za>
Notes:
svn path=/head/; revision=93816
|
|
|
|
|
|
|
|
|
| |
installed. Previously BUILD_DEPENDS was not set correctly.
Add all possible choices for 1.4.1/1.4.2 JDKs while auto-detecting.
Notes:
svn path=/head/; revision=93811
|
|
|
|
|
|
|
|
|
| |
It was last minute change and since this tool (unpack) is not used while
building jdk14 port, I did not paid enough attention to test this change
at -CURRENT system. Sorry.
Notes:
svn path=/head/; revision=93809
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Important changes since last patchset:
. jdk14 port is now JDK 1.4.2 based!
. JavaWS distributing with jdk
. Runway problem fixed (fork() is no more problem for java apps)
. Sound support updated
. IPv6 support overhauled
. Drag'n'Drop support fixed (require open-motif mods)
As for now there's no more outstanding issues with this port!
FreeBSD port is also got a important of changes:
. optimized setup is now default (to get debuging bins/libs use WITH_DEBUG)
. bootstrap jdk autodetection. If WITH_LINUX_BOOTSTRAP is not set, then
it checks all known to work JDKs installed. If nothing found, forces
to install of linux-sun-jdk14
. Because of above change there's no NATIVE_BOOTSTRAP option anymore. If
native jdk14 is installed, it will be used by default.
Notes:
svn path=/head/; revision=93743
|
|
|
|
|
|
|
|
| |
PR: java/58902
Reported by: Linh Pham <question@closedsrc.org>
Notes:
svn path=/head/; revision=93646
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
processes problem for people who use Runtime.getRuntime.exec() method
and related things. Least five people reported that this patch fixed
problem for them.
IMPORTANT: I'd also suggested to all jdk14 users who runs FreeBSD 4.x
and use libc_r at FreeBSD 5.x to upgrade.
. Stop removing "src.zip" from installation bundle. Since -p4 it builds
correctly and there's no reason to forbit people to use it.
. Bump PORTREVISION.
Notes:
svn path=/head/; revision=92540
|