Re: [PR] Support for Java 16 Record feature [commons-bcel]

2024-03-19 Thread via GitHub
garydgregory commented on PR #290: URL: https://github.com/apache/commons-bcel/pull/290#issuecomment-2008589150 @PabloNicolasDiaz The PR still causes the build to fail. Also, note that the code coverage is insufficient as reported by Codecov: ``` Attention: Patch coverage is

Re: [PR] Support for Java 14 Record feature [commons-bcel]

2024-03-19 Thread via GitHub
PabloNicolasDiaz commented on code in PR #290: URL: https://github.com/apache/commons-bcel/pull/290#discussion_r1531181712 ## src/test/java/org/apache/bcel/CounterVisitorTestCase.java: ## @@ -217,4 +217,8 @@ public void testSyntheticCount() { public void testUnknownCount()

Re: [PR] Support for Java 14 Record feature [commons-bcel]

2024-03-19 Thread via GitHub
PabloNicolasDiaz commented on PR #290: URL: https://github.com/apache/commons-bcel/pull/290#issuecomment-2008184067 Hello @garydgregory, let me figure out if i can solve all the errors and if RecordComponentInfo needs to be acceder to users. RecordComponentInfo should be mapped to every

Re: [PR] Support for Java 14 Record feature [commons-bcel]

2024-03-19 Thread via GitHub
garydgregory commented on PR #290: URL: https://github.com/apache/commons-bcel/pull/290#issuecomment-2008175461 @PabloNicolasDiaz The build is broken with: ``` Error: Failed to execute goal com.github.siom79.japicmp:japicmp-maven-plugin:0.18.5:cmp (default-cli) on project bcel:

Re: [PR] Support for Java 14 Record feature [commons-bcel]

2024-03-19 Thread via GitHub
garydgregory commented on code in PR #290: URL: https://github.com/apache/commons-bcel/pull/290#discussion_r1531140604 ## src/main/java/org/apache/bcel/classfile/Record.java: ## @@ -0,0 +1,152 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + *

Re: [PR] Support for Java 14 Record feature [commons-bcel]

2024-03-19 Thread via GitHub
garydgregory commented on PR #290: URL: https://github.com/apache/commons-bcel/pull/290#issuecomment-2008164954 @PabloNicolasDiaz Thank you for your PR. I fixed a whole set of whitespace issues. 1. Please rebase on Git master to pick up a new version of our Checkstyle

[PR] Support for java 14 Record feature [commons-bcel]

2024-03-19 Thread via GitHub
PabloNicolasDiaz opened a new pull request, #290: URL: https://github.com/apache/commons-bcel/pull/290 This PR adds support for java 14 record feature (https://openjdk.org/jeps/359). Users now can use `JavaClass.isRecord()` to detect a record class. -- This is an automated message from

[jira] [Commented] (COMPRESS-669) Allow usage of non-Pack200 features without Commons Lang 3

2024-03-19 Thread Basil Crow (Jira)
[ https://issues.apache.org/jira/browse/COMPRESS-669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17828473#comment-17828473 ] Basil Crow commented on COMPRESS-669: - bq. Brotli support that currently depend on another jar

Re: [PR] Bump org.apache.maven.plugins:maven-compiler-plugin from 3.12.1 to 3.13.0 [commons-parent]

2024-03-19 Thread via GitHub
garydgregory merged PR #385: URL: https://github.com/apache/commons-parent/pull/385 -- 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:

Re: [PR] Bump org.apache.maven.plugins:maven-assembly-plugin from 3.7.0 to 3.7.1 [commons-parent]

2024-03-19 Thread via GitHub
garydgregory merged PR #384: URL: https://github.com/apache/commons-parent/pull/384 -- 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:

[PR] Add null guard for InstructionFactor.createInvoke [commons-bcel]

2024-03-19 Thread via GitHub
pingpingy1 opened a new pull request, #289: URL: https://github.com/apache/commons-bcel/pull/289 In the current implementation of the `createInvoke` method, an NPE is thrown if the `argTypes` array is `null`. This commit adds a null guard that skips the for loop if this is the case.

Re: [PR] CONFIGURATION-836: Migrate to jakarta [commons-configuration]

2024-03-19 Thread via GitHub
MichielDx commented on PR #386: URL: https://github.com/apache/commons-configuration/pull/386#issuecomment-2006047529 @garydgregory Reverted the rename, but still getting the same error. -- This is an automated message from the Apache Git Service. To respond to the message, please log on

Re: [PR] CONFIGURATION-836: Migrate to jakarta [commons-configuration]

2024-03-19 Thread via GitHub
garydgregory commented on PR #386: URL: https://github.com/apache/commons-configuration/pull/386#issuecomment-2006026171 @MichielDx A (broken) PR with 510 changed files is not something reviewable or reasonable. Changing package names for a major version change is a task best left for

Re: [PR] CONFIGURATION-836: Migrate to jakarta [commons-configuration]

2024-03-19 Thread via GitHub
MichielDx commented on PR #386: URL: https://github.com/apache/commons-configuration/pull/386#issuecomment-2005893034 @garydgregory I changed it to configuration3, but now I get following error: `[ERROR] Failed to execute goal com.github.siom79.japicmp:japicmp-maven-plugin:0.18.5:cmp