use assembly name from the build process for the GraphicsEnvironment

This commit is contained in:
smallsql 2009-05-07 20:41:48 +00:00
Родитель 081a361661
Коммит 9a424a8338
2 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -394,7 +394,7 @@ public class VMSystemProperties
p.setProperty("sun.os.patch.level", "");
p.setProperty("java.vm.info", "compiled mode");
p.setProperty("sun.nio.MaxDirectMemorySize", "-1");
p.setProperty("java.awt.graphicsenv", "ikvm.awt.NetGraphicsEnvironment, IKVM.AWT.WinForms");
p.setProperty("java.awt.graphicsenv", Configuration.default_graphics_enviroment );
// TODO
// sun.cpu.isalist:=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
// sun.desktop:=windows

Просмотреть файл

@ -29,4 +29,6 @@ package gnu.classpath;
public interface Configuration
{
String default_awt_peer_toolkit = "ikvm.awt.NetToolkit, @AWTASSEMBLY@";
String default_graphics_enviroment = "ikvm.awt.NetGraphicsEnvironment, @AWTASSEMBLY@";
}