equal
deleted
inserted
replaced
25 |
25 |
26 package sun.misc; |
26 package sun.misc; |
27 |
27 |
28 import java.lang.annotation.Annotation; |
28 import java.lang.annotation.Annotation; |
29 import java.lang.reflect.Executable; |
29 import java.lang.reflect.Executable; |
|
30 import java.security.AccessControlContext; |
|
31 |
30 import sun.reflect.ConstantPool; |
32 import sun.reflect.ConstantPool; |
31 import sun.reflect.annotation.AnnotationType; |
33 import sun.reflect.annotation.AnnotationType; |
32 import sun.nio.ch.Interruptible; |
34 import sun.nio.ch.Interruptible; |
33 |
35 |
34 public interface JavaLangAccess { |
36 public interface JavaLangAccess { |
105 * |
107 * |
106 * @param chars the character array to back the string |
108 * @param chars the character array to back the string |
107 * @return a newly created string whose content is the character array |
109 * @return a newly created string whose content is the character array |
108 */ |
110 */ |
109 String newStringUnsafe(char[] chars); |
111 String newStringUnsafe(char[] chars); |
|
112 |
|
113 /** |
|
114 * Returns a new Thread with the given Runnable and an |
|
115 * inherited AccessControlContext. |
|
116 */ |
|
117 Thread newThreadWithAcc(Runnable target, AccessControlContext acc); |
110 } |
118 } |