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,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…
Reference in New Issue
Block a user