setAccessible

3 views
Skip to first unread message

NateS

unread,
Apr 15, 2012, 5:34:10 AM4/15/12
to Objenesis developers
Would it make sense to wrap all setAccessible calls in an empty try/
catch? This way if the security manager explodes, we don't fail if the
constructor was actually public.

-Nate

Henri Tremblay

unread,
Aug 21, 2015, 10:34:33 PM8/21/15
to objene...@googlegroups.com, nathan...@gmail.com
Sometimes, I can be really slow at answering.

I'm improving now.

Not a bad idea actually.

Do you want to fill an issue in github? https://github.com/easymock/objenesis
Reply all
Reply to author
Forward
0 new messages