概述 在做 drone插件时,发现了一个库drone-dingtalk-message 在使用 goreleaser 编译时只用了ldflags指令,于是了解了一下 编译
在根据Mybatis入门中有这么一段 String resource = "org/mybatis/example/mybatis-config.xml"; InputStream inputStream = Resources.getResourceAsStream(resource); SqlSessionFactory sqlSessionFactory = new SqlSessionFactoryBuilder().build(inputStream); 通过mybatis-config.xml读取Mybatis相关配置,其中有一个
JenkinsFile Pipeline案例 //判断tag是否x.x.x def boolean isVersionTag(String tag) { echo "checking version tag $tag" if (tag == null) { return false } def tagMatcher = tag =~ /\d+\.\d+\.\d+/ return tagMatcher.matches() } //获取当前tag def String readCurrentTag() { return sh(returnStdout: true, script: "git
原因:在看Java SPI的时候ServiceLoader.load(Class<S> service) ,发现是通过通过当前线程的Thread.c
原由: 在更新 alibaba-sentinel,发布版本的时候,查看 docker/issues 在个人推荐中发现了一个暴露csp.sentinel.api.port Dockerfile FROMopenjdk:8-jdk-alpineARG
可达性算法中以GC Root对象为起点开始搜索。 GC Roots 是类的静态变量,或者方法的局部变量 什么是GC Root对象 虚拟机栈中引用的对象 public class Rumenz{ public static void main(String[]