mirror of
https://github.com/corda/corda.git
synced 2025-02-06 02:59:15 +00:00
look for initIDs in SunFontManager instead of FontManager
OpenJDK 7 has refactored this code relative to OpenJDK 6, and now FontManager is an interface, with SunFontManager providing a (partial) implementation.
This commit is contained in:
parent
5a7c78e71a
commit
53b15d1bca
@ -534,7 +534,7 @@ class MyClasspath : public Classpath {
|
||||
virtual void
|
||||
resolveNative(Thread* t, object method)
|
||||
{
|
||||
if (strcmp(reinterpret_cast<const int8_t*>("sun/font/FontManager"),
|
||||
if (strcmp(reinterpret_cast<const int8_t*>("sun/font/SunFontManager"),
|
||||
&byteArrayBody(t, className(t, methodClass(t, method)), 0)) == 0
|
||||
and strcmp(reinterpret_cast<const int8_t*>("initIDs"),
|
||||
&byteArrayBody(t, methodName(t, method), 0)) == 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user