mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[groovy] Cleanup: rename java6 package to java8, as it's Java 8 now
GitOrigin-RevId: dd1b5d887f295a2060938b40a9612bd3a753b49b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
a5c2c17b2a
commit
87442acbd1
+2
-2
@@ -1,5 +1,5 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.util.lang.java6;
|
||||
// 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.groovy.rt.classLoader.util.java8;
|
||||
|
||||
import com.intellij.openapi.util.io.DataInputOutputUtilRt;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
// Copyright 2000-2020 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.
|
||||
package com.intellij.util.lang.java6;
|
||||
// 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.groovy.rt.classLoader.util.java8;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.util.lang.java6;
|
||||
// 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.groovy.rt.classLoader.util.java8;
|
||||
|
||||
import com.intellij.ReviseWhenPortedToJDK;
|
||||
import com.intellij.openapi.diagnostic.LoggerRt;
|
||||
+4
-4
@@ -1,12 +1,12 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.util.lang.java6;
|
||||
// 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.groovy.rt.classLoader.util.java8;
|
||||
|
||||
import com.intellij.groovy.rt.classLoader.util.java8.fastutil.StrippedIntOpenHashSet;
|
||||
import com.intellij.groovy.rt.classLoader.util.java8.fastutil.StrippedLongOpenHashSet;
|
||||
import com.intellij.openapi.util.io.DataInputOutputUtilRt;
|
||||
import com.intellij.openapi.util.text.StringHash;
|
||||
import com.intellij.util.ArrayUtilRt;
|
||||
import com.intellij.util.containers.IntObjectHashMap;
|
||||
import com.intellij.util.lang.java6.fastutil.StrippedIntOpenHashSet;
|
||||
import com.intellij.util.lang.java6.fastutil.StrippedLongOpenHashSet;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
// Copyright 2000-2020 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.
|
||||
package com.intellij.util.lang.java6;
|
||||
// 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.groovy.rt.classLoader.util.java8;
|
||||
|
||||
import com.intellij.openapi.util.io.DataInputOutputUtilRt;
|
||||
import com.intellij.openapi.util.io.FileUtilRt;
|
||||
+3
-3
@@ -1,9 +1,9 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.util.lang.java6;
|
||||
// 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.groovy.rt.classLoader.util.java8;
|
||||
|
||||
import com.intellij.groovy.rt.classLoader.util.java8.fastutil.StrippedIntOpenHashSet;
|
||||
import com.intellij.openapi.diagnostic.LoggerRt;
|
||||
import com.intellij.openapi.util.io.FileUtilRt;
|
||||
import com.intellij.util.lang.java6.fastutil.StrippedIntOpenHashSet;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
// Copyright 2000-2020 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.
|
||||
package com.intellij.util.lang.java6;
|
||||
// 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.groovy.rt.classLoader.util.java8;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
// Copyright 2000-2020 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.
|
||||
package com.intellij.util.lang.java6;
|
||||
// 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.groovy.rt.classLoader.util.java8;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.util.lang.java6;
|
||||
// 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.groovy.rt.classLoader.util.java8;
|
||||
|
||||
import com.intellij.openapi.util.io.FileUtilRt;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.util.lang.java6;
|
||||
// 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.groovy.rt.classLoader.util.java8;
|
||||
|
||||
import com.intellij.ReviseWhenPortedToJDK;
|
||||
import com.intellij.openapi.diagnostic.LoggerRt;
|
||||
+1
-1
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.intellij.util.lang.java6.fastutil;
|
||||
package com.intellij.groovy.rt.classLoader.util.java8.fastutil;
|
||||
|
||||
final class Hash {
|
||||
static final float DEFAULT_LOAD_FACTOR = .75f;
|
||||
+1
-1
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.intellij.util.lang.java6.fastutil;
|
||||
package com.intellij.groovy.rt.classLoader.util.java8.fastutil;
|
||||
|
||||
import java.util.NoSuchElementException;
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.intellij.util.lang.java6.fastutil;
|
||||
package com.intellij.groovy.rt.classLoader.util.java8.fastutil;
|
||||
|
||||
import java.util.NoSuchElementException;
|
||||
|
||||
@@ -108,7 +108,7 @@ public final class GroovycRunner {
|
||||
}
|
||||
|
||||
try {
|
||||
Class<?> classLoaderClass = Class.forName("com.intellij.util.lang.java6.UrlClassLoader");
|
||||
Class<?> classLoaderClass = Class.forName("com.intellij.groovy.rt.classLoader.util.java8.UrlClassLoader");
|
||||
return (ClassLoader)classLoaderClass.getMethod("create", List.class).invoke(null, urls);
|
||||
}
|
||||
catch (Throwable t) {
|
||||
|
||||
Reference in New Issue
Block a user