Skip to content

[meta] Correct TClass::LoadClassInfo. #18587

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pcanal
Copy link
Member

@pcanal pcanal commented May 2, 2025

This fixes #18556.

We should keep trying to try to load a ClassInfo until we try the
auto-parsing. TClass::LoadClassInfo should set fCanLoadClassInfo tofalse when the ClassInfois found and set it to false also when we tried
auto parsing but did not find the ClassInfo.

In the later case, the ClassInfo might still be loaded (via a different
routine/mechanims) if information about the class is later loaded/parsed.

This fixes root-project#18556.

We should keep trying to try to load a ClassInfo until we try the
auto-parsing.  TClass::LoadClassInfo should set fCanLoadClassInfo to
false when the ClassInfois found *and* set it to false also when we tried
auto parsing but did not find the ClassInfo.

In the later case, the ClassInfo might still be loaded (via a different
routine/mechanims) if information about the class is later loaded/parsed.
@pcanal pcanal self-assigned this May 2, 2025
@pcanal pcanal requested a review from dpiparo as a code owner May 2, 2025 17:14
@pcanal pcanal removed the request for review from dpiparo May 2, 2025 18:58
@pcanal pcanal marked this pull request as draft May 2, 2025 18:58
Copy link

github-actions bot commented May 2, 2025

Test Results

    18 files      18 suites   3d 21h 19m 38s ⏱️
 2 731 tests  2 729 ✅ 0 💤  2 ❌
47 768 runs  47 749 ✅ 0 💤 19 ❌

For more details on these failures, see this check.

Results for commit e682128.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Class methods not available to python in cases of transient data members of private nested class type
1 participant