hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stan Rosenberg (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-9666) SnappyCompressor/SnappyDecompressor JNI code uses wrong Exception class name
Date Sun, 23 Jun 2013 19:45:20 GMT
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

Mime
View raw message