changeset 40467:59974d82d6a7

8160833: ClassesByName2Test.java and RedefineCrossEvent.java failing with jtreg tip Reviewed-by: dholmes, ctornqvi
author gtriantafill
date Mon, 15 Aug 2016 15:35:27 -0400
parents 4abc0b9bd305
children ae9bae97a312
files jdk/test/com/sun/jdi/ClassesByName2Test.java
diffstat 1 files changed, 9 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/test/com/sun/jdi/ClassesByName2Test.java	Fri Aug 12 14:12:56 2016 -0700
+++ b/jdk/test/com/sun/jdi/ClassesByName2Test.java	Mon Aug 15 15:35:27 2016 -0400
@@ -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.
  *
  * 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)
  *
- *  @modules java.corba
- *           jdk.jdi
+ *  @modules jdk.jdi
  *  @run build TestScaffold VMConnection TargetListener TargetAdapter
  *  @run compile -g ClassesByName2Test.java
  *  @run driver ClassesByName2Test
@@ -70,10 +69,14 @@
                 };
 
             Thread two = new Thread ("TWO") {
-                    public void run () {
-                        javax.rmi.CORBA.Util.getCodebase(this.getClass());
+                public void run () {
+                    try {
+                        String s = String.format("%02x", 0xff);
+                    } catch (Exception e) {
+                        e.printStackTrace();
                     }
-                };
+                }
+            };
 
             two.start();
             one.start();