News for hackers. Stuff that matters.
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.
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:

https://openjdk.java.net/jeps/260

https://openjdk.java.net/jeps/403

Re:Is it safe to use __secret_internals_do_not_use_or_you_wi... by thenickdude on Friday February 04, 2022 @01:21AM (#30203487)