[util] move ConcurrentBitSet and ConcurrentPackedBitsArray from util to platform...
authorNikolay Chashnikov <Nikolay.Chashnikov@jetbrains.com>
Thu, 13 Aug 2020 16:08:15 +0000 (19:08 +0300)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Thu, 13 Aug 2020 16:08:32 +0000 (16:08 +0000)
intellij.platform.concurrency has language level Java 11 whereas intellij.platform.util stays on Java 8. So this change fixes problems with cross-compilation of classes which refer to internal JDK classes (IDEA-248086). Also it'll allow us to migrate ConcurrentBitSet to var handles (see IDEA-244473).

GitOrigin-RevId: fa851e608252ae3ec251338c4f15fd330434984f

platform/platform-tests/testSrc/com/intellij/util/containers/ConcurrentBitSetTest.java [moved from platform/util/testSrc/com/intellij/util/containers/ConcurrentBitSetTest.java with 100% similarity]
platform/util/concurrency/com/intellij/util/containers/ConcurrentBitSet.java [moved from platform/util/src/com/intellij/util/containers/ConcurrentBitSet.java with 100% similarity]
platform/util/concurrency/com/intellij/util/containers/ConcurrentPackedBitsArray.java [moved from platform/util/src/com/intellij/util/containers/ConcurrentPackedBitsArray.java with 100% similarity]