This is an automated email from the ASF dual-hosted git repository.

fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko.git


The following commit(s) were added to refs/heads/main by this push:
     new 19d4fd1bfa remove deprecated method in AeronErrorLog (#2055)
19d4fd1bfa is described below

commit 19d4fd1bfa7fbdd463f12f2d9300888e54042e32
Author: PJ Fanning <[email protected]>
AuthorDate: Sat Aug 23 11:39:12 2025 +0100

    remove deprecated method in AeronErrorLog (#2055)
    
    * remove deprecated method in AeronErrorLog
    
    * Update remove-deprecated-methods.excludes
---
 .../java/org/apache/pekko/remote/artery/aeron/AeronErrorLog.java   | 7 ++-----
 .../2.0.x.backwards.excludes/remove-deprecated-methods.excludes    | 1 +
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git 
a/remote/src/main/java/org/apache/pekko/remote/artery/aeron/AeronErrorLog.java 
b/remote/src/main/java/org/apache/pekko/remote/artery/aeron/AeronErrorLog.java
index 21c32a3a6c..fd4ca15cd8 100644
--- 
a/remote/src/main/java/org/apache/pekko/remote/artery/aeron/AeronErrorLog.java
+++ 
b/remote/src/main/java/org/apache/pekko/remote/artery/aeron/AeronErrorLog.java
@@ -23,6 +23,7 @@ import org.agrona.IoUtil;
 import org.agrona.concurrent.AtomicBuffer;
 import org.agrona.concurrent.errors.ErrorLogReader;
 
+import org.apache.pekko.annotation.InternalApi;
 import org.apache.pekko.event.LoggingAdapter;
 import org.apache.pekko.util.Helpers;
 
@@ -37,15 +38,11 @@ import java.util.concurrent.atomic.AtomicLong;
  * by media driver in shared memory. This application reads the cnc file and 
prints the distinct
  * errors. Layout of the cnc file is described in {@link 
io.aeron.CncFileDescriptor}.
  */
+@InternalApi
 public class AeronErrorLog {
   final MappedByteBuffer cncByteBuffer;
   final AtomicBuffer buffer;
 
-  @Deprecated
-  public AeronErrorLog(File cncFile) {
-    this(cncFile, NoLogging.getInstance());
-  }
-
   public AeronErrorLog(File cncFile, LoggingAdapter log) {
     cncByteBuffer = IoUtil.mapExistingFile(cncFile, "cnc");
     final DirectBuffer cncMetaDataBuffer = 
CncFileDescriptor.createMetaDataBuffer(cncByteBuffer);
diff --git 
a/remote/src/main/mima-filters/2.0.x.backwards.excludes/remove-deprecated-methods.excludes
 
b/remote/src/main/mima-filters/2.0.x.backwards.excludes/remove-deprecated-methods.excludes
index 20e6c4a16d..de1e1fda4c 100644
--- 
a/remote/src/main/mima-filters/2.0.x.backwards.excludes/remove-deprecated-methods.excludes
+++ 
b/remote/src/main/mima-filters/2.0.x.backwards.excludes/remove-deprecated-methods.excludes
@@ -23,6 +23,7 @@ 
ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.pekko.remote.Quar
 
ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.pekko.remote.QuarantinedEvent.uid")
 
ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.pekko.remote.QuarantinedEvent.this")
 
ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.pekko.remote.QuarantinedEvent.tupled")
+ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.pekko.remote.artery.aeron.AeronErrorLog.this")
 
ProblemFilters.exclude[MissingClassProblem]("org.apache.pekko.remote.serialization.ByteStringSerializer")
 
ProblemFilters.exclude[MissingClassProblem]("org.apache.pekko.remote.serialization.IntSerializer")
 
ProblemFilters.exclude[MissingClassProblem]("org.apache.pekko.remote.serialization.LongSerializer")


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to