Meiliang Dong

Results 6 comments of Meiliang Dong

P483 的对比情况表中说 ApplicationListener 不支持泛型事件,P491 则说“两种途径均能监听一种或多种事件,并且支持泛型事件。”,ApplicationListener 应该是支持泛型事件,只是由于接口泛型范围的限制不能像 `@EventListener` 直接监听类似事件源 User 对象吧。

觉得还可以增加隐性覆盖和显性覆盖共存情况的讨论,例如: ``` @Target({ElementType.TYPE}) @Retention(RetentionPolicy.RUNTIME) @Documented @Service @Transactional public @interface TransactionalService { String name() default "nameValue"; String value() default "value"; String transactionManager() default "transactionManager"; @AliasFor(annotation = Transactional.class, attribute = "value") String...

The source code of the BTraceTest class: ``` package com.github.damiansheldon.jvm.chapter4; import java.io.BufferedReader; import java.io.InputStreamReader; public class BTraceTest { public static void main(String[] args) throws Exception { BTraceTest test = new...

It very strange, I now can successfully trace with command: `java -cp bin -javaagent:/Users/meiliang/Downloads/btrace-v2.2.2/libs/btrace-agent.jar=dumpClasses=true,dumpDir=/tmp/btrace_test,debug=true,script=bin/TracingAddMethod.class com.github.damiansheldon.jvm.chapter4.BTraceTest` or `btrace -cp bin bin/TracingAddMethod.class`。 But BTrace plugin in VisualVM can still reproduce this issue....

Plugin from https://github.com/btraceio/btrace.visualvm/releases/tag/v2.2.2 can reproduce this issue. First I uninstall, then restart VisualVM to reinstall. I think this can remove previous version plugin's effect. I realize plugin's version 2.1.0 which...

遇到了同样的问题,经过一番工作,找到问题主要是由两个原因导致的: 1. Base href; 2. Ionic 本身并不响应 file 协议 详细情况我记录在了 [Ionic App 使用 Cordova Hot Code Push 实现热更新](https://damiansheldon.github.io/blog/ionic-app-use-cordova-hot-code-push-achieve-live-update.html), 有需要的可以参考下。