Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

reproducible builds: inner functions are not consistently generated on Scala 3

Đang mở
#565 2 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@raboof đang làm issue này rồi.

Từ ngày 26/5/2025.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

bug

reproducing 1.1.0-M1 with set ThisBuild / net.bzzt.reproduciblebuilds.ReproducibleBuildsPlugin.reproducibleBuildsCheckResolver := DefaultMavenRepository; ++3.3; clean; reproducibleBuildsCheck showed two nondeterminisms for me in pekko-http_3-1.1.0-M1.jar :

  • In org/apache/pekko/http/scaladsl/server/directives/FileUploadDirectives.class, one build had default·Directive·storeUploadedFile$$anonfun$1$(final·FileUploadDirectives·$this,·final·String·fieldName$1,·final·Function1·destFn$1,·final·RequestContext·ctx) and default·/*·synthetic·*/·Directive·storeUploadedFile$$anonfun$1(final·String·fieldName$1,·final·Function1·destFn$1,·final·RequestContext·ctx), the other hadn't
  • In org/apache/pekko/http/scaladsl/server/directives/RangeDirectives.class, one build didn't have default·Directive·applyRanges$1$(final·RangeDirectives·$this,·final·LoggingAdapter·log$3,·final·RoutingSettings·settings$6,·final·Seq·ranges), the other did.

Note default·Directive·storeUploadedFile$$anonfun$1$(final·FileUploadDirectives·$this,·final·String·fieldName$1,·final·Function1·destFn$1,·final·RequestContext·ctx) is a function with an actual implementation - if that's not there, does it even work? Or is it duplicated somewhere?

Possibly related to https://github.com/scala/scala3/issues/18248

Ngôn ngữ chính
Scala
Star
196
Fork
56
Merge trung bình
1 ngày 18 giờ
Pull request đã merge (30 ngày)
43

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của apache/pekko-http

Tất cả issue của apache/pekko-http

Issue tương tự

Thêm issue về Scala

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.