mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8196884: VS2017 Multiple Type Cast Conversion Compilation Errors
Change the type of symbolic constant badAddressVal and introduce specific casts to fix multiple type cast conversion compilation errors. Reviewed-by: coleenp, kbarrett
This commit is contained in:
parent
17fe1b7ec7
commit
b085ebe7b7
7 changed files with 16 additions and 16 deletions
|
@ -943,8 +943,8 @@ class JavaCallArguments;
|
|||
// Special constants for debugging
|
||||
|
||||
const jint badInt = -3; // generic "bad int" value
|
||||
const long badAddressVal = -2; // generic "bad address" value
|
||||
const long badOopVal = -1; // generic "bad oop" value
|
||||
const intptr_t badAddressVal = -2; // generic "bad address" value
|
||||
const intptr_t badOopVal = -1; // generic "bad oop" value
|
||||
const intptr_t badHeapOopVal = (intptr_t) CONST64(0x2BAD4B0BBAADBABE); // value used to zap heap after GC
|
||||
const int badStackSegVal = 0xCA; // value used to zap stack segments
|
||||
const int badHandleValue = 0xBC; // value used to zap vm handle area
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue