Giter VIP home page Giter VIP logo

Comments (6)

pshipton avatar pshipton commented on July 18, 2024

@andrew-m-leonard

from openj9-openjdk-jdk.

adam-thorpe avatar adam-thorpe commented on July 18, 2024

b35356d#diff-b5078076fd797817acd3d97d9357ceeb
If I remember correctly @pshipton, this change was a change in openjdk code that was fixing a patch we had in openj9. The line above caused a merge conflict when merged from HEAD to openj9-staging.

from openj9-openjdk-jdk.

pshipton avatar pshipton commented on July 18, 2024

Problem is the function declaration is inconsistent with the declaration in src/jdk.jdwp.agent/share/native/libjdwp/export/sys.h

openj9-staging
void dbgsysBuildLibName(char *, size_t, const char *, const char *);

master
void dbgsysBuildLibName(char *, int, const char *, const char *);

from openj9-openjdk-jdk.

adam-thorpe avatar adam-thorpe commented on July 18, 2024

As part of the patch 5222689#diff-2b764b7cc320d5bf9704f09377c94f41 the src/jdk.jdwp.agent/share/native/libjdwp/export/sys.h file was edited to compensate for the patch (ie. replacing int to size_t in the above method declaration). In openjdk code, this remained int and when they contributed their change this value was unaffected and therefore was not edited by the auto merge. Clearly me and Andrew missed this when we dealt with the merge conflict, since it was not in conflict itself. So reverting this value back to int as it is in master would effectively remove our patch. Please correct me if I made any mistakes here but this is my understanding of it.

from openj9-openjdk-jdk.

pshipton avatar pshipton commented on July 18, 2024

@adam-thorpe sounds good. Please create a PR to fix it, and we'll run some testing to ensure everything still works.

from openj9-openjdk-jdk.

adam-thorpe avatar adam-thorpe commented on July 18, 2024

@pshipton can this be closed please?

from openj9-openjdk-jdk.

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.