Skip to content

Conversation

@marcosgopen
Copy link
Member

@marcosgopen marcosgopen commented Nov 6, 2025

#2427 leftover

@franz1981 there is still a unit test for longToHexString method. I am restoring it because the removal caused a compilation error in QA axes.
In case we would like to remove it we might need to deprecate it first.

CORE !AS_TESTS !RTS !JACOCO !XTS QA_JTA QA_JTS_OPENJDKORB !PERFORMANCE !DB_TESTS

@jbosstm-bot
Copy link

CORE profile tests failed (https://jenkins-csb-narayana-ci.dno.corp.redhat.com/job/btny-pulls-narayana/PROFILE=CORE,jdk=openJDK17,label=jnlp-agent/57/): Narayana rebase on main failed. Please rebase it manually

@jbosstm-bot
Copy link

QA_JTA profile tests failed (https://jenkins-csb-narayana-ci.dno.corp.redhat.com/job/btny-pulls-narayana/PROFILE=QA_JTA,jdk=openJDK21,label=jnlp-agent/57/): Narayana rebase on main failed. Please rebase it manually

@jbosstm-bot
Copy link

QA_JTS_OPENJDKORB profile tests failed (https://jenkins-csb-narayana-ci.dno.corp.redhat.com/job/btny-pulls-narayana/PROFILE=QA_JTS_OPENJDKORB,jdk=openJDK21,label=jnlp-agent/57/): Narayana rebase on main failed. Please rebase it manually

@jbosstm-bot
Copy link

QA_JTS_OPENJDKORB profile tests failed (https://jenkins-csb-narayana-ci.dno.corp.redhat.com/job/btny-pulls-narayana/PROFILE=QA_JTS_OPENJDKORB,jdk=openJDK17,label=jnlp-agent/57/): Narayana rebase on main failed. Please rebase it manually

@jbosstm-bot
Copy link

@jbosstm-bot
Copy link

@jbosstm-bot
Copy link

@jbosstm-bot
Copy link

@jbosstm-bot
Copy link

@jbosstm-bot
Copy link

@jbosstm-bot
Copy link

@jbosstm-bot
Copy link

@jbosstm-bot
Copy link

@jbosstm-bot
Copy link

@jmfinelli
Copy link
Contributor

Do you think it is worth adding @Deprecated to the methods you intend to deprecate?

@marcosgopen
Copy link
Member Author

Do you think it is worth adding @Deprecated to the methods you intend to deprecate?

I do not know @jmfinelli . What I can see is that that is a public utility method, static, it is not in an internal class and that is part of a released artifact, hence my concern. However I am not sure, so in this PR I only restore the method needed for the QA test asking for advice.

@jmfinelli
Copy link
Contributor

jmfinelli commented Nov 10, 2025

I think I miss which QA test is failing. Could you please share which one it is?

I suppose adding '@deprecated' to the method(s) you intend to deprecate would help clarify your plan. IOW, in case we add that annotation, the PR will be easier to review (IMO)

@marcosgopen
Copy link
Member Author

Sorry Manuel, actually it is a compilation error:

    [javac] Compiling 1449 source files to /home/jenkins/workspace/narayana/PROFILE/QA_JTA/jdk/openJDK17/label/jnlp-agent/qa/tests/build/classes
    [javac] /home/jenkins/workspace/narayana/PROFILE/QA_JTA/jdk/openJDK17/label/jnlp-agent/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/UtilityTest.java:128: error: cannot find symbol
    [javac] 		hexReturnValue = Utility.longToHexString(passedValue);
    [javac] 		                        ^
    [javac]   symbol:   method longToHexString(long)
    [javac]   location: class Utility
    [javac] /home/jenkins/workspace/narayana/PROFILE/QA_JTA/jdk/openJDK17/label/jnlp-agent/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Impls/

See failure here: https://jenkins-csb-narayana-ci.dno.corp.redhat.com/job/narayana/PROFILE=QA_JTA,jdk=openJDK17,label=jnlp-agent/404/consoleFull

@marcosgopen
Copy link
Member Author

marcosgopen commented Nov 10, 2025

I think I miss which QA test is failing. Could you please share which one it is?

I suppose adding '@deprecated' to the method(s) you intend to deprecate would help clarify your plan. IOW, in case we add that annotation, the PR will be easier to review (IMO)

Sorry @jmfinelli , the description was not clear. I have updated it. My plan is to restore the method to fix the compilation error.

@marcosgopen marcosgopen merged commit 3f220cc into jbosstm:main Nov 10, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants