src/share/classes/com/sun/corba/se/impl/protocol/LocalClientRequestDispatcherBase.java

changeset 371
e324dfb90c9e
parent 158
91006f157c46
child 748
6845b95cba6b
equal deleted inserted replaced
334:66c7161ee588 371:e324dfb90c9e
1 /* 1 /*
2 * Copyright (c) 2002, 2003, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2002, 2012, 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
50 protected ObjectAdapterId oaid ; 50 protected ObjectAdapterId oaid ;
51 protected byte[] objectId ; 51 protected byte[] objectId ;
52 52
53 // If isNextIsLocalValid.get() == Boolean.TRUE, 53 // If isNextIsLocalValid.get() == Boolean.TRUE,
54 // the next call to isLocal should be valid 54 // the next call to isLocal should be valid
55 protected static ThreadLocal isNextCallValid = new ThreadLocal() { 55 private static final ThreadLocal isNextCallValid = new ThreadLocal() {
56 protected synchronized Object initialValue() { 56 protected synchronized Object initialValue() {
57 return Boolean.TRUE; 57 return Boolean.TRUE;
58 } 58 }
59 }; 59 };
60 60

mercurial