equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1995, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1995, 2015, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
860 Object syncObject = new Object(); |
860 Object syncObject = new Object(); |
861 AppContext appContext = null; |
861 AppContext appContext = null; |
862 volatile boolean created = false; |
862 volatile boolean created = false; |
863 |
863 |
864 AppContextCreator(ThreadGroup group) { |
864 AppContextCreator(ThreadGroup group) { |
865 super(group, null, "AppContextCreator"); |
865 super(group, "AppContextCreator"); |
866 } |
866 } |
867 |
867 |
868 public void run() { |
868 public void run() { |
869 appContext = SunToolkit.createNewAppContext(); |
869 appContext = SunToolkit.createNewAppContext(); |
870 created = true; |
870 created = true; |