1: …… 2: protected void cwe_572() { 3: Thread thr = new PrintThread(); 4: // 스레드 객체의 run() 메소드를 직접 호출하는 것은 대부분 버그이다. 5: thr.run(); 6: } …… 7: } 8: class PrintThread extends Thread { 9: public void run() { System.out.println("CWE 572 TEST"); } 10: }