Jennifer Lopez's New Single Was Produced by Dr. Luke -- and Fans Aren't Happy About It

Getty Images

Jennifer Lopez ain't your mama and people ain't happy with the diva about it.

The 46-year-old singer released her new single, "Ain't Your Mama," this week and fans quickly noted that the track was co-produced by Dr. Luke -- the same producer that Kesha accused of drugging and sexually assaulting her. (Dr. Luke has called Kesha's claims "outright lies.")

Lopez performed the song -- which was co-written by Meghan Trainor -- during the American Idol finale on Thursday. Sources tell ET that "Ain't Your Mama" was actually written years ago, with Dr. Luke producing at the time -- well before Kesha's lawsuit was filed. 

Lopez, who returned to Sony's Epic Records earlier this year, recorded the song within the last two months after falling in love with the track and never worked with Dr. Luke -- who wasn't involved in the final product -- on the song.

Meanwhile, fans have been @replying the pop star to express disappointment in who she has chosen to work with.

WATCH: Kesha Posts Sexy Bikini Pic, Tells Body Shamers to 'F**k Off'

"I'm disgusted to see that this was produced by Dr. Luke. I can't believe you, I'm disappointed in you, and I won't listen," one Twitter user wrote to J.Lo, a sentiment that was echoed by many more.

PHOTOS: Iggy Azalea and Kesha Ride Horses Together Amid Personal Dramas

Others called for a boycott of the song, refusing to buy it because of the Dr. Luke connection:

Lopez's friend, Demi Lovato, even took heat for tweeting her support for "Ain't Your Mama":

Thursday's episode of American Idol was also the series' final show. Check out the best, most surprising and weirdest moments from the finale in the video below.