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

GlassFishORBHelper changed to singleton, lifecycle #24806

Merged
merged 4 commits into from Feb 13, 2024

Conversation

dmatej
Copy link
Contributor

@dmatej dmatej commented Feb 12, 2024

  • cherrypicked from Fixes for resource leaks #24616 + added two commits with code cleanup
  • Original commit was created more than year ago, I think it was related to some race condition I noticed in logs, but now I am not sure. However I believe it is still bit better than older version. The CORBA/ORB initialization is a horrible thing - maybe it would be easier to rewrite it instead of refactoring. But that would need to know every piece of it first ...

@dmatej dmatej added the bug Something isn't working label Feb 12, 2024
@dmatej dmatej added this to the 7.0.13 milestone Feb 12, 2024
@dmatej dmatej self-assigned this Feb 12, 2024
- Hard to trace all paths, but it seems this behaves better
- Using annotations instead of implements

Signed-off-by: David Matějček <david.matejcek@omnifish.ee>

# Conflicts:
#	appserver/orb/orb-connector/src/main/java/org/glassfish/enterprise/iiop/api/GlassFishORBHelper.java
- I would like to do more, but it has too many open ends connected even to
  different libraries like glassfish-corba-orb

Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
… method.

Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
@dmatej dmatej merged commit 04292d5 into eclipse-ee4j:master Feb 13, 2024
2 checks passed
@dmatej dmatej deleted the orbinit branch February 13, 2024 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants