ipdb-java icon indicating copy to clipboard operation
ipdb-java copied to clipboard

IPIP.net officially supported IP database ipdb format parsing library

Results 16 ipdb-java issues
Sort by recently updated
recently updated
newest added

@JSONField(name = "ip_version") public int IPVersion; @JSONField(name = "node_count") public int nodeCount; public Map Languages; public String[] Fields; @JSONField(name = "total_size") public int totalSize;

```java long metaLength = bytesToLong(this.data[0], this.data[1], this.data[2], this.data[3]); byte[] metaBytes = Arrays.copyOfRange(this.data, 4, Long.valueOf(metaLength).intValue() + 4); ``` 这两行代码太危险了

fastjson版本,原为1.1.41 ,修改为 1.2.70 即可 ` com.alibaba fastjson 1.2.70 `

MetaData meta = JSONObject.parseObject(new String(metaBytes), MetaData.class) 想问下这个地方是直接把所有数据一把搞了吗,这个new String 直接 堆异常了。 我配置了2个G了。

Bumps [junit](https://github.com/junit-team/junit4) from 4.9 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

应用版本:springboot-2.* 启动提示: The Class-Path manifest attribute in C:\Users\*\.m2\repository\net\ipip\ipdb\1.1.3\ipdb-1.1.3.jar referenced one or more files that do not exist: file:/C:/Users/*/.m2/repository/net/ipip/ipdb/1.1.3/fastjson-1.2.60.jar 怎么会从这个目录去获取fastjson?