spring-boot-rocketmq-starter icon indicating copy to clipboard operation
spring-boot-rocketmq-starter copied to clipboard

支持jdk1.7吗?

Open rudyzou opened this issue 6 years ago • 1 comments

支持jdk1.7吗?
看你源代码中有这种写法

Runtime.getRuntime().addShutdownHook(new Thread(() -> { LOGGER.info("producer shutdown"); producer.shutdown(); LOGGER.info("producer has shutdown"); }));

rudyzou avatar Apr 14 '18 09:04 rudyzou

lambda表达式必须jdk>=1.8才行.

xingfudeshi avatar Jun 01 '18 08:06 xingfudeshi