-
Bug
-
Resolution: Fixed
-
P3
-
8
-
None
-
FULL PRODUCT VERSION :
java version " 1.8.0-ea "
Java(TM) SE Runtime Environment (build 1.8.0-ea-lambda-nightly-h4646-20130603-b93-b00)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b33, mixed mode)FULL OS VERSION :
-3.4.42-2.28-desktop #1 SMP PREEMPT Mon Apr 29 09:18:32 UTC 2013 (a7a14eb) x86_64 x86_64 x86_64 GNU/LinuxFULL PRODUCT VERSION : java version " 1.8.0-ea " Java(TM) SE Runtime Environment (build 1.8.0-ea-lambda-nightly-h4646-20130603-b93-b00) Java HotSpot(TM) 64-Bit Server VM (build 25.0-b33, mixed mode) FULL OS VERSION : -3.4.42-2.28-desktop #1 SMP PREEMPT Mon Apr 29 09:18:32 UTC 2013 (a7a14eb) x86_64 x86_64 x86_64 GNU/Linux
[This bug is copied from JBS]
A DESCRIPTION OF THE PROBLEM :
public static void makeEscapeClosable(Node sceneRoot)
{
sceneRoot.setOnKeyPressed(new EventHandler<KeyEvent>()
{
public void handle(KeyEvent ke)
{
if (ke.getCode() == KeyCode.ESCAPE)
{
((Stage) sceneRoot.getScene().getWindow()).close();
}
}
});
}
VM crashes when I try to close the stage using the escape key.
THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: Did not try
THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Did not try
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
public static void makeEscapeClosable(Node sceneRoot)
{
sceneRoot.setOnKeyPressed(new EventHandler<KeyEvent>()
{
public void handle(KeyEvent ke)
{
if (ke.getCode() == KeyCode.ESCAPE)
{
((Stage) sceneRoot.getScene().getWindow()).close();
}
}
});
}
VM crashes when I try to close the stage using the escape key.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
[see attached error-log.txt file]
REPRODUCIBILITY :
This bug can be reproduced always.
A DESCRIPTION OF THE PROBLEM :
public static void makeEscapeClosable(Node sceneRoot)
{
sceneRoot.setOnKeyPressed(new EventHandler<KeyEvent>()
{
public void handle(KeyEvent ke)
{
if (ke.getCode() == KeyCode.ESCAPE)
{
((Stage) sceneRoot.getScene().getWindow()).close();
}
}
});
}
VM crashes when I try to close the stage using the escape key.
THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: Did not try
THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Did not try
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
public static void makeEscapeClosable(Node sceneRoot)
{
sceneRoot.setOnKeyPressed(new EventHandler<KeyEvent>()
{
public void handle(KeyEvent ke)
{
if (ke.getCode() == KeyCode.ESCAPE)
{
((Stage) sceneRoot.getScene().getWindow()).close();
}
}
});
}
VM crashes when I try to close the stage using the escape key.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
[see attached error-log.txt file]
REPRODUCIBILITY :
This bug can be reproduced always.