Source/WebCore/bridge/jni/JNIBridge.cpp
static void appendClassName(StringBuilder& builder, const char* className)
{
#if USE(JSC)
    ASSERT(JSLock::lockCount() > 0);
#endif

    char* c = fastStrDup(className);

    char* result = c;
    while (*c) {
        if (*c == '.')
            *c = '/';
        c++;
    }

    builder.append(result);

    fastFree(result);
}
// JNI method signatures use '/' between components of a class name, but
// we get '.' between components from the reflection API.
JNI method signatures use '/' between components of a class name, but
we get '.' between components from the reflection API.
JNI method signatures use ' / ' between components of a class name but we get ' . ' between components from the reflection API .
static void appendClassName(StringBuilder& builder, const char* className)
{
#if USE(JSC)
    ASSERT(JSLock::lockCount() > 0);
#endif
    char* c = fastStrDup(className);
    char* result = c;
    while (*c) {
        if (*c == '.')
            *c = '/';
        c++;
    }
    builder.append(result);
    fastFree(result);
}
static void appendClassName ( StringBuilder & builder , const char * className ) { #if USE ( JSC ) ASSERT ( JSLock :: lockCount ( ) > 0 ) ; #endif char * c = fastStrDup ( className ) ; char * result = c ; while ( * c ) { if ( * c == ' ' ) * c = ' ' ; c ++ ; } builder . append ( result ) ; fastFree ( result ) ; }
JNI method signatures use '/' between components of a class name, but
we get '.'
JNI method signatures use ' / ' between components of a class name but we get ' . '