--- a/jdk/src/share/back/ArrayTypeImpl.c Wed Feb 05 18:37:42 2014 +0000
+++ b/jdk/src/share/back/ArrayTypeImpl.c Thu Feb 06 10:43:09 2014 +0000
@@ -112,7 +112,7 @@
WITH_LOCAL_REFS(env, 1) {
jarray array;
- jclass componentClass;
+ jclass componentClass = NULL;
jdwpError serror;
serror = getComponentClass(env, arrayClass,
--- a/jdk/src/share/back/error_messages.c Wed Feb 05 18:37:42 2014 +0000
+++ b/jdk/src/share/back/error_messages.c Thu Feb 06 10:43:09 2014 +0000
@@ -140,7 +140,7 @@
const char *
jvmtiErrorText(jvmtiError error)
{
- switch (error) {
+ switch ((int)error) {
CASE_RETURN_TEXT(JVMTI_ERROR_NONE)
CASE_RETURN_TEXT(JVMTI_ERROR_INVALID_THREAD)
CASE_RETURN_TEXT(JVMTI_ERROR_INVALID_THREAD_GROUP)
--- a/jdk/src/share/back/util.c Wed Feb 05 18:37:42 2014 +0000
+++ b/jdk/src/share/back/util.c Thu Feb 06 10:43:09 2014 +0000
@@ -2122,7 +2122,7 @@
jdwpError
map2jdwpError(jvmtiError error)
{
- switch ( error ) {
+ switch ( (int)error ) {
case JVMTI_ERROR_NONE:
return JDWP_ERROR(NONE);
case AGENT_ERROR_INVALID_THREAD: