- 博客(14)
- 收藏
- 关注
原创 学习笔记 - Web开发 - 理解及实现跨域
理解及实现跨域最近面试时,技术总监提出的这个问题,一时间不知从何说起,在这里写上一些自己理解和资料笔记,以便后日整理和修改。在谈正题之前,先提一提与其相关的认知,有助于深入理解: 域是什么 跨域又是什么 跨域的原因,即为什么需要跨域 跨域有哪些方式 跨域的原理 1. 基本概念要说跨域,那么不得不先谈谈域是什么,不然从何谈起跨域。域也就是”同源...
2018-08-05 11:45:25
341
原创 学习笔记 - 数据库 - exists 和 in
exists 和 in exists 子查询:先获取外表所有记录 ,再把外层查询结果放入内层 sql 测试,符合条件返回true则取出该行数据。先查询外层后查询内层 in 型子查询:先查询内层 sql ,把内层结果和外表作笛卡尔积,再过滤出条件满足的记录带有EXISTS谓词的子查询不返回任何数据,只产生逻辑真值“true”或逻辑假值“false”。对数据表:user...
2018-08-01 17:51:30
392
原创 学习笔记 - 数据库 - join 条件和 where 条件查询
join on 查询条件和 where 查询条件 on 是生成符合条件的表,where 是对已生成的表进行条件过滤例如,有如下两表:user:+----+-------+---------+| id | name | addr |+----+-------+---------+| 1 | tom | street1 || 2 | DIVA | st...
2018-08-01 15:13:38
1457
原创 学习笔记 - 数据库 - join 链接查询
join 链接查询inner join 、left join 、right join 关系和区别inner join(内链接)只返回两表中链接字段相等的记录left join(左链接) 返回包括左表中的所有记录和右表中 与左表联结字段相等 的记录.(两表中链接字段相等的记录,以及左表所有剩下的记录)right join(右链接) 返回包括右表中的所有记录和左表中 与右表联结字段相等...
2018-08-01 15:09:32
220
原创 问题整理 [记录] - Debian10 下编译 OpenJDK-8 源码 - Unkown Problem
ERROR:[未解决]××× Unkown Problem (貌似是BUG)×××详细:[Error] encoded value was less than 0: encode(-8.326673E-17, 5.0, 11.0, 16.0)[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 25.0...
2018-06-25 15:11:10
666
原创 问题整理 [记录] - Debian10 下编译 OpenJDK-8 源码 - Dtrace support disabled: /usr/include/sys/sdt.h not found
NOTICE:·[记录] ××× Dtrace support disabled: /usr/include/sys/sdt.h not found ×××具体信息:Making signal interposition lib...Making SA debugger back-end...**NOTICE** Dtrace support disabled: /usr/includ...
2018-06-25 15:09:21
1093
原创 问题整理 [记录] - Debian10 下编译 OpenJDK-8 源码 - jvmtifiles/jvmti.h: No such file or directory
ERROR: ××× jvmtifiles/jvmti.h: No such file or directory ××× (记录)具体报错:/mnt/Data/AppsData/Repository/java/jdk/8/hotspot/src/share/vm/runtime/os.hpp:28:30: fatal error: jvmtifiles/jvmti.h: No such f...
2018-06-25 15:07:46
1269
3
原创 问题整理 [已解决] - Debian10 下编译 OpenJDK-8 源码 - [-Wdeprecated-declarations]
Warning: ××× ‘int readdir_r(DIR*, dirent*, dirent**)’ is deprecated (declared at /usr/include/dirent.h:183) [-Wdeprecated-declarations] ×××具体警告提示:/mnt/Data/AppsData/Repository/java/jdk/8/hotspot/s...
2018-06-25 15:02:44
2796
3
原创 问题整理 [已解决] - Debian10 下编译 OpenJDK-8 源码 - cc1plus: all warnings being treated as errors
ERROR:××× cc1plus: all warnings being treated as errors ×××运行时的gcc配置问题方法一: 修改./hotspot/make/[you_os]/makefiles/gcc.make修改配置文件./hotspot/make/linux/makefiles/gcc.make,其中linux是当前系统 jdk1.7在127行,jdk...
2018-06-25 14:58:52
2096
原创 问题整理 [已解决] - Debian10 下编译 OpenJDK-8 源码 - left operand of shift expression is negative [-fpermissive]
ERROR:×××left operand of shift expression ‘(-1 << 1)’ is negative [-fpermissive] ×××具体报错:/mnt/Data/AppsData/Repository/java/jdk/8/hotspot/src/share/vm/code/dependencies.hpp:169:59: error: ...
2018-06-25 14:53:15
2133
原创 问题整理[已解决] - Debian10 下编译 OpenJDK-8 源码 - 'check_os_version' failed
ERROR:[已解决]××× recipe for target ‘check_os_version’ failed ×××分析:./hotspot/make/linux/Makefile:226-240checks: check_os_version check_j2se_version# We do not want people accidentally building o...
2018-06-25 14:49:29
1526
原创 问题整理 [已解决]- Debian10 下编译 OpenJDK-8 源码 - bootstrap class path not set
ERROR: ××× bootstrap class path not set in conjunction with -source 1.6 ×××bootstrap class path 未指定找到./hotspot/make/linux/makefiles/rules.make文件,然后修改BOOT_SOURCE_LANGUAGE_VERSION 和 BOOT_TARGET_CLA...
2018-06-24 13:55:04
577
原创 学习笔记之设计模式 --- 单例模式
软件开发过程中同样会遇到这样的问题:多个对象需要从一个类的实例获取一些信息,但如果它们得到的信息内容不一致,则意味着有多个状态在同一瞬间,然而其中只有一个状态是真实的,那么其他对象处理的都是错误信息。
2017-10-17 22:09:47
233
原创 HTTP method GET is not supported by this URL
HTTP method GET is not supported by this URL
2017-08-07 13:48:25
618
2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅