Young Törless (1966)
Young Törless is a 1966 German film directed by Volker Schlöndorff, adapted from the autobiographical novel The Confusions of Young Törless by Robert Musil. It deals with the violent, sadistic and homoerotic tendencies of a group of boys at an Austrian military academy at the beginning of the 20th century.
More at Wikipedia.