FreeBSD Bugzilla – Attachment 149585 Details for
Bug 194988
java/openjdk8 doesn't compile on FreeBSD 8.4
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Port patch
patch-hotspot_src_share_vm_classfile_javaClasses.cpp (text/plain), 650 bytes, created by
Jimmy Kelley
on 2014-11-19 13:34:51 UTC
(
hide
)
Description:
Port patch
Filename:
MIME Type:
Creator:
Jimmy Kelley
Created:
2014-11-19 13:34:51 UTC
Size:
650 bytes
patch
obsolete
>--- hotspot/src/share/vm/classfile/javaClasses.cpp.orig 2014-11-18 22:29:56.000000000 -0600 >+++ hotspot/src/share/vm/classfile/javaClasses.cpp 2014-11-18 22:42:06.000000000 -0600 >@@ -1242,7 +1242,7 @@ > // Helper backtrace functions to store bci|version together. > static inline int merge_bci_and_version(int bci, int version) { > // only store u2 for version, checking for overflow. >- if (version > USHRT_MAX || version < 0) version = MAX_VERSION; >+ if (version < 0 || (static_cast<unsigned int>(version) > USHRT_MAX)) version = MAX_VERSION; > assert((jushort)bci == bci, "bci should be short"); > return build_int_from_shorts(version, bci); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 194988
: 149585