8170839: failed test case is not checked in java/rmi/activation/ActivateFailedException/activateFails/ActivateFails.java
Reviewed-by: rriggs
This commit is contained in:
parent
d8e5d53723
commit
94918671a6
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1998, 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
|
||||
@ -140,7 +140,7 @@ public class ActivateFails
|
||||
System.err.println("invoking method on activatable object...");
|
||||
try {
|
||||
obj1.ping();
|
||||
|
||||
throw new RuntimeException("ActivateFailedException is expected");
|
||||
} catch (ActivateFailedException e) {
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user