summaryrefslogtreecommitdiff
path: root/java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* The BSD patchset for the Sun JDK modeled its thread behavior mostly afterBrian Feldman2004-10-206-3/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* - Upgrade to 1.0.10Herve Quiroz2004-10-202-13/+29
| | | | | | | | | - bsd.java.mk 2.0 compliant - added 'devel' category - Build from source - Install documentation Approved by: glewis (mentor)
* - Update to 1.0 Final (bumped PORTEPOCH in this extend)Herve Quiroz2004-10-203-54/+15
| | | | | | | | - re-enable jikes support - Dynamic pkg-plist - Use JAVALIBDIR Approved by: glewis (mentor)
* Upgrade to 1.2.4.Thierry Thomas2004-10-193-38/+24
| | | | | PR: ports/71728 Submitted by: maintainer.
* Add langspec 2.0, the Java Language Specification.Alex Dupre2004-10-184-0/+39
|
* Add jakarta-commons-httpclient 2.0.2, a package implementing the clientAlex Dupre2004-10-175-0/+79
| | | | side of the HTTP standard.
* . Bump PORTREVISION for the recent fixes.Greg Lewis2004-10-163-3/+3
|
* . Fix the Server VM for gcc 3.4 part 2/2.Greg Lewis2004-10-163-0/+72
| | | | | | | | | | | | | | | | | | | | | 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
* . Fix the Server VM for gcc 3.4 part 1/2.Greg Lewis2004-10-163-0/+114
| | | | | | | | | | | | | | | | | | 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
* . In the ReadChunk() function, change an assert() to be a "test for aGreg Lewis2004-10-163-0/+159
| | | | | | | | | | | | | | | | | | | 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.
* . At least on FreeBSD, O_SYNC and O_DSYNC aren't both definedGreg Lewis2004-10-163-0/+63
| | | | | | | | | | | (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.
* I haven't used this in ages, and have no interest in maintaining it anyDag-Erling Smørgrav2004-10-151-1/+1
| | | | more. Assign to java@FreeBSD.org.
* . Update to 1.5.0 release.Greg Lewis2004-10-146-2970/+3474
|
* Remove extra file from pkg-plist.Jimmy Olgeni2004-10-1212-6/+6
|
* Change BROKEN to IGNORE since the package builds but does not runKris Kennaway2004-09-292-2/+2
| | | | Approved by: portmgr (self)
* - Unbreak port (fixed distfile URL)Herve Quiroz2004-09-201-3/+1
| | | | | Reported by: pointyhat Approved by: portmgr (marcus), glewis (mentor)
* BROKEN on 5.x: Does not compileKris Kennaway2004-09-181-0/+4
| | | | Approved by: portmgr (self)
* BROKEN: UnfetchableKris Kennaway2004-09-181-0/+2
| | | | Approved by: portmgr (self)
* BROKEN: Size mismatchKris Kennaway2004-09-181-0/+2
| | | | Approved by: portmgr (self)
* BROKEN on 5.x: Configure failsKris Kennaway2004-09-181-0/+4
| | | | Approved by: portmgr (self)
* Clarify the legal status of java/eclipse-clay-core: you must read andMark Linimon2004-09-101-3/+10
| | | | | | | | | agree to the company's license requirement before downloading (although the agreement mostly pertains to their software available for purchase). PR: ports/71510 Submitted by: mitsuru at riken dot jp (maintainer) Approved by: portmgr (implicit)
* Fix DOWNLOAD_URL.Herve Quiroz2004-09-092-4/+4
| | | | | Reported by: Ronald Klop <ronald-freebsd8@klop.yi.org> Approved by: portmgr, glewis (mentor)
* Add eclipse-clay-core 1.0.5, a database design toolNorikatsu Shigemura2004-09-035-0/+145
| | | | | | | for the Eclipse development environment. PR: ports-jp/14991 Submitted by: Mitsuru Yoshida <mitsuru@riken.jp>
* Add eclipse-log4e 0.7.6, eclipse plugin to use logger easilyNorikatsu Shigemura2004-09-035-0/+72
| | | | | | | in Java projects. PR: java/71148 Submitted by: SUGIMURA Takashi <sugimura@jp.FreeBSD.org>
* Add eclipse-sqlexplorer 2.2.2, a visual database queryNorikatsu Shigemura2004-09-035-0/+119
| | | | | | | tool for Eclipse. PR: ports/70441 Submitted by: SUGIMURA Takashi <sugimura@jp.FreeBSD.org>
* Add eclipse-checkstyle 3.4.1.0, integrates the Checkstyle JavaNorikatsu Shigemura2004-09-035-0/+116
| | | | | | | code auditor into Eclipse. PR: ports/70146 Submitted by: Jeremy Faulkner <gldisater@gldis.ca>
* Add eclipse-quantum 2.4.1, database access and SQL editorNorikatsu Shigemura2004-09-035-0/+173
| | | | | | | for the Eclipse IDE. PR: ports/70145 Submitted by: Jeremy Faulkner <gldisater@gldis.ca>
* Upgrade eclipse pmd plugin to support eclipse3.Norikatsu Shigemura2004-09-033-52/+95
| | | | | PR: java/71078 Submitted by: Bruno Van Den Bossche <brvdboss@spymac.com>
* . JAVALIBDIR is more appropriate than JAVAJARDIR now we have it.Greg Lewis2004-09-032-4/+4
|
* - Fixed DISTNAME [1]Herve Quiroz2004-09-033-419/+46
| | | | | | | | | | | | | | | | | | | - Use LOCALBASE rather than PREFIX in RUN_DEPENDS - Now bsd.java.mk 2.0 compliant - Use CPIO rather than CP - Use JAVAJARDIR and JAVASHAREDIR - Removed pkg-plist (use dynamic plist and PORTDOCS) - Honor NOPORTDOCS - Honor hier(7): documentation in DOCSDIR and examples in EXAMPLESDIR [2] - Honor "best practices for a Java library" from Porter's handbook, Java section: JARs in JAVAJARDIR. [2] - SIZEify - Added 'mail' category PR: 71235 [1] Submitted by: Rainer Duffner <rainer@ultra-secure.de> [1] Reviewed by: glewis [2] Approved by: glewis (mentor)
* - Fixed DISTNAME [1]Herve Quiroz2004-09-033-102/+40
| | | | | | | | | | | | | | | | - Now bsd.java.mk 2.0 compliant - Use CPIO rather than CP - Use JAVAJARDIR and JAVASHAREDIR - Removed pkg-plist (use dynamic plist and PORTDOCS) - Honor NOPORTDOCS - Honor hier(7): documentation in DOCSDIR and examples in EXAMPLESDIR - Honor "best practices for a Java library" from Porter's handbook, Java section: JARs in JAVAJARDIR. - Added 'devel' category - SIZEify Pointed out by: Rainer Duffner <rainer@ultra-secure.de> [1] Approved by: glewis (mentor)
* . Assume (un)registervm is in LOCALBASE _not_ PREFIX.Greg Lewis2004-09-023-6/+6
| | | | | . Call unregistervm with the VM we registered, not the comment associated with it (as comments should be optional).
* . Assume (un)registervm is in LOCALBASE _not_ PREFIX.Greg Lewis2004-09-011-2/+2
| | | | | . Call unregistervm with the VM we registered, not the comment associated with (as comments should be optional).
* . Assume (un)registervm is in LOCALBASE _not_ PREFIX.Greg Lewis2004-09-011-2/+2
| | | | | . Call unregistervm with the VM we registered, not the comment associated with (as comments should be optional).
* . Assume (un)registervm is in LOCALBASE _not_ PREFIX.Greg Lewis2004-09-011-2/+2
| | | | | . Call unregistervm with the VM we registered, not the comment associated with (as comments should be optional).
* . Assume (un)registervm is in LOCALBASE _not_ PREFIX.Greg Lewis2004-09-011-2/+2
| | | | | . Call unregistervm with the VM we registered, not the comment associated with (as comments should be optional).
* . Assume (un)registervm is in LOCALBASE _not_ PREFIX.Greg Lewis2004-09-011-2/+4
| | | | | | | . Make the comment for the registervm call consistent with the conventional naming scheme and the one in Makefile. . Add missing creation and deletion of %%PREFIX%%/share/doc/java for consistency with other JDK pkg-plists.
* . Assume (un)registervm is in LOCALBASE _not_ PREFIX.Greg Lewis2004-09-011-2/+4
| | | | | | | . Make the comment for the registervm call consistent with the conventional naming scheme and the one in Makefile. . Add missing creation and deletion of %%PREFIX%%/share/doc/java for consistency with other JDK pkg-plists.
* . Update to 1.4.2 GA.Greg Lewis2004-09-013-47/+112
| | | | | . Make DISTNAME and COMMENT version change resistant. . Prefix the comment passed to registervm with "Linux-" for consistency.
* . Consistently prefix the comment in the call to registervm with "Linux-"Greg Lewis2004-09-011-1/+1
| | | | for Linux JDKs.
* . Add missing creation and deletion of %%PREFIX%%/share/doc/java forGreg Lewis2004-09-011-2/+4
| | | | | consistency with other JDK pkg-plists. . Add a comment to the registervm call (also for consistency)
* . Assume (un)registervm is in LOCALBASE _not_ PREFIX.Greg Lewis2004-09-011-2/+2
| | | | | . Call unregistervm with the VM we registered, not the comment associated with (as comments should be optional).
* . Add missing calls to registervm and unregistervm.Greg Lewis2004-09-011-0/+4
| | | | | . Add missing creation and deletion of %%PREFIX%%/share/doc/java for consistency with other JDK pkg-plists.
* . Add a missing call to registervm.Greg Lewis2004-09-011-1/+4
| | | | | . Add missing creation and deletion of %%PREFIX%%/share/doc/java for consistency with other JDK pkg-plists.
* Fix permissions issue caused by last commit.Herve Quiroz2004-09-011-0/+2
| | | | Approved by: glewis (mentor)
* - Now bsd.java.mk 2.0 compliantHerve Quiroz2004-09-012-15/+10
| | | | | | | | | | - Cosmetic changes: removed some unnecessary variable - Use CPIO rather than MKDIR/INSTALL_DATA - Added 'textproc' category - Use my FreeBSD address for maintainership purposes - Removed my name from pkg-descr Approved by: glewis (mentor)
* - Fixed MASTER_SITE_SUBDIR (binary and source releases are the same so this isHerve Quiroz2004-09-013-32/+21
| | | | | | | | | | | | | | not really a fix) - Now bsd.java.mk 2.0 compliant - Cosmetic changes: ECHO_CMD -> ECHO_MSG and removed unnecessary variables - Use CPIO rather than MKDIR/INSTALL_MAN/INSTALL_DATA - Removed JAR file for pkg-plist - Added 'devel' category - Removed unnecessary 'post-install' target - Updated homepage in pkg-descr - Use my FreeBSD address for maintainership purposes Approved by: glewis (mentor)
* - Use MASTER_SITE_APACHEHerve Quiroz2004-09-012-20/+16
| | | | | | | | | | | | - Now bsd.java.mk 2.0 compliant - Cosmetic changes: ECHO_CMD -> ECHO_MSG and removed unnecessary variables - Use CPIO rather than MKDIR/INSTALL_MAN - Removed pkg-plist - Added 'devel' category - Removed unnecessary 'post-install' target - Use my FreeBSD address for maintainership purposes Approved by: glewis (mentor)
* - Build from sourceHerve Quiroz2004-09-014-24/+23
| | | | | | | | | | | | | | - Use USE_ANT - Now bsd.java.mk 2.0 compliant - Cosmetic changes: ECHO_CMD -> ECHO_MSG and removed unnecessary variables - Use CPIO rather than MKDIR/INSTALL_MAN - Removed pkg-plist - Install LICENSE.txt - SIZEify (!) - Use my FreeBSD address for maintainership purposes - Removed my name from pkg-descr Approved by: glewis (mentor)
* add classpath 0.10Ying-Chieh Liao2004-09-015-0/+60
| | | | A GNU project to create free core class libraries