// Fails on (at least) Linux x64 fastdebug with
//
// java -Xcomp -XX:CompileThreshold=10 -XX:-TieredCompilation Test.java

import javax.swing.*;
import javax.swing.plaf.metal.*;

public class Test {
    public static void main(String[] args) throws Exception {
        LookAndFeel lookAndFeel = new MetalLookAndFeel();
        for (int i = 0; i < 20; ++i) {
            UIManager.setLookAndFeel(lookAndFeel);
        }
    }
}
