Jennifer Lopez and Josh Duhamel inShotgun Wedding(2022).Photo: Ana Carballosa/Lionsgate

Jennifer Lopez and Josh Duhamel Shotgun Wedding

Josh Duhamelis looking back on his time filmingShotgun Weddingwith fond memories — in big part because of his rapport withJennifer Lopez.

“J.Lo is, like, a … she is a boss. In the best way,” the actor said when asked who was more intimidating between Lopez and hisThing About PamcostarRenée Zellweger, whom he said was “like a sweet little Texas girl.”

“I had one of the most fun times ever making that movie,” Duhamel continued, calling their Dominican Republic filming location “one of the most beautiful places in the world.”

And, to boot, “It’s [a] funny bonkers movie,” he added — as opposed toThe Thing About Pam, which included “a lot of legalese”: “I don’t remember last time I had to work this hard to remember my lines.”

Never miss a story — sign up forPEOPLE’s free daily newsletterto stay up-to-date on the best of what PEOPLE has to offer, from juicy celebrity news to compelling human-interest stories.

Jennifer Lopez and Josh Duhamel inShotgun Wedding(2022).Ana Carballosa/Lionsgate

Jennifer Lopez and Josh Duhamel Shotgun Wedding

But the dream ceremony starts to fall apart when they get cold feet after arriving at the location. Then, the pair are forced to come together to rescue their families from a dangerous hostage situation.

Calling Lopez “fantastic” during a May 2021 virtual appearance onThe Tonight Show, Duhamel went on, “I’ve known her for years, and it sort of came to my attention that the job became available, and I got a chance to meet with her.”

“It waslike rekindling an old friendshipwith an old friend,” he shared.

RELATED VIDEO:Jennifer Lopezon Musical Role inMarry Meand Curating the Film’s Soundtrack

Duhamel also shared more details about filmingShotgunWeddingand how he felt he was unable to handle the Dominican Republic heat as well as his costar could.

“We get to set, you know, the Dominican is hot and beautiful,” Duhamel began, before hostJimmy Fallonquipped, “So is J.Lo” — to which his guest responded, “Yes, exactly.”

“It was very hot, and we were on the run from these pirates and these people that overtook the wedding,” Duhamel continued, referring to the film’s plot. “I’m like, ‘I just crawled out of a river half the time in this movie, I’m completely soaked and sweaty,and she’s just gorgeousthroughout the movie.’ "

“So I’m not sure we’re going to look like the perfect couple half the time because I’m this sweaty mess, and she’s, well, J.Lo,” he joked.

Shotgun Weddingopens in theaters June 29.

source: people.com