Bug 33586 - [Android] appendClassName in jni_runtime.cpp uses JSC-specific UString type
: [Android] appendClassName in jni_runtime.cpp uses JSC-specific UString type
: WebKit
WebCore Misc.
: 528+ (Nightly build)
: Android Android
: P2 Normal
Assigned To:
: 32154
  Show dependency treegraph
Reported: 2010-01-13 04:22 PST by
Modified: 2010-01-13 10:30 PST (History)

Patch 1 for Bug 33586 (1.88 KB, patch)
2010-01-13 09:51 PST, Steve Block
no flags Review Patch | Details | Formatted Diff | Diff


You need to log in before you can comment on or make changes to this bug.

Description From 2010-01-13 04:22:48 PST
appendClassName is a static helper function used in jni_runtime.cpp. This file is largely script engine independent. However, appendClassName uses the JSC-specific UString type, which causes problems on Android, where we can build with JSC or V8. 

The function should be updated to use a non-JSC-specific type.
------- Comment #1 From 2010-01-13 09:30:13 PST -------
jni_runtime was recently (http://trac.webkit.org/changeset/52329) updated to use JSC::StringBuilder, rather than UString, but the problem still stands.
------- Comment #2 From 2010-01-13 09:51:16 PST -------
Created an attachment (id=46471) [details]
Patch 1 for Bug 33586

Uses WebCore::SringBuilder in place of JSC::StringBuilder.

Note that this also avoids the use of UString::ascii, which according to UString.h, should only be used for debugging purposes.
------- Comment #3 From 2010-01-13 10:30:12 PST -------
(From update of attachment 46471 [details])
Clearing flags on attachment: 46471

Committed r53193: <http://trac.webkit.org/changeset/53193>
------- Comment #4 From 2010-01-13 10:30:17 PST -------
All reviewed patches have been landed.  Closing bug.