Skip to content

ClassNotFoundException from KryoHelper.readObject when running Contes… #1669

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

Conversation

Vassiliy-Kudryashov
Copy link
Member

…tEstimator for seata-core-0.5.0 #1649

Avoid Java 9 code style

Description

Fallback to commoon classloader if Kryo classloader cannot find some class.
Gradle-related class SettingsTemplateHelper was tuned to be compatible with language level 8 as we run contest with Java 8

Fixes #1649

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • Refactoring (typos and non-functional changes)

How Has This Been Tested?

Manual Scenario

  1. See the issue ClassNotFoundException from KryoHelper.readObject when running ContestEstimator for seata-core-0.5.0 #1649, steps are scenario
  2. Try to generate tests for while(true) with the plugin, it should deal with TimeoutException via new hack instead of old one.

Checklist (remove irrelevant options):

  • The change followed the style guidelines of the UTBot project
  • Self-review of the code is passed
  • The change contains enough commentaries, particularly in hard-to-understand areas
  • No new warnings

…tEstimator for seata-core-0.5.0 #1649

Avoid Java 9 code style
…ion-from-kryohelperreadobject-when-running-contestestimator-for-seata-core-050
…tEstimator for seata-core-0.5.0 #1649

Add fallback to super (namely to ObjectInputStream)
…ion-from-kryohelperreadobject-when-running-contestestimator-for-seata-core-050
@Vassiliy-Kudryashov Vassiliy-Kudryashov enabled auto-merge (squash) January 16, 2023 15:03
…ion-from-kryohelperreadobject-when-running-contestestimator-for-seata-core-050
@Vassiliy-Kudryashov Vassiliy-Kudryashov merged commit b4fcd92 into main Jan 17, 2023
@Vassiliy-Kudryashov Vassiliy-Kudryashov deleted the Vassiliy-Kudryashov/1649-classnotfoundexception-from-kryohelperreadobject-when-running-contestestimator-for-seata-core-050 branch January 17, 2023 08:20
@alisevych alisevych added comp-contest-estimator Issue is related to contest estimator ctg-bug-fix PR is fixing a bug labels Jan 19, 2023
@alisevych alisevych added this to the 2023.03 Release milestone Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-contest-estimator Issue is related to contest estimator ctg-bug-fix PR is fixing a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ClassNotFoundException from KryoHelper.readObject when running ContestEstimator for seata-core-0.5.0
3 participants