[jbosstools-commits] JBoss Tools SVN: r43849 - trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Thu Sep 20 03:18:43 EDT 2012
Author: ljelinko
Date: 2012-09-20 03:18:43 -0400 (Thu, 20 Sep 2012)
New Revision: 43849
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/RequirementAwareSuite.java
Log:
Added logs to debug AWT toolkit problem on Mac
Modified: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/RequirementAwareSuite.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/RequirementAwareSuite.java 2012-09-20 06:37:55 UTC (rev 43848)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/RequirementAwareSuite.java 2012-09-20 07:18:43 UTC (rev 43849)
@@ -198,8 +198,13 @@
RequirementAwareSuite.startScreenRecorder(getTestClass().getJavaClass().getSimpleName());
}
- if (SWTJBTExt.isRunningOnMacOs() && "1.7".equals(System.getProperty("java.specification.version"))){
+ String javaVersion = System.getProperty("java.specification.version");
+ log.info("Is running on MacOS: " + SWTJBTExt.isRunningOnMacOs());
+ log.info("Java version: " + javaVersion);
+ if (SWTJBTExt.isRunningOnMacOs() && "1.7".equals(javaVersion)){
+ log.info("default AWT toolkit: " + System.getProperty("awt.toolkit"));
System.setProperty("awt.toolkit", "sun.lwawt.macosx.LWCToolkit");
+ log.info("AWT toolkit changed to: " + System.getProperty("awt.toolkit"));
}
if (RequirementAwareSuite.runManageBlockingWindow){
More information about the jbosstools-commits
mailing list