#vulnerable code 
                                public static void main(String[] args) {
        log.info(">>>>> goodsKill-rpc-service 正在启动 <<<<<");
        AbstractApplicationContext context= new ClassPathXmlApplicationContext(
                "classpath*:META-INF/spring/spring-*.xml");
        // 程序退出前优雅关闭JVM
        context.registerShutdownHook();
        context.start();
        log.info(">>>>> goodsKill-rpc-service 启动完成 <<<<<");
    } 
                            #location 7 
                            #vulnerability type RESOURCE_LEAK
#fixed code
                                public static void main(String[] args) {
        SpringApplication.run(GoodsKillRpcServiceApplication.class);
    }