[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)
commit102dd09f6f39d2558437199fe5e0033631501856
treeab5cd0d3ca1597a25cbb0e7efa35ee952ce9e75c
parent025943064edda175e3debd93f2dd84d14cb36553
[util] move ConcurrentBitSet and ConcurrentPackedBitsArray from util to platform.concurrency

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]