Jennifer Lopez Says Leonardo DiCaprio Was a 'Great Sport' About 'Carpool Karaoke' Prank

The 'American Idol' opened up about about James Corden's prank on her A-list pal.

Jennifer Lopez and James Corden hilariously texted Leonardo DiCaprio on Corden’s primetime “Carpool Karaoke” special on Tuesday, and on Thursday, the American Idol judge followed up about the prank on her A-list pal.

"I did have to explain it to him,” Lopez admitted to reporters after American Idol’s final three performances. “He was a great sport about it ... I was like, 'So hey, this is what had happened! I was with James Corden ...'"

WATCH: Jennifer Lopez Says She's Had 5 'Amazing Proposals,' Reveals the Time It Wasn't 'Right'

The actress and singer admitted that she hasn’t spoken to DiCaprio since the prank aired, but says the Oscar winner was good-natured about the bit at the time.

"He's great. He's a friend and it was nice,” she added with a laugh. “He was totally like, 'Do whatever you want, I don't care.' I don't know if he'd say that today!"

During Tuesday’s special, Corden sent DiCaprio a text from Lopez’s phone, joking that she needed to “let loose.” The two broke down in hysterics when the Revenant star replied, asking if she wanted to go clubbing, but the Idol judge insisted that she didn’t take him up on the offer.

"I was home cooking like I said -- with my kids and my boyfriend [Casper Smart]," she insisted.

WATCH: Jennifer Lopez Talks About Putting Her Kids First: If We Don't See Each Other, It's Not Happiness

As the final season of Idol prepares to wrap up with next week’s finale, the judges also opened up about their traditions for the season finale, which for Lopez, includes plenty of waterproof mascara.

"I'll be crying,” she admitted. “That's my tradition. I'll be very weepy."

WATCH: James Corden and Jennifer Lopez Hilariously Text Leonardo DiCaprio in New Primetime 'Carpool Karaoke'