mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-06 14:05:32 +00:00
ICU-11424 Bugfix: RemoveTransliterator can cause NoClassDefFoundError
Make RemoveTransliterator._ID final, to ensure that the compiler inlines it, so that it won't be null when register() accesses it. X-SVN-Rev: 36862
This commit is contained in:
parent
1477b9b8a2
commit
35f08c68e9
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
*******************************************************************************
|
||||
* Copyright (C) 1996-2010, International Business Machines Corporation and *
|
||||
* Copyright (C) 1996-2014, International Business Machines Corporation and *
|
||||
* others. All Rights Reserved. *
|
||||
*******************************************************************************
|
||||
*/
|
||||
|
@ -16,7 +16,7 @@ class RemoveTransliterator extends Transliterator {
|
|||
/**
|
||||
* ID for this transliterator.
|
||||
*/
|
||||
private static String _ID = "Any-Remove";
|
||||
private static final String _ID = "Any-Remove";
|
||||
|
||||
/**
|
||||
* System registration hook.
|
||||
|
|
Loading…
Add table
Reference in a new issue