Skip to content
New issue

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

Remove inline bytecode #250

Closed
ludorival opened this issue Jan 9, 2025 · 0 comments
Closed

Remove inline bytecode #250

ludorival opened this issue Jan 9, 2025 · 0 comments
Assignees

Comments

@ludorival
Copy link
Owner

Fix this error when importing this project

Cannot inline bytecode built with JVM target 17 into bytecode that is being build with JVM target 1.8
@ludorival ludorival self-assigned this Jan 9, 2025
@ludorival ludorival changed the title Remove inline bytecode Assignees: Labels: Milestone: Projects: Remove inline bytecode Jan 9, 2025
ludorival added a commit that referenced this issue Jan 9, 2025
- Updated the `body` function in `Pact.kt` to use a safer casting approach with `as?` instead of inline reified type parameters, improving type safety.
- Modified the `serializerWith` and `serializerAsDefault` functions in `Utils.kt` to remove inline reified type parameters, simplifying the function signatures while maintaining functionality.

These changes enhance type handling and simplify the serialization utility methods in the pact-jvm-mock library.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant