< prev index next >
test/hotspot/jtreg/testlibrary/jvmti/libSimpleClassFileLoadHook.c
Print this page
@@ -102,11 +102,11 @@
char* class_name;
char* from;
char* to;
fprintf(stderr, "Agent library loaded with options = %s\n", options);
- if (options != NULL && strncmp(options, "+early,", 7) == 0) {
+ if (options != NULL && strncmp(options, "-early,", 7) == 0) {
early = 1;
options += 7;
}
if ((class_name = options) != NULL &&
(from = strchr(class_name, ',')) != NULL && (from[1] != 0)) {
< prev index next >