Am 01.12.2025 um 22:00 schrieb Ethan McCue:
On that note, i'd say you have somewhat of a bigger problem w.r.t. enums
[..]
As with all things in jdk.unsupported, I can't help but wonder if there
are any VM level invariants you run afoul of by making extra enum
instances.
I don't know about the VM internals. I did never run into problems with
these extra enums.
My first stab at #2 is to add something like this record [..]
Thank you for your input. I have to try this.
I think it's also worth asking - do you have any usage statistics on
your library? (Maven central used to offer download stats, etc.) If you
are going to be broken anyways it is probably useful to know the blast
radius.
Very good point. As far as I know minimal-j is only used by me for a
smaller and one bigger App. In the bigger App ( An ERP called
lisheane.ch , currently only available in german ) I invested quite some
time. I would have to rewrite parts of it.
So the world will not be standing still if minimal-j doesn't work
anymore or has to be changed.
I would still like the idea of field references ( Person::name ,
Person::address::city ) in the java language as equivalent for the $
constant. It is really nice to use. But I don't have the knowledge how
to add it to the language or how to propose the feature.