src/java.prefs/share/classes/java/util/prefs/AbstractPreferences.java

Print this page
rev 13541 : 8147545: Remove sun.misc.ManagedLocalsThread from java.prefs
Summary: Replace ManagedLocalsThread with Thread(null,null,threadName,0,false)
Reviewed-by: XXX

*** 1,7 **** /* ! * Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 27,37 **** import java.util.*; import java.io.*; import java.security.AccessController; import java.security.PrivilegedAction; - import sun.misc.ManagedLocalsThread; // These imports needed only as a workaround for a JavaDoc bug import java.lang.Integer; import java.lang.Long; import java.lang.Float; import java.lang.Double; --- 27,36 ----
*** 1513,1523 **** /** * A single background thread ("the event notification thread") monitors * the event queue and delivers events that are placed on the queue. */ ! private static class EventDispatchThread extends ManagedLocalsThread { public void run() { while(true) { // Wait on eventQueue till an event is present EventObject event = null; synchronized(eventQueue) { --- 1512,1526 ---- /** * A single background thread ("the event notification thread") monitors * the event queue and delivers events that are placed on the queue. */ ! private static class EventDispatchThread extends Thread { ! private EventDispatchThread() { ! super(null, null, "Event Dispatch Thread", 0, false); ! } ! public void run() { while(true) { // Wait on eventQueue till an event is present EventObject event = null; synchronized(eventQueue) {