Yes. It's worth noting that the leadership of the Trotskyist SWP was also prosecuted and jailed under the Smith Act, ostensibly for advocating violent revolution. In fact, it was an effort quash the fledgling party which was actively seeking to undermine the no-strike pact between the labour leadership and the Roosevelt administration during World War II. The CP, which supported the war effort and no-strike pledge and sought to eliminate Trotskyism, endorsed the government's action. Ironically, the CP would be later forced to defend itself when its leaders were indicted under the Smith Act with the onset of the Cold War along the same lines as had the SWP in 1941.
^^^^^^ CB : Yes, and as you say, the SWP was seeking to undermine the no-strike pact and the entry of the US into WWII. That would be undermining the war effort against fascism and betraying the world working class. That would seem to be worthy of punishment by imprisonment.
The CPUSA , of course, supported the SU and world working class by supporting the Popular Front against fascism.
By the way, when the Smith and McCarran Acts were used against the CPUSA, it was by the Democratic President Truman. So, the CPUSA knows far better than all of today's anti-DP leftists how treacherous the Democratic Party can be. Ignorant of this juvenile leftists chastise the CPUSA's positions on the DP.