While Jews have sometimes viewed Josephus as disloyal, the Talmud offers no opinion on the general who surrendered to the Romans—perhaps because suicide would have been halakhically worse than defection.  Gil Student, Torah Musings.
Jewish Ideas Daily