Searched refs:what (Results 1 - 25 of 113) sorted by relevance

12345

/openjdk10/jaxws/src/jdk.xml.bind/share/classes/com/sun/codemodel/internal/
H A DJAtom.java34 private final String what; field in class:JAtom
36 JAtom(String what) { argument
37 this.what = what;
41 f.p(what);
H A DJStringLiteral.java39 JStringLiteral(String what) { argument
40 this.str = what;
/openjdk10/jdk/test/java/beans/Introspector/8132566/
H A DChecker.java28 static void checkEq(String what, Object v, Object ref) throws Exception { argument
30 System.out.println(what + ": ok (" + ref.toString() + ")");
32 "invalid " + what + ", expected: \"" + ref + "\", got: \"" + v + "\"");
36 static void checkEnumEq(String what, Object v, Object ref[]) throws Exception { argument
37 if (v == null) { throw new Exception("null " + what); }
38 if (!(v instanceof Object[])) { throw new Exception("invalid " + what); }
39 if (Arrays.equals((Object []) v, ref)) { System.out.println(what + ": ok"); }
40 else { throw new Exception("invalid " + what); }
/openjdk10/jdk/test/java/rmi/reliability/juicer/
H A DAppleEvent.java38 private final int what; field in class:AppleEvent
41 public AppleEvent(int what) { argument
42 this.what = what;
48 switch (what) {
/openjdk10/jdk/test/sun/rmi/rmic/newrmic/equivalence/
H A DAppleEvent.java37 private int what; field in class:AppleEvent
41 public AppleEvent(int what) argument
43 this.what = what;
50 switch (what) {
/openjdk10/jdk/test/javax/management/MBeanServer/
H A DAttributeListTypeSafeTest.java46 String what = "asList() after calling " + op + " with non-Attribute";
49 fail(what + ": succeeded but should not have");
51 System.out.println("OK: " + what + ": got IllegalArgumentException");
60 String what = op + " with non-Attribute after calling asList()";
63 fail(what + ": succeeded but should not have");
65 System.out.println("OK: " + what + ": got IllegalArgumentException");
80 private Op(String what) { argument
81 this.what = what;
86 return what;
89 private final String what; field in class:AttributeListTypeSafeTest.Op
[all...]
/openjdk10/hotspot/test/native/logging/
H A DlogTestFixture.hpp43 const char* what,
H A DlogTestFixture.cpp49 const char* what,
55 bool success = LogConfiguration::parse_log_arguments(output, what, decorators, options, &stream);
48 set_log_config(const char* output, const char* what, const char* decorators, const char* options, bool allow_failure) argument
/openjdk10/jdk/test/javax/management/mxbean/
H A DMXBeanFallbackTest.java77 private static void success(String what) { argument
78 System.out.println("OK: " + what);
81 private static void failure(String what) { argument
82 System.out.println("FAILED: " + what);
/openjdk10/common/bin/
H A Dunshuffle_patch.sh111 what="" ## shuffle or unshuffle
146 if [ "${what}" = "" ] ; then
148 what="unshuffle"
150 what="shuffle"
152 verbose "Shuffle or unshuffle: $what"
161 if [ "${what}" = "shuffle" ] ; then
182 if [ "${what}" = "shuffle" ] ; then
/openjdk10/jdk/test/java/io/File/
H A DListNull.java36 static void go(String what, Object[] fs) throws Exception { argument
38 throw new Exception(what + " returned null");
39 System.err.println("-- " + what);
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/module/
H A DChecks.java125 public static String requireQualifiedClassName(String what, String name) { argument
126 requireTypeName(what, name);
162 private static String requireTypeName(String what, String name) { argument
164 throw new IllegalArgumentException("Null " + what);
170 throw new IllegalArgumentException(name + ": Invalid " + what
177 throw new IllegalArgumentException(name + ": Invalid " + what
H A DIllegalAccessLogger.java216 * The {@code what} parameter supplies the message that describes the member.
257 * Logs access by a caller class. The {@code what} parameter describes
260 private void log(Class<?> caller, String what) { argument
261 log(caller, what, () -> {
266 return "WARNING: Illegal reflective access by " + source + " to " + what;
271 * Log access by a caller. The {@code what} parameter describes the class or
277 * where a Usage is the "what" and a hash of the stack trace. The map has weak
280 private void log(Class<?> caller, String what, Supplier<String> msgSupplier) { argument
300 Usage u = new Usage(what, hash(stack));
374 private final String what; field in class:IllegalAccessLogger.Usage
376 Usage(String what, int stack) argument
[all...]
/openjdk10/jdk/test/java/lang/System/Logger/Level/
H A DLoggerLevelTest.java58 private static void assertEquals(Object actual, Object expected, String what) { argument
60 throw new RuntimeException("Bad value for " + what
64 System.out.println("Got expected value for " + what + ": " + actual);
68 private static void assertEquals(int actual, int expected, String what) { argument
70 throw new RuntimeException("Bad value for " + what
74 System.out.println("Got expected value for " + what + ": " + toString(actual));
/openjdk10/hotspot/src/os/aix/vm/
H A Dmisc_aix.hpp47 template <class T1, class T2> bool is_aligned_to(T1 what, T2 alignment) { argument
48 return (((uintx)(what)) & (((uintx)(alignment)) - 1)) == 0 ? true : false;
/openjdk10/jdk/test/javax/management/Introspector/
H A DChangingNotifsTest.java74 String what = mx ? "MXBean" : "Standard MBean";
82 fail(what + " has immutableInfo=" + immut + ", should be " +
90 fail(what + " notif info " +
94 System.out.println("OK: " + what);
H A DSetWrongTypeAttributeTest.java180 private static void test(String what, Object obj) throws Exception { argument
181 System.out.println(what + "...");
193 fail(what, doing + " succeeded but should fail!");
200 fail(what, doing + " got wrong exception: " + e);
207 private static void fail(String what, String msg) { argument
208 failure = what + ": " + msg;
H A DInvokeGettersTest.java132 String what =
136 ok = fail(what + " worked but should not have");
139 System.out.println(what + " failed as expected");
141 ok = fail(what + " got exception with wrong nested " +
/openjdk10/jdk/test/javax/management/openmbean/
H A DIsValueTest.java131 private static void check(boolean value, String what) { argument
133 System.out.println("OK: " + what);
135 failed = what;
136 System.out.println("FAILED: " + what);
/openjdk10/jdk/test/java/lang/reflect/Generics/
H A DTestPlainArrayNotGeneric.java99 private static void check(Type[] types, String elementKind, String what) { argument
102 check(t, elementKind + " " + (i+1) + " of " + what);
108 private static void check(Type t, String what) { argument
113 check2(t, what);
119 private static void check2(Type t, String what) { argument
122 check(pt.getActualTypeArguments(), "type argument", what);
125 check(tv.getBounds(), "bound", what);
128 check((Type) gd, "declaration containing " + what);
131 check(wt.getLowerBounds(), "lower bound", "wildcard type in " + what);
132 check(wt.getUpperBounds(), "upper bound", "wildcard type in " + what);
[all...]
/openjdk10/jdk/test/javax/management/modelmbean/
H A DDescriptorSupportXMLTest.java76 final String what =
89 System.out.println("OK: " + what + ": got a " +
96 System.out.println("FAILED: " + what + ": got a " +
104 System.out.println("Encoded " + what + " as " + xml);
110 System.out.println("FAILED: " + what + ": got an exception:");
H A DDescriptorSupportTest.java105 final String what =
111 System.out.println("INCORRECTLY ACCEPTED: " + what);
114 System.out.println("OK: rejected " + what);
132 final String what =
137 System.out.println("OK: accepted " + what);
139 System.out.println("INCORRECTLY ACCEPTED: " + what);
144 System.out.println("INCORRECTLY REJECTED: " + what +
148 System.out.println("OK: rejected " + what);
149 // OK: this is what should happen
152 System.out.println("WRONG EXCEPTION: " + what
207 caseTest(Descriptor d, String what) argument
[all...]
/openjdk10/jdk/src/java.desktop/share/native/libfontmanager/layout/
H A DOpenTypeUtilities.cpp233 U_CAPI void U_EXPORT2 _debug_LETableReference(const char *f, int l, const char *msg, const LETableReference *what, const void *ptr, size_t len) { argument
236 fprintf(stderr, "%s:%d: LETableReference@0x%p: ", f, l, what);
240 for(int depth=0;depth<10&&(what!=NULL);depth++) {
244 if(!what->isValid()) {
247 fprintf(stderr, "@%p: tag (%s) font (0x%p), [0x%p+0x%lx]\n", what, letagToStr(what->getTag(), tagbuf), what->getFont(),
248 what->getAlias(), what->getLength());
250 what
[all...]
/openjdk10/jdk/test/java/awt/font/TextLayout/
H A DVisibleAdvance.java87 private static float[] showAndCalculateAdvance (String what, argument
93 System.out.println (what + "Advance = " + layout.getAdvance () +
100 throw new RuntimeException("MISMATCH in advance.. " + what + "Advance = " + layout.getAdvance () +
/openjdk10/jdk/test/javax/management/remote/mandatory/loading/
H A DMethodResultTest.java219 private static Exception noException(String what) { argument
221 "Operation " + what + " returned when exception expected";
229 private static boolean checkType(String what, Object object, argument
231 return checkType(what, object, wrongClass, false);
234 private static boolean checkType(String what, Object object, argument
238 System.out.println("For " + type + " " + rendered + " by " + what +
256 private static boolean checkExceptionType(String what, Exception exception, argument
259 System.out.println("Exception thrown by " + what + " is not an " +
268 return checkType(what, exception, wrongClass, true);
271 private static boolean checkAttrs(String what, AttributeLis argument
[all...]

Completed in 164 milliseconds

12345