[RFA/JVMTI] Implement GetErrorName

Keith Seitz keiths@redhat.com
Tue Sep 12 19:42:00 GMT 2006


Hi,

This simple (if verbose) patch implements the JVMTI call GetErrorName, 
which maps a JVMTI error code (jvmtiError) into a human-readable format 
of some unspecified sort.

I've chosen to use a switch to do this because the set of JVMTI errors 
in jvmtiError contains as many "holes" as there are defined errors.

Okay?

Keith

ChangeLog
2006-09-12  Keith Seitz  <keiths@redhat.com>

         * jvmti.cc (_Jv_JVMTI_GetErrorName): New function.
         (_Jv_JVMTI_Interface): Define GetErrorName member.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: jvmti-geterrorname.patch
Type: text/x-patch
Size: 5724 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20060912/eda62023/attachment.bin>


More information about the Java-patches mailing list