You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Kyle Aure (Jira)" <ji...@apache.org> on 2020/12/01 21:37:00 UTC

[jira] [Created] (GERONIMO-6791) apache /geronimo-specs commonj out of sync with maven central

Kyle Aure created GERONIMO-6791:
-----------------------------------

             Summary: apache /geronimo-specs commonj out of sync with maven central
                 Key: GERONIMO-6791
                 URL: https://issues.apache.org/jira/browse/GERONIMO-6791
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: general
            Reporter: Kyle Aure


Commonj-1.1 spec jar is published in maven central here: [https://mvnrepository.com/artifact/org.apache.geronimo.specs/geronimo-commonj_1.1_spec/1.0]

 

But this jar does not match with the code present in source here: [https://github.com/apache/geronimo-specs/tree/trunk/geronimo-commonj_1.1_spec]

 

Example: *commonj.timers.work.WorkCompletedException*

JAR:
{code:java}
public class WorkCompletedException extends Exception {
  public WorkCompletedException() {}
  
  public WorkCompletedException(String message) {
    super(message);
  }
  
  public WorkCompletedException(String message, Throwable cause) {
    super(message, cause);
  }
  
  public WorkCompletedException(Throwable cause) {
    super(cause);
  }
}
{code}
 

Source:
{code:java}
public class WorkCompletedException extends WorkException {
  List exceptionList;
  
  public WorkCompletedException() {}
  
  public WorkCompletedException(String paramString) {
    super(paramString);
  }
  
  public WorkCompletedException(String paramString, Throwable paramThrowable) {
    super(paramString, paramThrowable);
  }
  
  public WorkCompletedException(Throwable paramThrowable) {
    super(paramThrowable);
  }
  
  public WorkCompletedException(String paramString, List paramList) {
    super(paramString);
    this.exceptionList = paramList;
  }
  
  public List getExceptionList() {
    if (this.exceptionList == null && getCause() != null) {
      ArrayList arrayList = new ArrayList();
      arrayList.add(getCause());
      return arrayList;
    } 
    return this.exceptionList;
  }
}
{code}
Could we release a 1.1 update to this artifact in maven central with the correct API?

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)