lamber-ken opened a new pull request #2343:
URL: https://github.com/apache/bookkeeper/pull/2343


   ### Motivation
   
   We have adopted lamada expression in the code base, it needs jdk1.8 at least.
   
   e.g org.apache.bookkeeper.meta.zk.ZKMetadataClientDriver
   ```
   @Override
   public void setSessionStateListener(SessionStateListener 
sessionStateListener) {
       zk.register((event) -> {
           // Check for expired connection.
           if (event.getType().equals(EventType.None) && 
event.getState().equals(KeeperState.Expired)) {
               sessionStateListener.onSessionExpired();
           }
       });
   }
   ```
   
   
![image](https://user-images.githubusercontent.com/20113411/82619119-a4b12b80-9c07-11ea-92e5-a1e3f5f9ff6b.png)
   
   ### Changes
   
   Update `Java Development Kit 1.6` to `Java Development Kit 1.8`
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to