diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2004-12-07 20:23:40 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2004-12-07 20:23:40 +0000 |
commit | 83a5a82b19e0ea2ffb097b1d19bb12e042d9118d (patch) | |
tree | d24f71821c1d8f08c61a53933211b11b6470b121 /java/jdk13/files/patch-bytecodes.hpp | |
parent | . Run the pkg-install script correctly. (diff) |
. Backport some fixes from 1.4 for the HotSpot Server VM when compiled
under gcc 3.4. In particular, this fixes some places where an enumerated
type is assumed to be the same width as an int (which the standard
doesn't guarantee and gcc 3.4 now enforces).
For full details, see the log for the jdk14 equivalent changes.
Notes
Notes:
svn path=/head/; revision=123411
Diffstat (limited to '')
-rw-r--r-- | java/jdk13/files/patch-bytecodes.hpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/java/jdk13/files/patch-bytecodes.hpp b/java/jdk13/files/patch-bytecodes.hpp new file mode 100644 index 000000000000..003ab81d3314 --- /dev/null +++ b/java/jdk13/files/patch-bytecodes.hpp @@ -0,0 +1,22 @@ +$FreeBSD$ + +--- ../../hotspot1.3.1/src/share/vm/interpreter/bytecodes.hpp 11 Jul 2001 21:33:21 -0000 1.1.1.1 ++++ ../../hotspot1.3.1/src/share/vm/interpreter/bytecodes.hpp 22 Nov 2004 17:19:42 -0000 +@@ -14,6 +14,7 @@ + + // CopyrightVersion 1.2 + ++#include <limits.h> + + // Bytecodes specifies all bytecodes used in the VM and + // provides utility functions to get bytecode attributes. +@@ -279,7 +280,8 @@ + // Platform specific JVM bytecodes + #include "incls/_bytecodes_pd.hpp.incl" + +- number_of_codes ++ number_of_codes, ++ WIDTH_HINT = INT_MAX + }; + + private: |