-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
7u6
FULL PRODUCT VERSION :
java version " 1.7.0_15 "
Java(TM) SE Runtime Environment (build 1.7.0_15-b03)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
I'm actually using OSX 10.8, which wasn't listed as an option so perhaps it isn't supported.
A DESCRIPTION OF THE PROBLEM :
An error message appears in console output when running application.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Simply run the provided code and the error message should appear.
ACTUAL -
Application remains running in fullscreen, but error message appears.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
2013-04-04 11:08:27.783 java[2883:1703] Cocoa AWT: Not running on AppKit thread 0 when expected. (
0 liblwawt.dylib 0x00000001624974cc Java_sun_lwawt_macosx_CPlatformWindow_nativeGetNSWindowDisplayID_1AppKitThread + 59
1 ??? 0x00000001044b7f90 0x0 + 4367024016
)
2013-04-04 11:08:27.784 java[2883:1703] Please file a bug report at http://java.net/jira/browse/MACOSX_PORT with this message and a reproducible test case.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import java.awt.BorderLayout;
import java.awt.GraphicsDevice;
import java.awt.GraphicsEnvironment;
import javax.swing.JFrame;
import javax.swing.JPanel;
public class test {
public static void main(String[] args){
GraphicsDevice g = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice();
if (!g.isFullScreenSupported ())
{
throw new UnsupportedOperationException ( " Fullscreen mode is unsupported. " );
}
JFrame window = new JFrame();
window.setLayout (new BorderLayout());
window.add (new JPanel (), BorderLayout.CENTER);
g.setFullScreenWindow(window);
}
}
---------- END SOURCE ----------
java version " 1.7.0_15 "
Java(TM) SE Runtime Environment (build 1.7.0_15-b03)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
I'm actually using OSX 10.8, which wasn't listed as an option so perhaps it isn't supported.
A DESCRIPTION OF THE PROBLEM :
An error message appears in console output when running application.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Simply run the provided code and the error message should appear.
ACTUAL -
Application remains running in fullscreen, but error message appears.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
2013-04-04 11:08:27.783 java[2883:1703] Cocoa AWT: Not running on AppKit thread 0 when expected. (
0 liblwawt.dylib 0x00000001624974cc Java_sun_lwawt_macosx_CPlatformWindow_nativeGetNSWindowDisplayID_1AppKitThread + 59
1 ??? 0x00000001044b7f90 0x0 + 4367024016
)
2013-04-04 11:08:27.784 java[2883:1703] Please file a bug report at http://java.net/jira/browse/MACOSX_PORT with this message and a reproducible test case.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import java.awt.BorderLayout;
import java.awt.GraphicsDevice;
import java.awt.GraphicsEnvironment;
import javax.swing.JFrame;
import javax.swing.JPanel;
public class test {
public static void main(String[] args){
GraphicsDevice g = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice();
if (!g.isFullScreenSupported ())
{
throw new UnsupportedOperationException ( " Fullscreen mode is unsupported. " );
}
JFrame window = new JFrame();
window.setLayout (new BorderLayout());
window.add (new JPanel (), BorderLayout.CENTER);
g.setFullScreenWindow(window);
}
}
---------- END SOURCE ----------
- duplicates
-
JDK-7175707 [macosx] PIT: 8 b43 Not running on AppKit thread issue again
- Resolved