[jira] [Work logged] (COMPRESS-584) IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/COMPRESS-584?focusedWorklogId=633968&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-633968 ] ASF GitHub Bot logged work on COMPRESS-584: --- Author: ASF GitHub B

[GitHub] [commons-compress] PeterAlfredLee commented on pull request #214: [COMPRESS-584] Fix IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread GitBox
PeterAlfredLee commented on pull request #214: URL: https://github.com/apache/commons-compress/pull/214#issuecomment-893209493 This current implemention looks good to me now. For the "no copy buffer" version, it looks more efficient. But I'm not quite sure about this. I will try to m

[jira] [Commented] (VFS-807) LocalFile migration to NIO is not done correctly

2021-08-04 Thread Gary D. Gregory (Jira)
[ https://issues.apache.org/jira/browse/VFS-807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17393510#comment-17393510 ] Gary D. Gregory commented on VFS-807: - Hi [~klv_m72] Please provide your diff as a PR o

[jira] [Work logged] (LANG-1593) Common behaviour for StringUtils join APIs when called with char or String delimiter

2021-08-04 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/LANG-1593?focusedWorklogId=633890&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-633890 ] ASF GitHub Bot logged work on LANG-1593: Author: ASF GitHub Bot

[GitHub] [commons-lang] coveralls commented on pull request #784: [LANG-1593] Common behavior for StringUtils join APIs when called with char or String delimiter

2021-08-04 Thread GitBox
coveralls commented on pull request #784: URL: https://github.com/apache/commons-lang/pull/784#issuecomment-893057654 [![Coverage Status](https://coveralls.io/builds/41915872/badge)](https://coveralls.io/builds/41915872) Coverage increased (+0.009%) to 95.003% when pulling **ed6

[jira] [Work logged] (LANG-1593) Common behaviour for StringUtils join APIs when called with char or String delimiter

2021-08-04 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/LANG-1593?focusedWorklogId=633874&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-633874 ] ASF GitHub Bot logged work on LANG-1593: Author: ASF GitHub Bot

[jira] [Work logged] (LANG-1593) Common behaviour for StringUtils join APIs when called with char or String delimiter

2021-08-04 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/LANG-1593?focusedWorklogId=633875&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-633875 ] ASF GitHub Bot logged work on LANG-1593: Author: ASF GitHub Bot

[GitHub] [commons-lang] garydgregory commented on a change in pull request #784: [LANG-1593] Common behavior for StringUtils join APIs when called with char or String delimiter

2021-08-04 Thread GitBox
garydgregory commented on a change in pull request #784: URL: https://github.com/apache/commons-lang/pull/784#discussion_r683017853 ## File path: src/main/java/org/apache/commons/lang3/StringUtils.java ## @@ -4307,13 +4481,48 @@ public static String join(final int[] array, fina

[GitHub] [commons-lang] garydgregory commented on a change in pull request #784: [LANG-1593] Common behavior for StringUtils join APIs when called with char or String delimiter

2021-08-04 Thread GitBox
garydgregory commented on a change in pull request #784: URL: https://github.com/apache/commons-lang/pull/784#discussion_r683017648 ## File path: src/main/java/org/apache/commons/lang3/StringUtils.java ## @@ -4818,13 +5052,48 @@ public static String join(final short[] array, fi

[jira] [Work logged] (LANG-1593) Common behaviour for StringUtils join APIs when called with char or String delimiter

2021-08-04 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/LANG-1593?focusedWorklogId=633873&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-633873 ] ASF GitHub Bot logged work on LANG-1593: Author: ASF GitHub Bot

[GitHub] [commons-lang] garydgregory commented on a change in pull request #784: [LANG-1593] Common behavior for StringUtils join APIs when called with char or String delimiter

2021-08-04 Thread GitBox
garydgregory commented on a change in pull request #784: URL: https://github.com/apache/commons-lang/pull/784#discussion_r683017414 ## File path: src/main/java/org/apache/commons/lang3/StringUtils.java ## @@ -4858,6 +5127,38 @@ public static String join(final short[] array, fin

[GitHub] [commons-lang] garydgregory commented on a change in pull request #784: [LANG-1593] Common behavior for StringUtils join APIs when called with char or String delimiter

2021-08-04 Thread GitBox
garydgregory commented on a change in pull request #784: URL: https://github.com/apache/commons-lang/pull/784#discussion_r683017191 ## File path: src/main/java/org/apache/commons/lang3/StringUtils.java ## @@ -4858,6 +5127,38 @@ public static String join(final short[] array, fin

[jira] [Work logged] (LANG-1593) Common behaviour for StringUtils join APIs when called with char or String delimiter

2021-08-04 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/LANG-1593?focusedWorklogId=633872&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-633872 ] ASF GitHub Bot logged work on LANG-1593: Author: ASF GitHub Bot

[jira] [Commented] (VFS-807) LocalFile migration to NIO is not done correctly

2021-08-04 Thread Gary D. Gregory (Jira)
[ https://issues.apache.org/jira/browse/VFS-807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17393448#comment-17393448 ] Gary D. Gregory commented on VFS-807: - Hi [~klv_m72] Please don't delete comments ("//

[GitHub] [commons-io] garydgregory merged pull request #255: Bump maven-enforcer-plugin from 3.0.0-M3 to 3.0.0

2021-08-04 Thread GitBox
garydgregory merged pull request #255: URL: https://github.com/apache/commons-io/pull/255 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-u

[jira] [Commented] (LANG-1593) Common behaviour for StringUtils join APIs when called with char or String delimiter

2021-08-04 Thread Hubert Wojciechowski (Jira)
[ https://issues.apache.org/jira/browse/LANG-1593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17393438#comment-17393438 ] Hubert Wojciechowski commented on LANG-1593: Draft PR created: https://github.

[jira] [Commented] (EMAIL-197) How about a release? :)

2021-08-04 Thread Gary D. Gregory (Jira)
[ https://issues.apache.org/jira/browse/EMAIL-197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17393343#comment-17393343 ] Gary D. Gregory commented on EMAIL-197: --- This is a topic for the mailing list, not j

[jira] [Created] (EMAIL-197) How about a release? :)

2021-08-04 Thread Cott Lang (Jira)
Cott Lang created EMAIL-197: --- Summary: How about a release? :) Key: EMAIL-197 URL: https://issues.apache.org/jira/browse/EMAIL-197 Project: Commons Email Issue Type: Wish Affects Versions: 1.5

[jira] [Work logged] (COMPRESS-584) IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/COMPRESS-584?focusedWorklogId=633511&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-633511 ] ASF GitHub Bot logged work on COMPRESS-584: --- Author: ASF GitHub B

[GitHub] [commons-compress] coveralls edited a comment on pull request #214: [COMPRESS-584] Fix IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread GitBox
coveralls edited a comment on pull request #214: URL: https://github.com/apache/commons-compress/pull/214#issuecomment-891708225 [![Coverage Status](https://coveralls.io/builds/41898328/badge)](https://coveralls.io/builds/41898328) Coverage increased (+0.0005%) to 86.355% when pu

[jira] [Commented] (DBCP-509) Not all methods are consistent in PerUserPooldataSource and InstanceKeyDataSource

2021-08-04 Thread Gary D. Gregory (Jira)
[ https://issues.apache.org/jira/browse/DBCP-509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17393121#comment-17393121 ] Gary D. Gregory commented on DBCP-509: -- Hi [~kinow] Is this still an issue? Do you wa

[jira] [Updated] (DBCP-509) Not all methods are consistent in PerUserPooldataSource and InstanceKeyDataSource

2021-08-04 Thread Gary D. Gregory (Jira)
[ https://issues.apache.org/jira/browse/DBCP-509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary D. Gregory updated DBCP-509: - Fix Version/s: (was: 2.9.0) 2.9.1 > Not all methods are consistent in PerUse

[jira] [Work logged] (COMPRESS-584) IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/COMPRESS-584?focusedWorklogId=633452&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-633452 ] ASF GitHub Bot logged work on COMPRESS-584: --- Author: ASF GitHub B

[GitHub] [commons-compress] matthijsln edited a comment on pull request #214: [COMPRESS-584] Fix IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread GitBox
matthijsln edited a comment on pull request #214: URL: https://github.com/apache/commons-compress/pull/214#issuecomment-892573540 The "no copy buffer" version can be more efficient by only calling `Arrays.copyOf()` when hitting EOF. This avoids copying the byte array when it is completely

[jira] [Created] (NET-703) Include example sources in binary bundle

2021-08-04 Thread Sebb (Jira)
Sebb created NET-703: Summary: Include example sources in binary bundle Key: NET-703 URL: https://issues.apache.org/jira/browse/NET-703 Project: Commons Net Issue Type: Improvement Reporter:

[jira] [Work logged] (COMPRESS-584) IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/COMPRESS-584?focusedWorklogId=633446&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-633446 ] ASF GitHub Bot logged work on COMPRESS-584: --- Author: ASF GitHub B

[GitHub] [commons-compress] matthijsln commented on pull request #214: [COMPRESS-584] Fix IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread GitBox
matthijsln commented on pull request #214: URL: https://github.com/apache/commons-compress/pull/214#issuecomment-892573540 Wrapping a byte array in a `ByteBuffer` is the most efficient. In the following implementation an array copy is only needed when hitting EOF: ``` public s

[jira] [Work logged] (COMPRESS-584) IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/COMPRESS-584?focusedWorklogId=633400&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-633400 ] ASF GitHub Bot logged work on COMPRESS-584: --- Author: ASF GitHub B

[GitHub] [commons-compress] PeterAlfredLee commented on pull request #214: [COMPRESS-584] Fix IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread GitBox
PeterAlfredLee commented on pull request #214: URL: https://github.com/apache/commons-compress/pull/214#issuecomment-892526508 I prefer the one with a copy buffer. I'm not professional in IO but the implemention with buffer is pretty common in IO implementions. -- This is an autom

[jira] [Comment Edited] (COMPRESS-585) ZipFile fails to read a zipfile with a comment or extra data longer than 8024 bytes

2021-08-04 Thread Matthijs Laan (Jira)
[ https://issues.apache.org/jira/browse/COMPRESS-585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17392942#comment-17392942 ] Matthijs Laan edited comment on COMPRESS-585 at 8/4/21, 9:53 AM:

[jira] [Comment Edited] (COMPRESS-585) ZipFile fails to read a zipfile with a comment or extra data longer than 8024 bytes

2021-08-04 Thread Matthijs Laan (Jira)
[ https://issues.apache.org/jira/browse/COMPRESS-585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17392942#comment-17392942 ] Matthijs Laan edited comment on COMPRESS-585 at 8/4/21, 9:52 AM:

[jira] [Comment Edited] (COMPRESS-585) ZipFile fails to read a zipfile with a comment or extra data longer than 8024 bytes

2021-08-04 Thread Matthijs Laan (Jira)
[ https://issues.apache.org/jira/browse/COMPRESS-585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17392942#comment-17392942 ] Matthijs Laan edited comment on COMPRESS-585 at 8/4/21, 9:50 AM:

[jira] [Comment Edited] (COMPRESS-585) ZipFile fails to read a zipfile with a comment or extra data longer than 8024 bytes

2021-08-04 Thread Matthijs Laan (Jira)
[ https://issues.apache.org/jira/browse/COMPRESS-585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17392942#comment-17392942 ] Matthijs Laan edited comment on COMPRESS-585 at 8/4/21, 9:49 AM:

[jira] [Commented] (COMPRESS-585) ZipFile fails to read a zipfile with a comment or extra data longer than 8024 bytes

2021-08-04 Thread Matthijs Laan (Jira)
[ https://issues.apache.org/jira/browse/COMPRESS-585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17392942#comment-17392942 ] Matthijs Laan commented on COMPRESS-585: Yes, see the following test case:  

[jira] [Work logged] (COMPRESS-584) IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/COMPRESS-584?focusedWorklogId=633393&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-633393 ] ASF GitHub Bot logged work on COMPRESS-584: --- Author: ASF GitHub B

[GitHub] [commons-compress] matthijsln edited a comment on pull request #214: [COMPRESS-584] Fix IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread GitBox
matthijsln edited a comment on pull request #214: URL: https://github.com/apache/commons-compress/pull/214#issuecomment-892504852 This would work without a copy buffer: ``` public static byte[] readRange(final ReadableByteChannel input, final int len) throws IOException {

[jira] [Work logged] (COMPRESS-584) IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/COMPRESS-584?focusedWorklogId=633390&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-633390 ] ASF GitHub Bot logged work on COMPRESS-584: --- Author: ASF GitHub B

[GitHub] [commons-compress] matthijsln edited a comment on pull request #214: [COMPRESS-584] Fix IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread GitBox
matthijsln edited a comment on pull request #214: URL: https://github.com/apache/commons-compress/pull/214#issuecomment-892504852 This would work without a copy buffer: ``` public static byte[] readRange(final ReadableByteChannel input, final int len) throws IOException {

[jira] [Work logged] (COMPRESS-584) IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/COMPRESS-584?focusedWorklogId=633388&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-633388 ] ASF GitHub Bot logged work on COMPRESS-584: --- Author: ASF GitHub B

[GitHub] [commons-compress] matthijsln edited a comment on pull request #214: [COMPRESS-584] Fix IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread GitBox
matthijsln edited a comment on pull request #214: URL: https://github.com/apache/commons-compress/pull/214#issuecomment-892504852 This would work without a copy buffer: ``` public static byte[] readRange(final ReadableByteChannel input, final int len) throws IOException {

[jira] [Work logged] (COMPRESS-584) IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/COMPRESS-584?focusedWorklogId=633386&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-633386 ] ASF GitHub Bot logged work on COMPRESS-584: --- Author: ASF GitHub B

[GitHub] [commons-compress] matthijsln edited a comment on pull request #214: [COMPRESS-584] Fix IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread GitBox
matthijsln edited a comment on pull request #214: URL: https://github.com/apache/commons-compress/pull/214#issuecomment-892504852 This would work without a copy buffer: ``` public static byte[] readRange(final ReadableByteChannel input, final int len) throws IOException {

[jira] [Work logged] (COMPRESS-584) IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/COMPRESS-584?focusedWorklogId=633385&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-633385 ] ASF GitHub Bot logged work on COMPRESS-584: --- Author: ASF GitHub B

[GitHub] [commons-compress] matthijsln commented on pull request #214: [COMPRESS-584] Fix IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread GitBox
matthijsln commented on pull request #214: URL: https://github.com/apache/commons-compress/pull/214#issuecomment-892504852 This would work without a copy buffer: ``` public static byte[] readRange(final ReadableByteChannel input, final int len) throws IOException { fina

[jira] [Work logged] (COMPRESS-584) IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/COMPRESS-584?focusedWorklogId=633365&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-633365 ] ASF GitHub Bot logged work on COMPRESS-584: --- Author: ASF GitHub B

[GitHub] [commons-compress] matthijsln commented on pull request #214: [COMPRESS-584] Fix IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread GitBox
matthijsln commented on pull request #214: URL: https://github.com/apache/commons-compress/pull/214#issuecomment-892485686 > > Note that for [COMPRESS-585](https://issues.apache.org/jira/browse/COMPRESS-585) I propose removing the limit to the max bytes read to COPY_BUF_SIZE altogether (th

[jira] [Commented] (COMPRESS-585) ZipFile fails to read a zipfile with a comment or extra data longer than 8024 bytes

2021-08-04 Thread Peter Lee (Jira)
[ https://issues.apache.org/jira/browse/COMPRESS-585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17392876#comment-17392876 ] Peter Lee commented on COMPRESS-585: _> The cause is that {{ZipFile.readCentralDire

[jira] [Work logged] (COMPRESS-584) IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/COMPRESS-584?focusedWorklogId=633364&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-633364 ] ASF GitHub Bot logged work on COMPRESS-584: --- Author: ASF GitHub B

[GitHub] [commons-compress] PeterAlfredLee commented on pull request #214: [COMPRESS-584] Fix IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread GitBox
PeterAlfredLee commented on pull request #214: URL: https://github.com/apache/commons-compress/pull/214#issuecomment-892478291 > Note that for [COMPRESS-585](https://issues.apache.org/jira/browse/COMPRESS-585) I propose removing the limit to the max bytes read to COPY_BUF_SIZE altogether (

[jira] [Work logged] (COMPRESS-584) IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/COMPRESS-584?focusedWorklogId=633363&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-633363 ] ASF GitHub Bot logged work on COMPRESS-584: --- Author: ASF GitHub B

[GitHub] [commons-compress] matthijsln edited a comment on pull request #214: [COMPRESS-584] Fix IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread GitBox
matthijsln edited a comment on pull request #214: URL: https://github.com/apache/commons-compress/pull/214#issuecomment-892469732 > Hi @matthijsln > Please have a look at my reply :-) > > > When the len of bytes to read is bigger than COPY_BUF_SIZE, there are some problems. You ca

[jira] [Work logged] (COMPRESS-584) IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/COMPRESS-584?focusedWorklogId=633361&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-633361 ] ASF GitHub Bot logged work on COMPRESS-584: --- Author: ASF GitHub B

[GitHub] [commons-compress] matthijsln edited a comment on pull request #214: [COMPRESS-584] Fix IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread GitBox
matthijsln edited a comment on pull request #214: URL: https://github.com/apache/commons-compress/pull/214#issuecomment-892469732 > Hi @matthijsln > Please have a look at my reply :-) > > > When the len of bytes to read is bigger than COPY_BUF_SIZE, there are some problems. You ca

[jira] [Work logged] (COMPRESS-584) IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/COMPRESS-584?focusedWorklogId=633360&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-633360 ] ASF GitHub Bot logged work on COMPRESS-584: --- Author: ASF GitHub B

[GitHub] [commons-compress] matthijsln edited a comment on pull request #214: [COMPRESS-584] Fix IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread GitBox
matthijsln edited a comment on pull request #214: URL: https://github.com/apache/commons-compress/pull/214#issuecomment-892469732 > Hi @matthijsln > Please have a look at my reply :-) > > > When the len of bytes to read is bigger than COPY_BUF_SIZE, there are some problems. You ca

[jira] [Work logged] (COMPRESS-584) IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/COMPRESS-584?focusedWorklogId=633358&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-633358 ] ASF GitHub Bot logged work on COMPRESS-584: --- Author: ASF GitHub B

[jira] [Work logged] (COMPRESS-584) IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/COMPRESS-584?focusedWorklogId=633357&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-633357 ] ASF GitHub Bot logged work on COMPRESS-584: --- Author: ASF GitHub B

[GitHub] [commons-compress] matthijsln edited a comment on pull request #214: [COMPRESS-584] Fix IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread GitBox
matthijsln edited a comment on pull request #214: URL: https://github.com/apache/commons-compress/pull/214#issuecomment-892469732 > Hi @matthijsln > Please have a look at my reply :-) > > > When the len of bytes to read is bigger than COPY_BUF_SIZE, there are some problems. You ca

[GitHub] [commons-compress] matthijsln commented on pull request #214: [COMPRESS-584] Fix IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread GitBox
matthijsln commented on pull request #214: URL: https://github.com/apache/commons-compress/pull/214#issuecomment-892469732 > Hi @matthijsln > Please have a look at my reply :-) > > > When the len of bytes to read is bigger than COPY_BUF_SIZE, there are some problems. You can repro

[jira] [Work logged] (COMPRESS-584) IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/COMPRESS-584?focusedWorklogId=633355&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-633355 ] ASF GitHub Bot logged work on COMPRESS-584: --- Author: ASF GitHub B

[GitHub] [commons-compress] PeterAlfredLee commented on pull request #214: [COMPRESS-584] Fix IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread GitBox
PeterAlfredLee commented on pull request #214: URL: https://github.com/apache/commons-compress/pull/214#issuecomment-892466407 Hi @matthijsln Please have a look at my reply :-) > When the len of bytes to read is bigger than COPY_BUF_SIZE, there are some problems. You can reproduce

[jira] [Work logged] (COMPRESS-584) IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/COMPRESS-584?focusedWorklogId=633347&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-633347 ] ASF GitHub Bot logged work on COMPRESS-584: --- Author: ASF GitHub B

[jira] [Work logged] (COMPRESS-584) IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/COMPRESS-584?focusedWorklogId=633345&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-633345 ] ASF GitHub Bot logged work on COMPRESS-584: --- Author: ASF GitHub B

[GitHub] [commons-compress] matthijsln commented on pull request #214: [COMPRESS-584] Fix IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread GitBox
matthijsln commented on pull request #214: URL: https://github.com/apache/commons-compress/pull/214#issuecomment-892460047 > Unfortunately my original fix had a bug when looping more than 2 times. Revisiting this method I came up with a much simpler implementation that should be better. I

[GitHub] [commons-compress] PeterAlfredLee commented on pull request #214: [COMPRESS-584] Fix IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread GitBox
PeterAlfredLee commented on pull request #214: URL: https://github.com/apache/commons-compress/pull/214#issuecomment-892459986 The new implemention also has some problems : 1. The test `readRangeFromChannelStopsIfThereIsNothingToReadAnymore` is failed 2. When the `len` of bytes to rea

[jira] [Updated] (COMPRESS-586) commons-compress/security-reports.html lost 1.21 fix information

2021-08-04 Thread swxEmily (Jira)
[ https://issues.apache.org/jira/browse/COMPRESS-586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] swxEmily updated COMPRESS-586: -- Attachment: image-2021-08-04-16-08-42-786.png Component/s: Documentation Affects

[jira] [Updated] (COMPRESS-586) commons-compress/security-reports.html lost 1.21 fix information

2021-08-04 Thread swxEmily (Jira)
[ https://issues.apache.org/jira/browse/COMPRESS-586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] swxEmily updated COMPRESS-586: -- Description: Just the other day, I saw the 1.21 fix information:CVE-2021-35515, CVE-2021-35516, CVE-

[jira] [Created] (COMPRESS-586) commons-compress/security-reports.html lost 1.21 fix information

2021-08-04 Thread swxEmily (Jira)
swxEmily created COMPRESS-586: - Summary: commons-compress/security-reports.html lost 1.21 fix information Key: COMPRESS-586 URL: https://issues.apache.org/jira/browse/COMPRESS-586 Project: Commons Compres

[jira] [Commented] (COMPRESS-585) ZipFile fails to read a zipfile with a comment or extra data longer than 8024 bytes

2021-08-04 Thread Matthijs Laan (Jira)
[ https://issues.apache.org/jira/browse/COMPRESS-585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17392831#comment-17392831 ] Matthijs Laan commented on COMPRESS-585: We could just allocate {{len}} bytes i

[jira] [Work logged] (COMPRESS-584) IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/COMPRESS-584?focusedWorklogId=65&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-65 ] ASF GitHub Bot logged work on COMPRESS-584: --- Author: ASF GitHub B

[GitHub] [commons-compress] matthijsln commented on pull request #214: [COMPRESS-584] Fix IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread GitBox
matthijsln commented on pull request #214: URL: https://github.com/apache/commons-compress/pull/214#issuecomment-892450747 Unfortunately my original fix had a bug when looping more than 2 times. Revisiting this method I came up with a much simpler implementation that should be better. I ca

[jira] [Work logged] (COMPRESS-584) IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/COMPRESS-584?focusedWorklogId=633326&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-633326 ] ASF GitHub Bot logged work on COMPRESS-584: --- Author: ASF GitHub B

[GitHub] [commons-compress] PeterAlfredLee commented on a change in pull request #214: [COMPRESS-584] Fix IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread GitBox
PeterAlfredLee commented on a change in pull request #214: URL: https://github.com/apache/commons-compress/pull/214#discussion_r682349198 ## File path: src/test/java/org/apache/commons/compress/utils/IOUtilsTest.java ## @@ -148,6 +148,25 @@ public void readRangeFromChannelDoes

[GitHub] [commons-jcs] dependabot[bot] opened a new pull request #75: Bump commons-dbcp2 from 2.8.0 to 2.9.0

2021-08-04 Thread GitBox
dependabot[bot] opened a new pull request #75: URL: https://github.com/apache/commons-jcs/pull/75 Bumps commons-dbcp2 from 2.8.0 to 2.9.0. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.commons:comm

[jira] [Work logged] (COMPRESS-584) IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread ASF GitHub Bot (Jira)
[ https://issues.apache.org/jira/browse/COMPRESS-584?focusedWorklogId=633321&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-633321 ] ASF GitHub Bot logged work on COMPRESS-584: --- Author: ASF GitHub B

[GitHub] [commons-compress] PeterAlfredLee commented on pull request #214: [COMPRESS-584] Fix IOUtils.readRange() can read more from a channel than asked for

2021-08-04 Thread GitBox
PeterAlfredLee commented on pull request #214: URL: https://github.com/apache/commons-compress/pull/214#issuecomment-892419298 Good catch! This looks good to me. Thanks for your contributions. -- This is an automated message from the Apache Git Service. To respond to the message