-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
465 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
core/runtime/src/main/java/io/quarkus/runtime/graal/ClassDefinerSubstitutions.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package io.quarkus.runtime.graal; | ||
|
||
import java.lang.invoke.MethodHandles; | ||
|
||
import com.oracle.svm.core.annotate.Delete; | ||
import com.oracle.svm.core.annotate.TargetClass; | ||
|
||
import io.smallrye.common.classloader.ClassDefiner; | ||
|
||
final class ClassDefinerSubstitutions { | ||
@TargetClass(ClassDefiner.class) | ||
static final class Target_io_smallrye_common_classloader_ClassDefiner { | ||
@Delete | ||
public static Class<?> defineClass(MethodHandles.Lookup lookup, Class<?> parent, String className, byte[] classBytes) { | ||
return null; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
...nsions/arc/deployment/src/main/java/io/quarkus/arc/deployment/ConfigMappingBuildItem.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package io.quarkus.arc.deployment; | ||
|
||
import io.quarkus.builder.item.MultiBuildItem; | ||
|
||
public final class ConfigMappingBuildItem extends MultiBuildItem { | ||
private final Class<?> interfaceType; | ||
private final String prefix; | ||
|
||
public ConfigMappingBuildItem(final Class<?> interfaceType, final String prefix) { | ||
this.interfaceType = interfaceType; | ||
this.prefix = prefix; | ||
} | ||
|
||
public Class<?> getInterfaceType() { | ||
return interfaceType; | ||
} | ||
|
||
public String getPrefix() { | ||
return prefix; | ||
} | ||
} |
Oops, something went wrong.