提交 e018988c 编写于 作者: S serb

8074668: [macosx] Mac 10.10: Application run with splash screen has focus issues

Reviewed-by: prr, ant, alexsch
上级 4f840f30
......@@ -131,11 +131,7 @@ char* SplashGetScaledImageName(const char* jar, const char* file,
NSAutoreleasePool *pool = [NSAutoreleasePool new];
*scaleFactor = 1;
char* scaledFile = nil;
__block float screenScaleFactor = 1;
[ThreadUtilities performOnMainThreadWaiting:YES block:^(){
screenScaleFactor = [SplashNSScreen() backingScaleFactor];
}];
float screenScaleFactor = 1;
if (screenScaleFactor > 1) {
NSString *fileName = [NSString stringWithUTF8String: file];
......
......@@ -36,7 +36,7 @@ import javax.imageio.ImageIO;
import sun.java2d.SunGraphics2D;
/**
* @test
* test
* @bug 8043869
* @author Alexander Scherbatiy
* @summary [macosx] java -splash does not honor 2x hi dpi notation for retina
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册