{
  "video_id": "reddit_1ta5dax",
  "channel_slug": "programming",
  "channel_handle": "r/programming",
  "title": "8317277: Java language implementation of value classes and objects by MrSimms · Pull Request #31120 · openjdk/jdk",
  "url": "https://www.reddit.com/r/programming/comments/1ta5dax/8317277_java_language_implementation_of_value/",
  "external_url": "https://github.com/openjdk/jdk/pull/31120",
  "upload_date": "20260511",
  "published_at": "2026-05-11T14:42:57+00:00",
  "transcript": "For those unaware, this is the Pull Request for Java's [JEP 401: Value Classes and Objects (Preview)](https://openjdk.org/jeps/401).\n\n  \nValue Classes have been a LONG AWAITED feature for Java, so this Pull Request is proof that we are one step closer to them going into Preview!\n\n  \n***BUT PLEASE REMEMBER -- No commitment has been made to target a release yet!***\n\nThis is merely a PR RFR, and nothing more. All this is is showing us part of what it takes to bring Value Objects to Preview, as well as announcing that we are one step closer to (hopefully!) go to preview. But again, no idea how far away that may be. It could be JDK 27 (coming this September), it could be later.\n\nJust appreciate the PR for what it is -- a window into the work required to make Value Classes a reality. ~3k commits and ~2k classes changed is just a snapshot of the level of effort here. Shows why [this JEP](https://openjdk.org/jeps/401) has been given an XL rating lol.\n\n\n\n--- Top Comments ---\n\n\n[67 upvotes] > +200.598 -13.384\n\nlgtm\n\nedit: minor whitespace error in line 3456\n\n[25 upvotes] Very awesome, just 30 years too late :(\n\n[10 upvotes] Virtual threads was just as big. Same with jigsaw. It really shows the monumental work needed to be done this late in the process, but there were more important things to do before this. So it makes sense.\n\n[4 upvotes] I’m confused whether this is more like\n\n-\t.NET value types / C# structures; there is no reference/pointer; the memory storage is the value\n-\tvalue objects: can still have a reference, but designed to avoid primitive obsession\n\nI’m guessing the former, but don’t those already exist, e.g. `int`? Or is it that those are hardcoded, and this adds writing your own?",
  "transcript_chars": 1712,
  "ingested_at": "2026-05-12T11:04:44.754303+00:00",
  "source": "reddit",
  "yt_meta": {
    "score": 76,
    "upvote_ratio": 0.9,
    "num_comments": 32,
    "author": "davidalayachew",
    "is_self": false
  }
}