Skip to content

Commit

Permalink
Revert the workaround for quarkiverse#770 Figure out whether io.quark…
Browse files Browse the repository at this point in the history
…us.awt.runtime.graal.AwtFeature and DarwinAwtFeature can be transformed to RuntimeInitializedPackageBuildItem
  • Loading branch information
ppalaga committed Apr 4, 2023
1 parent 1b8578f commit 6e1c698
Showing 1 changed file with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.function.Predicate;
import java.util.stream.Collectors;
import java.util.stream.Stream;

import jakarta.enterprise.context.ApplicationScoped;
import jakarta.enterprise.inject.Produces;
Expand Down Expand Up @@ -64,7 +63,6 @@
import io.quarkus.gizmo.MethodCreator;
import io.quarkus.gizmo.MethodDescriptor;
import io.quarkus.gizmo.ResultHandle;
import io.quarkus.runtime.util.JavaVersionUtil;

/**
* Find WebService implementations and deploy them.
Expand All @@ -91,19 +89,6 @@ void collectClients(
.map(RuntimeInitializedPackageBuildItem::getPackageName)
.collect(Collectors.toSet());

/* Workaround for https://github.com/quarkiverse/quarkus-cxf/issues/770 */
Stream.of(
"com.sun.imageio",
"java.awt",
"javax.imageio",
"sun.awt",
"sun.font",
"sun.java2d")
.forEach(rtInitPackages::add);
if (JavaVersionUtil.isJava17OrHigher()) {
rtInitPackages.add("sun.lwawt.macosx");
}

final AtomicBoolean hasRuntimeInitializedProxy = new AtomicBoolean(false);
final Map<String, ClientFixedConfig> clientSEIsInUse = findClientSEIsInUse(index, config);
CxfDeploymentUtils.webServiceAnnotations(index)
Expand Down

0 comments on commit 6e1c698

Please sign in to comment.