You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Chris Nauroth (JIRA)" <ji...@apache.org> on 2015/02/13 21:52:13 UTC

[jira] [Resolved] (HADOOP-9666) SnappyCompressor/SnappyDecompressor JNI code uses wrong Exception class name

     [ https://issues.apache.org/jira/browse/HADOOP-9666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Nauroth resolved HADOOP-9666.
-----------------------------------
    Resolution: Duplicate

This was fixed in HADOOP-8151.

> 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 was sent by Atlassian JIRA
(v6.3.4#6332)