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

De-finalize marshallable fields OpenHFT/Chronicle-Wire#414 #1055

Closed
wants to merge 1 commit into from

Conversation

alamar
Copy link
Contributor

@alamar alamar commented Apr 22, 2022

@@ -60,7 +60,7 @@ interface Pinger {

static class PingDTO extends SelfDescribingMarshallable {
static int constructionCounter, constructionExpected;
final Bytes<?> bytes = Bytes.allocateElasticOnHeap();
Bytes<?> bytes = Bytes.allocateElasticOnHeap();
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure how Bytes works. It is mutable but may have size constraints. If a final Byte<?> is declared, one must make sure it can hold any conceivable value in the application at hand?

@sonarcloud
Copy link

sonarcloud bot commented Apr 25, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell D 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@alamar alamar closed this Apr 21, 2023
@alamar alamar deleted the Issue414 branch April 21, 2023 11:52
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.

None yet

2 participants