mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
use mockJdk18 by default in LightCodeInsightTestCase; remove dependency on swing/net classes in some tests
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
import javax.swing.*;
|
||||
import java.awt.event.WindowAdapter;
|
||||
import java.awt.event.WindowEvent;
|
||||
|
||||
final class Bug
|
||||
extends JFrame {
|
||||
@@ -14,7 +11,15 @@ final class Bug
|
||||
|
||||
private class MyWindowListener
|
||||
extends WindowAdapter {
|
||||
public void windowActivated(WindowEvent e) {
|
||||
public void windowActivated(int e) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class JFrame {
|
||||
public void addWindowListener(WindowAdapter e) {}
|
||||
static class WindowAdapter {
|
||||
public void windowActivated(int e) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user