Author: Vincent Fourmond <fourmond@debian.org>
Description: Allow jclassinfo to recognize class files written by
 recent JVM (numbers come from http://en.wikipedia.org/wiki/Java_class_file)

Index: jclassinfo-0.19.1/jclass/class.c
===================================================================
--- jclassinfo-0.19.1.orig/jclass/class.c	2011-04-17 23:02:46.611166770 +0200
+++ jclassinfo-0.19.1/jclass/class.c	2011-04-17 23:03:21.219166790 +0200
@@ -181,7 +181,7 @@
 const char* jclass_class_get_vm_spec(JavaClass* class_struct)
 {
 	char* vm_spec;
-	static char* spec_string[] = { "unknown", "1.1", "1.2", "1.3", "1.4"};
+	static char* spec_string[] = { "unknown", "1.1", "1.2", "1.3", "1.4", "1.5", "1.6" };
 	
 	if(class_struct == NULL)
 		return NULL;
@@ -200,6 +200,12 @@
 		case 48:
 			vm_spec = spec_string[4];
 			break;
+		case 49:
+			vm_spec = spec_string[5];
+			break;
+		case 50:
+			vm_spec = spec_string[6];
+			break;
 		default:
 			vm_spec = spec_string[0];
 	}
