JCSprout icon indicating copy to clipboard operation
JCSprout copied to clipboard

👨‍🎓 Java Core Sprout : basic, concurrent, algorithm

Results 45 JCSprout issues
Sort by recently updated
recently updated
newest added

Bumps [fastjson](https://github.com/alibaba/fastjson) from 1.2.31 to 1.2.83. Release notes Sourced from fastjson's releases. FASTJSON 1.2.83版本发布(安全修复) 这是一个安全修复版本,修复最近收到在特定场景下可以绕过autoType关闭限制的漏洞,建议fastjson用户尽快采取安全措施保障系统安全。 安全修复方案 :https://github.com/alibaba/fastjson/wiki/security_update_20220523 Issues 安全加固 修复JDK17下setAccessible报错的问题 #4077 下载 https://repo1.maven.org/maven2/com/alibaba/fastjson/1.2.83/ 文档 https://github.com/alibaba/fastjson/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98 源码 https://github.com/alibaba/fastjson/tree/1.2.83 fastjson 1.2.79版本发布,BUG修复 这又是一个bug...

dependencies

上下文切换有两种。一种是线程之间的切换,另一种是用户态和内核态的切换。显然此处应该是后者和前者的结合。

更正“指令重排”章节的语义错误

对于同步代码块来说通过反编译产生的结果和作者的一致,monitorenter指令插入到同步代码块的开始位置,monitorexit指令插入到同步代码块的结束位置! 但是对于同步方法来说就不是通过monitor,写一个同步方法通过反编译可以看出 0: aload_0 1: invokevirtual #5 // Method method:()V 4: goto 0 他是通过invokevirtual 指令, 在VM字节码层面并没有任何特别的指令来实现被synchronized修饰的方法,而是在Class文件的方法表中将该方法的accessflags字段中的synchronized标志位置1,表示该方法是同步方法并使用调用该方法的对象或该方法所属的Class在JVM的内部对象表示Klass做为锁对象。

https://github.com/crossoverJie/JCSprout/blob/master/MD/SQL-optimization.md 在上面这个地址中,针对SQL优化的专题,其中针对“最左匹配原则”的介绍,有点歧义,我在这里给订正一下,你看一下是否合适? **问题描述:** > 如果给 user 表中的 username pwd 字段创建了复合索引那么使用以下SQL 都是可以命中索引: > > select username from user where username='zhangsan' and pwd ='axsedf1sd' > > select username from user where pwd...

**在提交issue之前请回答以下问题,谢谢!** > 建议首先查看是否已经有类似的 Issues (提交时可删除该提示) ### 你使用的是哪个版本 版本信息:mysql Ver 14.14 Distrib 5.7.23, for macos10.13 (x86_64) using EditLine wrapper ### 预期结果 1. 【不要让数据库帮我们做强制类型转换】,该结论不严谨 2. 【如果需要进行 join 的字段两表的字段类型要相同】,该结论有问题 ### 实际结果 1. 【不要让数据库帮我们做强制类型转换】,该结论不严谨...

Bumps [junit](https://github.com/junit-team/junit4) from 4.8.2 to 4.13.1. Release notes Sourced from junit's releases. JUnit 4.13.1 Please refer to the release notes for details. JUnit 4.13 Please refer to the release notes...

dependencies

在JCSprout/MD/ThreadPoolExecutor里面的SpringBoot 使用线程池没有详细代码,能否提供一下,谢谢

Hi all, our bug scanner has reported a NPE bug. A possible call chain may be [getNode()](https://github.com/crossoverJie/JCSprout/tree/master/src/main/java/com/crossoverjie/actual/LRUMap.java#L107) => [LRUMap.java#L65](https://github.com/crossoverJie/JCSprout/tree/master/src/main/java/com/crossoverjie/actual/LRUMap.java#L65) => [LRUMap.java#L68](https://github.com/crossoverJie/JCSprout/tree/master/src/main/java/com/crossoverjie/actual/LRUMap.java#L68). Since the method `getNode()` may return `null` at [LRUMap.java#L118](https://github.com/crossoverJie/JCSprout/tree/master/src/main/java/com/crossoverjie/actual/LRUMap.java#L118),...

bug