GithubHelp home page GithubHelp logo

Comments (8)

Nambers avatar Nambers commented on June 15, 2024

消息回调中消息编码从UTF-8转成了gb2312,看来我之前写的编码部分又要改了,虽然已经猜到之前issue提到的乱码是指的编码问题,都是小事。
多线程最开始改的那个是可以用的,后面更新一次,把全局genv赋值放到getEnv中就没法反向调用kotlin了,啊这。

az 我去试一下,目前全部编码都统一到utf8了

from miraicp.

ARKMIO avatar ARKMIO commented on June 15, 2024

我试了几下,发现和genv赋值位置无关
args.group = (jobject)tools.str2jstring(threadGroupName);
这个语句炸了

from miraicp.

Nambers avatar Nambers commented on June 15, 2024

我试了几下,发现和genv赋值位置无关
args.group = (jobject)tools.str2jstring(threadGroupName);
这个语句炸了

找到原因了,传了个NULL到strlen里,改这个有几种方法

  1. 在str2jstring里加非空判断
  2. 把getEnv里的参数从NULL改到""

from miraicp.

Nambers avatar Nambers commented on June 15, 2024

多线程支持可能要晚点才能出,设计有点复杂,因为attach后要detach,但是detach又影响到了genv,然后因为线程结束后还有地方要用到genv,所以在线程结束后还要确保genv可用

from miraicp.

Nambers avatar Nambers commented on June 15, 2024

接下来在 #19 跟进

from miraicp.

Nambers avatar Nambers commented on June 15, 2024

会在v2.5.0-patch-1发布

from miraicp.

Nambers avatar Nambers commented on June 15, 2024

已更新

from miraicp.

Nambers avatar Nambers commented on June 15, 2024

已更新

from miraicp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.