Skip to content

Commit

Permalink
8278172: java/nio/channels/FileChannel/BlockDeviceSize.java should on…
Browse files Browse the repository at this point in the history
…ly run on Linux

Reviewed-by: lancea, alanb
  • Loading branch information
Brian Burkhalter committed Dec 3, 2021
1 parent 0e7b6bc commit 0d938ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/jdk/java/nio/channels/FileChannel/BlockDeviceSize.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014, 2021, 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
Expand All @@ -23,6 +23,7 @@

/* @test
* @bug 8054029
* @requires (os.family == "linux")
* @summary Block devices should not report size=0 on Linux
*/

Expand Down

3 comments on commit 0d938ce

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GoeLin
Copy link
Member

@GoeLin GoeLin commented on 0d938ce Jan 4, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/backport jdk17u-dev

@openjdk
Copy link

@openjdk openjdk bot commented on 0d938ce Jan 4, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GoeLin the backport was successfully created on the branch GoeLin-backport-0d938ced in my personal fork of openjdk/jdk17u-dev. To create a pull request with this backport targeting openjdk/jdk17u-dev:master, just click the following link:

➡️ Create pull request

The title of the pull request is automatically filled in correctly and below you find a suggestion for the pull request body:

Hi all,

This pull request contains a backport of commit 0d938ced from the openjdk/jdk repository.

The commit being backported was authored by Brian Burkhalter on 3 Dec 2021 and was reviewed by Lance Andersen and Alan Bateman.

Thanks!

If you need to update the source branch of the pull then run the following commands in a local clone of your personal fork of openjdk/jdk17u-dev:

$ git fetch https://github.com/openjdk-bots/jdk17u-dev GoeLin-backport-0d938ced:GoeLin-backport-0d938ced
$ git checkout GoeLin-backport-0d938ced
# make changes
$ git add paths/to/changed/files
$ git commit --message 'Describe additional changes made'
$ git push https://github.com/openjdk-bots/jdk17u-dev GoeLin-backport-0d938ced

Please sign in to comment.