Skip to content
Permalink
Browse files

8250640: Address reliance on default constructors in jdk.jdi

Reviewed-by: alanb
  • Loading branch information
jddarcy committed Jul 28, 2020
1 parent 31368cd commit 8a9675663f07411c281ad0f6b5c8ec33bb9bf53a
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 2020, 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
@@ -38,6 +38,11 @@
*/

public class Bootstrap extends Object {
/**
* Do not call.
*/
@Deprecated(since="16", forRemoval=true)
public Bootstrap() {}

/**
* Returns the virtual machine manager.
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 2020, 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
@@ -55,6 +55,10 @@
* @since 1.5
*/
public abstract class Connection {
/**
* Constructor for subclasses to call.
*/
public Connection() {}

/**
* Reads a packet from the target VM.
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 2020, 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
@@ -79,6 +79,10 @@
* @since 1.5
*/
public abstract class TransportService {
/**
* Constructor for subclasses to call.
*/
public TransportService() {}

/**
* Returns a name to identify the transport service.
@@ -98,6 +102,10 @@
* The transport service capabilities.
*/
public static abstract class Capabilities {
/**
* Constructor for subclasses to call.
*/
public Capabilities() {}

/**
* Tells whether or not this transport service can support
@@ -229,6 +237,10 @@ public abstract Connection attach(String address, long attachTimeout,
* service from listening on an address.
*/
public static abstract class ListenKey {
/**
* Constructor for subclasses to call.
*/
public ListenKey() {}

/**
* Returns a string representation of the listen key.

0 comments on commit 8a96756

Please sign in to comment.