Skip to content

Commit bd4f22c

Browse files
committed
WebSockets Next: remove the copy of RuntimeTypeCreator
Now that ArC includes `RuntimeTypeCreator` as a public API, the WebSockets Next extension no longer has to ship a copy.
1 parent bf8ed75 commit bd4f22c

File tree

2 files changed

+2
-361
lines changed

2 files changed

+2
-361
lines changed

extensions/websockets-next/deployment/src/main/java/io/quarkus/websockets/next/deployment/RuntimeTypeCreator.java

Lines changed: 0 additions & 359 deletions
This file was deleted.

extensions/websockets-next/deployment/src/main/java/io/quarkus/websockets/next/deployment/WebSocketProcessor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import static org.jboss.jandex.gizmo2.Jandex2Gizmo.classDescOf;
88
import static org.jboss.jandex.gizmo2.Jandex2Gizmo.methodDescOf;
99

10-
import java.lang.constant.ClassDesc;
1110
import java.util.ArrayList;
1211
import java.util.Comparator;
1312
import java.util.HashMap;
@@ -70,6 +69,7 @@
7069
import io.quarkus.arc.processor.InvokerInfo;
7170
import io.quarkus.arc.processor.KotlinDotNames;
7271
import io.quarkus.arc.processor.KotlinUtils;
72+
import io.quarkus.arc.processor.RuntimeTypeCreator;
7373
import io.quarkus.arc.processor.ScopeInfo;
7474
import io.quarkus.bootstrap.classloading.QuarkusClassLoader;
7575
import io.quarkus.builder.item.SimpleBuildItem;
@@ -1180,7 +1180,7 @@ private static FieldDesc generateInvokerFieldIfNeeded(io.quarkus.gizmo2.creator.
11801180
InvokerInfo invoker = invokerFactory.createInvoker(callback.bean, callback.method)
11811181
.withInvocationWrapper(CoroutineInvoker.class, "inNewCoroutine")
11821182
.build();
1183-
bc.yield(bc.new_(ConstructorDesc.of(ClassDesc.of(invoker.getClassName()))));
1183+
bc.yield(bc.new_(ConstructorDesc.of(invoker.getClassDesc())));
11841184
});
11851185
});
11861186
}

0 commit comments

Comments
 (0)