< prev index next >
src/share/vm/runtime/reflection.cpp
Print this page
@@ -124,10 +124,12 @@
case T_SHORT:
switch (current_type) {
case T_BYTE:
value->s = (jshort) value->b;
return;
+ default:
+ break;
}
break; // fail
case T_INT:
switch (current_type) {
case T_BYTE:
@@ -137,10 +139,12 @@
value->i = (jint) value->c;
return;
case T_SHORT:
value->i = (jint) value->s;
return;
+ default:
+ break;
}
break; // fail
case T_LONG:
switch (current_type) {
case T_BYTE:
@@ -153,10 +157,12 @@
value->j = (jlong) value->s;
return;
case T_INT:
value->j = (jlong) value->i;
return;
+ default:
+ break;
}
break; // fail
case T_FLOAT:
switch (current_type) {
case T_BYTE:
@@ -172,10 +178,12 @@
value->f = (jfloat) value->i;
return;
case T_LONG:
value->f = (jfloat) value->j;
return;
+ default:
+ break;
}
break; // fail
case T_DOUBLE:
switch (current_type) {
case T_BYTE:
@@ -194,10 +202,12 @@
value->d = (jdouble) value->f;
return;
case T_LONG:
value->d = (jdouble) value->j;
return;
+ default:
+ break;
}
break; // fail
default:
break; // fail
}
< prev index next >