Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/java.sql/share/classes/java/sql/Driver.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@

package java.sql;

import org.checkerframework.checker.nullness.qual.Nullable;

import java.util.logging.Logger;

/**
Expand Down Expand Up @@ -88,7 +90,7 @@ public interface Driver {
* @throws SQLException if a database access error occurs or the url is
* {@code null}
*/
Connection connect(String url, java.util.Properties info)
@Nullable Connection connect(String url, java.util.Properties info)
throws SQLException;

/**
Expand Down