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

fix master branch build error around Deprecation Error #815

Merged
merged 4 commits into from
Jun 29, 2024

Conversation

JooHyukKim
Copy link
Member

fixes #813

@cowtowncoder
Copy link
Member

@k163377 WDYT? I'd like you to verify this is the way to go as I don't know enough. CI passes so that makes sense.

@@ -18,10 +18,8 @@ fun Class<*>.isKotlinClass(): Boolean = this.isAnnotationPresent(Metadata::class
* map object.
* @property nullIsSameAsDefault Default false. Whether to treat null values as absent when deserializing, thereby
* using the default value provided in Kotlin.
* @property singletonSupport Default: DISABLED. Mode for singleton handling.
* @property enabledSingletonSupport Default: DISABLED. Mode for singleton handling.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think default is either true or false, not enum, since we have:

val enabledSingletonSupport: Boolean = KotlinFeature.SingletonSupport.enabledByDefault,

@k163377
Copy link
Contributor

k163377 commented Jun 27, 2024

It may be some error related to Kotlin 2.0.
It is a good temporary fix policy regarding the master branch, but I think the root cause is different.

@JooHyukKim
Could you also remove the SingletonSupport class?

@JooHyukKim
Copy link
Member Author

@cowtowncoder @k163377 Applied suggestions/fixes. Thanks!

@cowtowncoder
Copy link
Member

@cowtowncoder Good as far as I know but I think @k163377 has the final say here :)

@k163377 k163377 merged commit e9c4312 into FasterXML:master Jun 29, 2024
15 checks passed
@k163377
Copy link
Contributor

k163377 commented Jun 29, 2024

Thank you for the correction and sorry for the delay in checking.

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

Successfully merging this pull request may close these issues.

3 participants