问题

1、

error the @annotation pointcut expression is only supported at Java 5 compliance level or above

http://rongmayisheng.com/post/error-the-annotation-pointcut-expression-is-only-supported-at-java-5-compliance-level-or-above-2

 

 

 

2、long a = 30*3600*1000*23;  结果为负

  原因 30*3600*1000*23会先定义为int,然后在转成long,而转int时超出,so 结果为负。

  正确写法为long a = 30*3600*1000*23L;

  

posted @ 2016-02-26 11:16  斌灬小生不才  阅读(320)  评论(0编辑  收藏  举报