Stan Rosenberg created HADOOP-9666:
--------------------------------------

             Summary: SnappyCompressor/SnappyDecompressor JNI code uses wrong 
Exception class name
                 Key: HADOOP-9666
                 URL: https://issues.apache.org/jira/browse/HADOOP-9666
             Project: Hadoop Common
          Issue Type: Bug
          Components: native
    Affects Versions: 0.23.8
            Reporter: Stan Rosenberg
            Priority: Minor


SnappyCompressor.c and SnappyDecompressor.c use the macro THROW defined in 
org_apache_hadoop.h.  The macro locates the exception class using FindClass.
According to JNI spec., FindClass expects a fully-qualified class name using 
the '/' separator.  Both of the above sources, erroneously pass 
'Ljava/lang/InternalError' to THROW instead of the correct 
"java/lang/InternalError".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to