Ryan Gosling Discovers R. Kelly Commonality

Warner Bros.

Ryan Gosling couldn't figure out why he always thought of R. Kelly when he saw promotional material for his new movie Gangster Squad ... that was until he compared the film's posters to the Trapped In the Closet images.

"When I saw the posters for the Gangster Squad, I just kept hearing R. Kelly songs in my head," the actor, 31, admitted on Thursday's Jimmy Kimmel Live! (about two minutes into video).

RELATED PICS: Gosling and Emma Stone at Gangster Squad Premiere 

"I couldn't understand why so I called my friend Kay who is an expert in all things R. Kelly. ... And then he sent me this (shows split of movie posters)."

RELATED VIDEO: Gosling Sells Knives With Will Ferrell

Do you see the resemblance?! Gangster Squad hits theaters tomorrow, Jan. 11.