equal
deleted
inserted
replaced
220 }); |
220 }); |
221 |
221 |
222 |
222 |
223 } |
223 } |
224 } |
224 } |
225 String osName = getProperty("os.name"); |
|
226 if ("SunOS".equals(osName) || "Linux".equals(osName) || "AIX".equals(osName) |
|
227 || osName.contains("OS X")) { |
|
228 charset("x-COMPOUND_TEXT", "COMPOUND_TEXT", |
|
229 new String[] { |
|
230 "COMPOUND_TEXT", // JDK historical |
|
231 "x11-compound_text", |
|
232 "x-compound-text" |
|
233 }); |
|
234 } |
|
235 initialized = true; |
225 initialized = true; |
236 } |
226 } |
237 |
227 |
238 private static String getProperty(String key) { |
228 private static String getProperty(String key) { |
239 // this method may be called during initialization of |
229 // this method may be called during initialization of |