mbien commented on PR #8892:
URL: https://github.com/apache/netbeans/pull/8892#issuecomment-3382981951

   jgit update is likely not possible with the bouncycastle dependency locked 
to 1.77.
   
   I ran jgit tests locally with downgraded dependency:
   
   ```diff
   diff --git a/pom.xml b/pom.xml
   index 14cfa2405..f1a8b742c 100644
   --- a/pom.xml
   +++ b/pom.xml
   @@ -137,7 +137,7 @@
        <slf4j-version>1.7.36</slf4j-version>
        <maven-javadoc-plugin-version>3.11.2</maven-javadoc-plugin-version>
        <gson-version>2.13.1</gson-version>
   -    <bouncycastle-version>1.81</bouncycastle-version>
   +    <bouncycastle-version>1.77</bouncycastle-version>
        <spotbugs-maven-plugin-version>4.9.3.0</spotbugs-maven-plugin-version>
        
<maven-project-info-reports-plugin-version>3.9.0</maven-project-info-reports-plugin-version>
        <maven-jxr-plugin-version>3.6.0</maven-jxr-plugin-version>
   ```
   
   ```
   git checkout v7.4.0.202509020913-r
   mvn clean verify
   ```
   failed with 
   ```
   [ERROR] 
/home/mbien/NetBeansProjects/jgit/org.eclipse.jgit.gpg.bc/src/org/eclipse/jgit/gpg/bc/internal/BouncyCastleGpgSigner.java:[105,47]
 The constructor 
org.bouncycastle.openpgp.PGPSignatureGenerator(org.bouncycastle.openpgp.operator.jcajce.JcaPGPContentSignerBuilder,
 org.bouncycastle.openpgp.PGPPublicKey) is undefined
   [ERROR] 
/home/mbien/NetBeansProjects/jgit/org.eclipse.jgit.gpg.bc/src/org/eclipse/jgit/gpg/bc/internal/keys/SecretKeys.java:[149,22]
 ProtectionFormatTypeTags cannot be resolved or is not a field
   [ERROR] 
/home/mbien/NetBeansProjects/jgit/org.eclipse.jgit.gpg.bc/src/org/eclipse/jgit/gpg/bc/internal/keys/SecretKeys.java:[150,6]
 The method getProtectionType(java.lang.String) is undefined for the type 
org.bouncycastle.gpg.SExprParser
   ```
   
   converting to draft, dropping milestone


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to