mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
[memory-agent] replacing 'commons-io' with stdlib
GitOrigin-RevId: 1eb48a64125e9039e921568b530da74757ea4943
This commit is contained in:
committed by
intellij-monorepo-bot
parent
5af2b66472
commit
1cfcd4f211
@@ -26,7 +26,6 @@
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="library" name="commons-io" level="project" />
|
||||
<orderEntry type="library" name="kotlin-stdlib" level="project" />
|
||||
</component>
|
||||
</module>
|
||||
@@ -1,10 +1,7 @@
|
||||
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.debugger.memory.agent.extractor
|
||||
|
||||
import org.apache.commons.io.IOUtils
|
||||
|
||||
class ProxyExtractor {
|
||||
fun extractProxy(): ByteArray {
|
||||
return IOUtils.toByteArray(ProxyExtractor::class.java.classLoader.getResourceAsStream("com/intellij/memory/agent/IdeaNativeAgentProxy.class"))
|
||||
}
|
||||
fun extractProxy(): ByteArray =
|
||||
ProxyExtractor::class.java.classLoader.getResourceAsStream("com/intellij/memory/agent/IdeaNativeAgentProxy.class")!!.readAllBytes()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user