mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8182299: Enable disabled clang warnings, build on OSX 10 + Xcode 8
8182656: Make the required changes in GC code to build on OSX 10 + Xcode 8 8182657: Make the required changes in Runtime code to build on OSX 10 + Xcode 8 8182658: Make the required changes in Compiler code to build on OSX 10 + Xcode 8 Co-authored-by: Paul Hohensee <hohensee@amazon.com> Reviewed-by: jwilhelm, ehelin, phh
This commit is contained in:
parent
eb20e62194
commit
efd1054686
142 changed files with 787 additions and 526 deletions
|
@ -126,6 +126,8 @@ void Reflection::widen(jvalue* value, BasicType current_type, BasicType wide_typ
|
|||
case T_BYTE:
|
||||
value->s = (jshort) value->b;
|
||||
return;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
break; // fail
|
||||
case T_INT:
|
||||
|
@ -139,6 +141,8 @@ void Reflection::widen(jvalue* value, BasicType current_type, BasicType wide_typ
|
|||
case T_SHORT:
|
||||
value->i = (jint) value->s;
|
||||
return;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
break; // fail
|
||||
case T_LONG:
|
||||
|
@ -155,6 +159,8 @@ void Reflection::widen(jvalue* value, BasicType current_type, BasicType wide_typ
|
|||
case T_INT:
|
||||
value->j = (jlong) value->i;
|
||||
return;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
break; // fail
|
||||
case T_FLOAT:
|
||||
|
@ -174,6 +180,8 @@ void Reflection::widen(jvalue* value, BasicType current_type, BasicType wide_typ
|
|||
case T_LONG:
|
||||
value->f = (jfloat) value->j;
|
||||
return;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
break; // fail
|
||||
case T_DOUBLE:
|
||||
|
@ -196,6 +204,8 @@ void Reflection::widen(jvalue* value, BasicType current_type, BasicType wide_typ
|
|||
case T_LONG:
|
||||
value->d = (jdouble) value->j;
|
||||
return;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
break; // fail
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue