Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3651)

Issue 260600044: ticket:11783: Remove use of class loaders in resource loading caches. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 3 months ago by roubert (google)
Modified:
9 years, 3 months ago
Reviewers:
yoshito_umaoka, markus.icu
Base URL:
svn+ssh://source.icu-project.org/repos/icu/icu4j/trunk
Visibility:
Public.

Description

ticket:11783: Remove use of class loaders in resource loading caches. There is currently no known use-case where this code that is being removed solves a real problem, but it causes problems in Android when ICU4J is being initialized using one class loader but then called using another class loader. R=markus.icu@gmail.com, yoshito_umaoka@us.ibm.com Committed: http://bugs.icu-project.org/trac/changeset/37920

Patch Set 1 #

Total comments: 4

Patch Set 2 : Code review: Refactor ReaderCache. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -51 lines) Patch
M main/classes/core/src/com/ibm/icu/impl/ICUResourceBundle.java View 3 chunks +3 lines, -3 lines 0 comments Download
M main/classes/core/src/com/ibm/icu/impl/ICUResourceBundleReader.java View 1 2 chunks +15 lines, -18 lines 0 comments Download
M main/classes/core/src/com/ibm/icu/impl/ResourceBundleWrapper.java View 4 chunks +5 lines, -5 lines 0 comments Download
M main/classes/core/src/com/ibm/icu/util/UResourceBundle.java View 1 7 chunks +9 lines, -25 lines 0 comments Download

Messages

Total messages: 5
roubert (google)
9 years, 3 months ago (2015-09-08 20:45:54 UTC) #1
markus.icu
https://codereview.appspot.com/260600044/diff/1/main/classes/core/src/com/ibm/icu/impl/ICUResourceBundleReader.java File main/classes/core/src/com/ibm/icu/impl/ICUResourceBundleReader.java (right): https://codereview.appspot.com/260600044/diff/1/main/classes/core/src/com/ibm/icu/impl/ICUResourceBundleReader.java#newcode177 main/classes/core/src/com/ibm/icu/impl/ICUResourceBundleReader.java:177: private static class ReaderCache extends SoftCache<ReaderInfo, ICUResourceBundleReader, ReaderInfo> { ...
9 years, 3 months ago (2015-09-08 22:02:13 UTC) #2
roubert (google)
https://codereview.appspot.com/260600044/diff/1/main/classes/core/src/com/ibm/icu/impl/ICUResourceBundleReader.java File main/classes/core/src/com/ibm/icu/impl/ICUResourceBundleReader.java (right): https://codereview.appspot.com/260600044/diff/1/main/classes/core/src/com/ibm/icu/impl/ICUResourceBundleReader.java#newcode177 main/classes/core/src/com/ibm/icu/impl/ICUResourceBundleReader.java:177: private static class ReaderCache extends SoftCache<ReaderInfo, ICUResourceBundleReader, ReaderInfo> { ...
9 years, 3 months ago (2015-09-09 13:54:24 UTC) #3
markus.icu
LGTM If Yoshito does not respond by your(!) EOD today then please submit to trunk. ...
9 years, 3 months ago (2015-09-09 15:44:39 UTC) #4
roubert (google)
9 years, 3 months ago (2015-09-09 18:42:53 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as 37920 (presubmit successful).
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b