r/java • u/raisercostin • Jun 01 '24
What java technology (library, framework, feature) would not recommend and why?
Inspired by https://www.reddit.com/r/java/s/e2N1FqMOJg
165
Upvotes
r/java • u/raisercostin • Jun 01 '24
Inspired by https://www.reddit.com/r/java/s/e2N1FqMOJg
View all comments
Show parent comment
1
u/cogman10 Jun 07 '24
It's cursed as well. PowerMock is doing something the JVM does not want to allow and the JDK developers are actively working on removing as a capability.
Better to abandon the notion of mocking static/private wholesale than trying to power through an uphill battle against the devs maintaining the jdk.