News for hackers. Stuff that matters.
Re:Log4j: Between a rock and a hard place by pron on Monday December 13, 2021 @05:13AM (#29538296)
Java's backward compatibility applies only to the spec, i.e. the API. If any change to any method in the ~6M MLOC standard library is a "breaking change," then nothing all changes are "breaking changes," and it doesn't matter if there's good reason for them or not; we want things to not break, so internal code needs to be encapsulated. As to the last remaining popular "non-API-APIs", which is mostly just Unsafe, it is, indeed not encapsulated, and over time it will be shrunk only as replacement APIs are available.

There are no comments on this comment yet.