Skip to content

Comments

Fix NoClassDefFoundError in Kotlin projects #1793#1840

Merged
Vassiliy-Kudryashov merged 1 commit intomainfrom
andrey-t/kotlin_versions_compatibility_problem
Feb 22, 2023
Merged

Fix NoClassDefFoundError in Kotlin projects #1793#1840
Vassiliy-Kudryashov merged 1 commit intomainfrom
andrey-t/kotlin_versions_compatibility_problem

Conversation

@sofurihafe
Copy link
Member

Description

This PR hot-fixes the bug regarding Kotlin version update by storing necessary methods (isGetter, isSetter) from Kotlin library as utility methods in order to have them regardless of Kotlin version. Those meant to be deleted after plugin Kotlin version transition from 1.7.10 to a higher version.

Fixes #1793

How to test

Automated tests

Not relevant.

Manual tests

Run runIde, create new Kotlin project with Kotlin version 1.8.10 or higher installed. Verify that the plugin works fine when trying to open the generation window and generate tests.

@sofurihafe sofurihafe added the ctg-bug-fix PR is fixing a bug label Feb 22, 2023
@Vassiliy-Kudryashov Vassiliy-Kudryashov enabled auto-merge (squash) February 22, 2023 12:09
@Vassiliy-Kudryashov Vassiliy-Kudryashov merged commit ed7d1aa into main Feb 22, 2023
@Vassiliy-Kudryashov Vassiliy-Kudryashov deleted the andrey-t/kotlin_versions_compatibility_problem branch February 22, 2023 12:20
@alisevych
Copy link
Member

@sofurihafe Please add comp-* label

@EgorkaKulikov EgorkaKulikov added the comp-ui Improvements of plugin UI appearence and functionality label Feb 22, 2023
sofurihafe added a commit that referenced this pull request Feb 27, 2023
Add builtin Kotlin methods as util methods
@alisevych alisevych added this to the 2023.03 Release milestone Mar 21, 2023
@alisevych alisevych added the lang-kotlin Issue is related to Kotlin language support label Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-ui Improvements of plugin UI appearence and functionality ctg-bug-fix PR is fixing a bug lang-kotlin Issue is related to Kotlin language support

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NoClassDefFoundError from GenerateTestsAction is thrown in IDEA when a Kotlin class is right-clicked

4 participants