[
https://issues.apache.org/jira/browse/NET-729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17834097#comment-17834097
]
Gary D. Gregory commented on NET-729:
-------------------------------------
You're inventing a new meaning for "binary compatibility", binary compatibility
(BC) is [https://docs.oracle.com/javase/specs/jls/se17/html/jls-13.html] .
{*}Methods were NOT replaced in 3.9.0{*}, that would have broken BC by
definition. Show me an example where BC was broken per the JLS.
We're going around in circles here, you'll need to be concrete. For example:
"methods returning java.util.Calendar was replaced with methods returning
java.time.Intent,"
*WRONG*
Where? Exactly?
The following methods from 3.8.0 are still here today and they are all typed to
{*}Calendar{*}.
*
org.apache.commons.net.ftp.parser.ConfigurableFTPFileEntryParserImpl.parseTimestamp(String)
* org.apache.commons.net.ftp.parser.FTPTimestampParser.parseTimestamp(String
*
org.apache.commons.net.ftp.parser.FTPTimestampParserImpl.parseTimestamp(String,
Calendar)
* org.apache.commons.net.ftp.parser.MLSxEntryParser.parseGMTdateTime(String)
* org.apache.commons.net.ftp.FTPClient.mdtmCalendar(String)
* org.apache.commons.net.ftp.FTPFile.getTimestamp()
* org.apache.commons.net.ftp.FTPFile.setTimestamp(Calendar)
*
org.apache.commons.net.nntp.NewGroupsOrNewsQuery.NewGroupsOrNewsQuery(Calendar,
boolean)
> Undisclosed Java 8 requirement.
> -------------------------------
>
> Key: NET-729
> URL: https://issues.apache.org/jira/browse/NET-729
> Project: Commons Net
> Issue Type: Bug
> Components: FTP
> Affects Versions: 3.9.0, 3.10.0
> Environment: Android 7 and lower
> Reporter: Henrik Lindqvist
> Priority: Minor
> Fix For: 3.11.0
>
>
> Has for a decade been using this library in an Android app. Decided to update
> from an older version to 3.10.0 mostly for the fixed security issue, but this
> is sadly not possible due to version 3.9.0 now requires Java 8 which Android
> lacks full support for, e.g. it's missing java.time.Duration. It's
> unfortunate that such unnecessary changes are made, replacing working code
> with new Java features just for the fun of it, since this will force projects
> use another dependency making this library even more irrelevant. Please
> revert the changes that use Java 8 features, or at least update the
> documentation with a notice that version 3.9.0 is not binary compatible with
> prior versions: [https://commons.apache.org/proper/commons-net/migration.html]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)