Re:Is it safe to use __secret_internals_do_not_use_or_you_wi...
by specialp on Thursday February 03, 2022 @12:18PM
(#30195311)
Wide usage of internal only APIs is why much of the world is still stuck using Java 8 and can't migrate.
[ Parent
| on HN ]
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi...
by jdkjs on Thursday February 03, 2022 @12:21PM
(#30195373)
You mean “public APIs not being comprehensive enough”
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi...
by RedShift1 on Thursday February 03, 2022 @01:25PM
(#30196425)
I use java about 40% of the time at my work and I've never had to use "internal only" APIs. Do you have some examples of these internal APIs?
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi...
by teraflop on Thursday February 03, 2022 @03:46PM
(#30198571)
There are JDK Enhancement Proposals that discuss the encapsulation of these internal APIs, including some examples and alternatives:
Re:Is it safe to use __secret_internals_do_not_use_or_you_wi...
by thenickdude on Friday February 04, 2022 @01:21AM
(#30203487)
The sun.* package hierarchy for example:
https://www.oracle.com/java/technologies/faq-sun-packages.ht...