---
title: "OpenJDK proposal would bring value classes and objects to Java"
url: https://daily.dev/posts/openjdk-proposal-would-bring-value-classes-and-objects-to-java-fxgwewzmx
source_url: https://www.infoworld.com/article/3715642/openjdk-proposal-would-bring-value-classes-and-objects-to-java.html
type: article
source: "Java World"
published: 2024-06-26T18:27:30.946Z
updated: 2024-08-23T15:45:17.223Z
tags: ["java", "jvm"]
reading_time: 2
upvotes: 7
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenJDK proposal would bring value classes and objects to Java

**[Java World](https://daily.dev/sources/javaworld)** · 2 min read · 7 upvotes · 0 comments

## Summary

An OpenJDK proposal is set to introduce value classes and objects to Java, allowing for class instances with only final fields and no object identity. This would enable objects to be differentiated by their field values, improve memory footprint, locality, and garbage collection efficiency. The proposal, updated in June 2022, does not yet specify a target version for Java and will not introduce a struct feature or change the treatment of primitive types.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.infoworld.com/article/3715642/openjdk-proposal-would-bring-value-classes-and-objects-to-java.html>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#java](https://daily.dev/tags/java), [#jvm](https://daily.dev/tags/jvm)

[View this post on daily.dev](https://daily.dev/posts/openjdk-proposal-would-bring-value-classes-and-objects-to-java-fxgwewzmx)
