mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Convert useReflectivePath to property getter in ExperimentalUIImpl
Fixes IDEA-335974 Merge-request: IJ-MR-129219 Merged-by: Lamberto Basti <lamberto.basti@jetbrains.com> GitOrigin-RevId: e31ba6df3d9ada39d91005f84a0f1c9e66d46a9e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
5eb3c204d1
commit
c0ea5ce3ef
@@ -281,7 +281,8 @@ private fun createPathPatcher(paths: Map<ClassLoader, Map<String, String>>): Ico
|
||||
return object : IconPathPatcher() {
|
||||
private val dumpNotPatchedIcons = System.getProperty("ide.experimental.ui.dump.not.patched.icons").toBoolean()
|
||||
// https://youtrack.jetbrains.com/issue/IDEA-335974
|
||||
private val useReflectivePath = System.getProperty("ide.experimental.ui.use.reflective.path", "true").toBoolean()
|
||||
private val useReflectivePath
|
||||
get() = System.getProperty("ide.experimental.ui.use.reflective.path", "true").toBoolean()
|
||||
|
||||
override fun patchPath(path: String, classLoader: ClassLoader?): String? {
|
||||
val mappings = paths.get(classLoader) ?: return null
|
||||
|
||||
Reference in New Issue
Block a user