Log4j 2
  1. Log4j 2
  2. LOG4J2-247

SocketServer.isActive should be volatile because it is accessed from different threads

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta5
    • Fix Version/s: 2.0-beta7
    • Component/s: Receivers
    • Labels:
      None
    • Environment:

      Description

      SocketServer.isActive should be volatile because it is accessed from different threads

        Activity

        Hide
        Gary Gregory added a comment -

        commit -m "LOG4J2-247 SocketServer.isActive should be volatile because it is accessed from different threads." C:/svn/org/apache/log4j2/trunk/src/changes/changes.xml C:/svn/org/apache/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/SocketServer.java
        Sending C:/svn/org/apache/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/SocketServer.java
        Sending C:/svn/org/apache/log4j2/trunk/src/changes/changes.xml
        Transmitting file data ...
        Committed revision 1480746.

        Show
        Gary Gregory added a comment - commit -m " LOG4J2-247 SocketServer.isActive should be volatile because it is accessed from different threads." C:/svn/org/apache/log4j2/trunk/src/changes/changes.xml C:/svn/org/apache/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/SocketServer.java Sending C:/svn/org/apache/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/SocketServer.java Sending C:/svn/org/apache/log4j2/trunk/src/changes/changes.xml Transmitting file data ... Committed revision 1480746.

          People

          • Assignee:
            Gary Gregory
            Reporter:
            Gary Gregory
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development