Re: Idea: Remove PowerMock

2023-07-11 Thread Zoltan Haindrich
Hey, #3798 looks promising; I've reopened - it seems like it have fallen between the cracks... testruns have become outdated and it seems like it needs a rebase. I think that the usage of powermock signals that something is wrong and a refactor step should be taken instead of introducing it ii

Re: Idea: Remove PowerMock

2023-07-10 Thread Attila Turoczy
+1 Kill it! :) mockito is a more modern approach. I think it is cool that we modernize our platform, and remove old and unsupported tools and components. On Mon, Jul 10, 2023 at 5:36 PM Ayush Saxena wrote: > +1, PowerMock as far as I remember has issues with JDK-11+ as well, > one such ref : >

Re: Idea: Remove PowerMock

2023-07-10 Thread Ayush Saxena
+1, PowerMock as far as I remember has issues with JDK-11+ as well, one such ref : https://stackoverflow.com/questions/52966897/powermock-java-11 -Ayush On Mon, 10 Jul 2023 at 20:18, Zsolt Miskolczi wrote: > > Hi, > > Hive heavily uses PowerMock . The main > purpose

Idea: Remove PowerMock

2023-07-10 Thread Zsolt Miskolczi
Hi, Hive heavily uses PowerMock . The main purpose of it is having static mocking. The sad thing is it seems PowerMock is dead: - The main branch got it's lot commit in 2022 and and most of the contributions last year were simple dependency upgrades: https://github.c