mdedetrich commented on issue #267: URL: https://github.com/apache/pekko/issues/267#issuecomment-3149753117
> The general consensus is to maintain as much compatibility with Akka 2.6 API norms as possible so Pekko v1.0.0 - so this change will not happen in v1.0.0 without getting the Pekko PMC to agree to it. For the functions in question, it is stated and implied in the documentation that they are not meant to be used for newly created API's, in other words its old leftover cruft which is something that en epic bump in semver is meant to remove. Now there is a fair point that the `org.apache.pekko.japi.*` functions are not marked as deprecated, I would recommend doing this in the following Pekko 1.2.0 release so we can then remove these functions in Pekko 2.0.x > One thing that is more likely to be agreed to is to add extra APIs that directly support java.util.function - and to possibly deprecate the ones that use the Pekko Java Function classes (and APIs that use them). Not possible because the Java folks in JDK really screwed in designing the original concrete java functional/SAM stdlib in that they don't allow exceptions to be thrown and they didn't provide a separate set of functions in the stdlib which do allow exceptions to be thrown when creating a function. Where `org.apache.pekko.japi.*`/`org.apache.pekko.japi.function*` is used, the API explicitly allows exceptions to be thrown (i.e. trying to create a file in resource creation parameter can throw an exception) and because of this we cannot use java.util.function as it does not allow exception throwing -- 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: notifications-unsubscr...@pekko.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org For additional commands, e-mail: notifications-h...@pekko.apache.org