1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/java/jdk14/files
Greg Lewis 7298661664 . Fix the Server VM for gcc 3.4 part 2/2.
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
2004-10-16 17:16:40 +00:00
..
cacerts . Update to 1.4.2 patchset 6. 2004-01-14 21:21:53 +00:00
disable-ipv6.patch 1. Switch 5.x version of jdk14 back to libc_r as default threading library. 2004-01-28 14:00:27 +00:00
patch-awt_Component.c . Set LATEST_LINK [1] 2004-03-05 13:43:41 +00:00
patch-awt_fontmanager_fontObject.cpp . In the ReadChunk() function, change an assert() to be a "test for a 2004-10-16 17:00:27 +00:00
patch-awt_fontmanager_t2kScalerContext.cpp . Fix the build for gcc 3.4. 2004-08-12 21:54:01 +00:00
patch-common::Defs-bsd.gmk
patch-control::common::Defs-bsd.gmk Update to 1.4.2p5. 2003-11-11 16:16:20 +00:00
patch-deploy::Makefile 1. Switch 5.x version of jdk14 back to libc_r as default threading library. 2004-01-28 14:00:27 +00:00
patch-font.properties.zh_TW.bsd . Set LATEST_LINK [1] 2004-03-05 13:43:41 +00:00
patch-interpreter_bytecodes.hpp . Fix the Server VM for gcc 3.4 part 2/2. 2004-10-16 17:16:40 +00:00
patch-interpreter_shared.hpp . Fix the Server VM for gcc 3.4 part 1/2. 2004-10-16 17:12:22 +00:00
patch-io_io_util.h . At least on FreeBSD, O_SYNC and O_DSYNC aren't both defined 2004-10-16 16:58:12 +00:00
patch-native::util.c . Check the return value of stat(2) when trying to read the javaws 2004-01-17 07:11:12 +00:00
patch-plugin_ns600_nscore.h . Fix the build for gcc 3.4. 2004-08-12 21:54:01 +00:00
patch-plugin_ns610_nscore.h . Fix the build for gcc 3.4. 2004-08-12 21:54:01 +00:00
patch-plugin::common::config.gmk Update to 1.4.2p5. 2003-11-11 16:16:20 +00:00
patch-plugin::ns6::Makefile . Update to 1.4.2 patchset 6. 2004-01-14 21:21:53 +00:00
patch-vm::os_bsd.cpp 1. Switch 5.x version of jdk14 back to libc_r as default threading library. 2004-01-28 14:00:27 +00:00
pkg-install.in
testos.c Update to 1.4.2p5. 2003-11-11 16:16:20 +00:00