From 75beb7917c37355b1ac795201b9261d3fbee06b8 Mon Sep 17 00:00:00 2001 From: Nikita Iarychenko Date: Fri, 18 Apr 2025 12:43:04 +0400 Subject: [PATCH] OPENIDE fix compile problems (cherry picked from commit 332ac019e464f37ec03bf85550a3dd2c1829ed04) (cherry picked from commit 8e7faaf0e2163fd9985cbbbf574a239f7d4abcb5) (cherry picked from commit 2e62caae085317076906533bbe4e9bda71ef2d85) (cherry picked from commit 841778515953754638df094c1614513ef8d35686) --- platform/ui.jcef/jcef/JBCefAppArmorUtils.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/platform/ui.jcef/jcef/JBCefAppArmorUtils.java b/platform/ui.jcef/jcef/JBCefAppArmorUtils.java index 63bce6a9afdb..0f21d1b76bb0 100644 --- a/platform/ui.jcef/jcef/JBCefAppArmorUtils.java +++ b/platform/ui.jcef/jcef/JBCefAppArmorUtils.java @@ -1,4 +1,7 @@ -// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. +// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. +// +// Modified by Nikita Iarychenko at 2025 as part of the OpenIDE project(https://openide.ru). +// Any modifications are available on the same license terms as the original source code. package com.intellij.ui.jcef; import com.intellij.CommonBundle; @@ -43,7 +46,7 @@ import java.util.Locale; * The class contains utilities for interacting with Linux AppArmor for solving the restricted user namespaces problem. * The problem description. */ -final class JBCefAppArmorUtils { +public final class JBCefAppArmorUtils { private static final Logger LOG = Logger.getInstance(JBCefAppArmorUtils.class); private static final LazyInitializer.LazyValue myUnprivilegedUserNameSpacesRestricted = LazyInitializer.create( () -> areUnprivilegedUserNameSpacesRestrictedImpl());