From 43af89caa275539ac3f898d10bbffaed349ea861 Mon Sep 17 00:00:00 2001 From: chiba Date: Sat, 2 Jun 2007 14:18:21 +0000 Subject: [PATCH] for JIRA JASSIST-34 git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@379 30ef5769-5b8d-40dd-aea6-55b5d6557bb3 --- src/main/javassist/bytecode/ClassFile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/javassist/bytecode/ClassFile.java b/src/main/javassist/bytecode/ClassFile.java index 73cdc6ec..ab00734f 100644 --- a/src/main/javassist/bytecode/ClassFile.java +++ b/src/main/javassist/bytecode/ClassFile.java @@ -676,7 +676,7 @@ public final class ClassFile { int i, n; int magic = in.readInt(); if (magic != 0xCAFEBABE) - throw new IOException("non class file"); + throw new IOException("bad magic number: " + Integer.toHexString(magic)); minor = in.readUnsignedShort(); major = in.readUnsignedShort(); -- 2.39.5