We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kotlin-serialization doesn't have native mode coverage
kotlin-serialization module has native mode coverage
There is only ResourceTest.kt in integration-tests/kotlin-serialization module.
ResourceTest.kt
integration-tests/kotlin-serialization
I tried to add IT variant for ResourceTest.kt, but the execution fails with
Serializer for class 'Person' is not found. Mark the class as @Serializable or provide the serializer explicitly.
While the class Person is annotated with @Serializable
@Serializable
Performed changes:
diff --git a/integration-tests/kotlin-serialization/pom.xml b/integration-tests/kotlin-serialization/pom.xml index e72059383f..4508080216 100644 --- a/integration-tests/kotlin-serialization/pom.xml +++ b/integration-tests/kotlin-serialization/pom.xml @@ -119,12 +119,6 @@ </pluginOptions> </configuration> </plugin> - <plugin> - <artifactId>maven-failsafe-plugin</artifactId> - <configuration> - <skip>true</skip> - </configuration> - </plugin> <plugin> <groupId>io.quarkus</groupId> <artifactId>quarkus-maven-plugin</artifactId> diff --git a/integration-tests/kotlin-serialization/src/test/kotlin/io/quarkus/it/kotser/ResourceTest.kt b/integration-tests/kotlin-serialization/src/test/kotlin/io/quarkus/it/kotser/ResourceTest.kt index f7b11b299c..0cb7300e09 100644 --- a/integration-tests/kotlin-serialization/src/test/kotlin/io/quarkus/it/kotser/ResourceTest.kt +++ b/integration-tests/kotlin-serialization/src/test/kotlin/io/quarkus/it/kotser/ResourceTest.kt @@ -7,7 +7,7 @@ import org.hamcrest.CoreMatchers.`is` import org.junit.jupiter.api.Test @QuarkusTest -class ResourceTest { +open class ResourceTest { @Test fun testGet() { given()
ResourceIT.kt
package io.quarkus.it.kotser import io.quarkus.test.junit.QuarkusIntegrationTest @QuarkusIntegrationTest class ResourceIT : ResourceTest()
uname -a
ver
No response
java -version
Quarkus main
mvnw --version
gradlew --version
The text was updated successfully, but these errors were encountered:
/cc @evanchooly
Sorry, something went wrong.
Fix Kotlin Serialization native support
78bf6eb
Fixes: quarkusio#22624
#22756 fixes the issue and will definitely be needed for Quarkus 2.7 to make Kotlin Serialization work properly in native
Merge pull request #22756 from geoand/#22624
6a36ecf
geoand
Successfully merging a pull request may close this issue.
Describe the bug
kotlin-serialization doesn't have native mode coverage
Expected behavior
kotlin-serialization module has native mode coverage
Actual behavior
kotlin-serialization doesn't have native mode coverage
There is only
ResourceTest.kt
inintegration-tests/kotlin-serialization
module.I tried to add IT variant for
ResourceTest.kt
, but the execution fails withWhile the class Person is annotated with
@Serializable
How to Reproduce?
Performed changes:
ResourceIT.kt
Output of
uname -a
orver
No response
Output of
java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
Quarkus main
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: