8160833: ClassesByName2Test.java and RedefineCrossEvent.java failing with jtreg tip
Reviewed-by: dholmes, ctornqvi
This commit is contained in:
parent
284b527560
commit
73837a5f34
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2001, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -28,8 +28,7 @@
|
|||||||
*
|
*
|
||||||
* @author Tim Bell (based on ClassesByName by Robert Field)
|
* @author Tim Bell (based on ClassesByName by Robert Field)
|
||||||
*
|
*
|
||||||
* @modules java.corba
|
* @modules jdk.jdi
|
||||||
* jdk.jdi
|
|
||||||
* @run build TestScaffold VMConnection TargetListener TargetAdapter
|
* @run build TestScaffold VMConnection TargetListener TargetAdapter
|
||||||
* @run compile -g ClassesByName2Test.java
|
* @run compile -g ClassesByName2Test.java
|
||||||
* @run driver ClassesByName2Test
|
* @run driver ClassesByName2Test
|
||||||
@ -70,10 +69,14 @@ class ClassesByName2Targ {
|
|||||||
};
|
};
|
||||||
|
|
||||||
Thread two = new Thread ("TWO") {
|
Thread two = new Thread ("TWO") {
|
||||||
public void run () {
|
public void run () {
|
||||||
javax.rmi.CORBA.Util.getCodebase(this.getClass());
|
try {
|
||||||
|
String s = String.format("%02x", 0xff);
|
||||||
|
} catch (Exception e) {
|
||||||
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
};
|
||||||
|
|
||||||
two.start();
|
two.start();
|
||||||
one.start();
|
one.start();
|
||||||
|
Loading…
Reference in New Issue
Block a user