Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8251904: vmTestbase/nsk/sysdict/vm/stress/btree/btree010/btree010.java fails with ClassNotFoundException: nsk.sysdict.share.BTree0LLRLRLRRLR #6111

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ protected void parseArgs(String args[]) {
}
try {
// Load FatsInfo with URLClassLoader btree.jar & fats.jar should not
// present in classpath
// be present in classpath
Class info;
if (useFats) {
info = createJarLoader().loadClass(PACKAGE_PREFIX + "FatsInfo");
Expand All @@ -76,7 +76,7 @@ protected void parseArgs(String args[]) {
}

if (level >= height) {
throw new Failure("Icorrect level : " + level + " .Should be less then " + height);
throw new Failure("Incorrect level : " + level + " should be less than " + height);
}

// generate names for all nodes at the given level:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2010, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2010, 2021, 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
Expand Down Expand Up @@ -62,7 +62,7 @@ protected void parseArgs(String args[]) {
if (args[i].equals("-useSingleLoader")) {
this.useSingleLoader = false;
}
// jar path is in useal classpath format
// jar path is in usual classpath format
if (args[i].equals("-jarpath")) {
String[] files = args[i + 1].split(File.pathSeparator);
jars = new URL[files.length];
Expand Down Expand Up @@ -148,9 +148,7 @@ public void run() {
// set name into public variable just to be sure
// that class is loaded
tmp = clz.getName();
} catch (ClassNotFoundException cnfe) {
throw new TestFailure(cnfe);
} catch (OutOfMemoryError oome) {
} catch (OutOfMemoryError | ClassNotFoundException e) {
// just ignore
// we do not check memory leaks in PermGen in this tests
hseigel marked this conversation as resolved.
Show resolved Hide resolved
} catch (StackOverflowError soe) {
Expand All @@ -164,6 +162,7 @@ public void run() {
}
}


@Override
protected Runnable createRunnable(int i) {
currentClassLoaders = createClassLoadersInternal();
Expand Down