8296167: test/langtools/tools/jdeps/jdkinternals/ShowReplacement.java failing after JDK-8296072

Reviewed-by: alanb
This commit is contained in:
Weijun Wang 2022-11-01 15:14:19 +00:00
parent 0d0bd7bd40
commit da0ae5128a

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2016, 2022, 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
@ -24,11 +24,11 @@
package q;
import java.io.IOException;
import java.io.OutputStream;
import sun.security.util.DerEncoder;
import sun.security.util.DerOutputStream;
public class NoRepl implements DerEncoder {
public void derEncode(OutputStream out) throws IOException {
public void derEncode(DerOutputStream out) throws IOException {
throw new IOException();
}
}