[jira] [Commented] (XMLBEANS-572) When generating Java code, there is a wrong reference to java.util.Object

2021-10-13 Thread PJ Fanning (Jira)


[ 
https://issues.apache.org/jira/browse/XMLBEANS-572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17428214#comment-17428214
 ] 

PJ Fanning commented on XMLBEANS-572:
-

Thanks [~farbeizaenverus] - I committed your xsd - the ant build generates the 
source for the xsd and compiles it - I don't verify anything but the build will 
fail if the generated source won't compile

> When generating Java code, there is a wrong reference to java.util.Object
> -
>
> Key: XMLBEANS-572
> URL: https://issues.apache.org/jira/browse/XMLBEANS-572
> Project: XMLBeans
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: Version 5.0.1
>Reporter: Fernando
>Priority: Major
> Fix For: Version 5.0.2
>
> Attachments: test.xsd
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> In this line of code: 
> [SchemaTypeCodePrinter|https://github.com/apache/xmlbeans/blob/trunk/src/main/java/org/apache/xmlbeans/impl/schema/SchemaTypeCodePrinter.java#L1240]
> When generating code, the unexistent java.util.Object class is referenced, 
> instead of the java.lang.Object.



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

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[jira] [Commented] (XMLBEANS-572) When generating Java code, there is a wrong reference to java.util.Object

2021-10-13 Thread PJ Fanning (Jira)


[ 
https://issues.apache.org/jira/browse/XMLBEANS-572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17428151#comment-17428151
 ] 

PJ Fanning commented on XMLBEANS-572:
-

[~farbeizaenverus] can you provide a schema?

> When generating Java code, there is a wrong reference to java.util.Object
> -
>
> Key: XMLBEANS-572
> URL: https://issues.apache.org/jira/browse/XMLBEANS-572
> Project: XMLBeans
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: Version 5.0.1
>Reporter: Fernando
>Priority: Major
> Fix For: Version 5.0.2
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> In this line of code: 
> [SchemaTypeCodePrinter|https://github.com/apache/xmlbeans/blob/trunk/src/main/java/org/apache/xmlbeans/impl/schema/SchemaTypeCodePrinter.java#L1240]
> When generating code, the unexistent java.util.Object class is referenced, 
> instead of the java.lang.Object.



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

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[jira] [Commented] (XMLBEANS-572) When generating Java code, there is a wrong reference to java.util.Object

2021-09-30 Thread PJ Fanning (Jira)


[ 
https://issues.apache.org/jira/browse/XMLBEANS-572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17422855#comment-17422855
 ] 

PJ Fanning commented on XMLBEANS-572:
-

there is a fix in 
[https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.11/lastSuccessfulBuild/artifact/]
 

> When generating Java code, there is a wrong reference to java.util.Object
> -
>
> Key: XMLBEANS-572
> URL: https://issues.apache.org/jira/browse/XMLBEANS-572
> Project: XMLBeans
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: Version 5.0.1
>Reporter: Fernando
>Priority: Major
> Fix For: Version 5.0.2
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> In this line of code: 
> [SchemaTypeCodePrinter|https://github.com/apache/xmlbeans/blob/trunk/src/main/java/org/apache/xmlbeans/impl/schema/SchemaTypeCodePrinter.java#L1240]
> When generating code, the unexistent java.util.Object class is referenced, 
> instead of the java.lang.Object.



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

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[jira] [Commented] (XMLBEANS-572) When generating Java code, there is a wrong reference to java.util.Object

2021-09-30 Thread PJ Fanning (Jira)


[ 
https://issues.apache.org/jira/browse/XMLBEANS-572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17422839#comment-17422839
 ] 

PJ Fanning commented on XMLBEANS-572:
-

[~farbeizaenverus] would you have an example xsd that we could use to 
regression test this?

> When generating Java code, there is a wrong reference to java.util.Object
> -
>
> Key: XMLBEANS-572
> URL: https://issues.apache.org/jira/browse/XMLBEANS-572
> Project: XMLBeans
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: Version 5.0.1
>Reporter: Fernando
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> In this line of code: 
> [SchemaTypeCodePrinter|https://github.com/apache/xmlbeans/blob/trunk/src/main/java/org/apache/xmlbeans/impl/schema/SchemaTypeCodePrinter.java#L1240]
> When generating code, the unexistent java.util.Object class is referenced, 
> instead of the java.lang.Object.



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

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[jira] [Commented] (XMLBEANS-572) When generating Java code, there is a wrong reference to java.util.Object

2021-09-30 Thread PJ Fanning (Jira)


[ 
https://issues.apache.org/jira/browse/XMLBEANS-572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17422837#comment-17422837
 ] 

PJ Fanning commented on XMLBEANS-572:
-

[~farbeizaenverus] looks like that bug is just over a year old - so the 
releases after Sept 2020 are affected

> When generating Java code, there is a wrong reference to java.util.Object
> -
>
> Key: XMLBEANS-572
> URL: https://issues.apache.org/jira/browse/XMLBEANS-572
> Project: XMLBeans
>  Issue Type: Bug
>  Components: Compiler
>Affects Versions: Version 5.0.1
>Reporter: Fernando
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> In this line of code: 
> [SchemaTypeCodePrinter|https://github.com/apache/xmlbeans/blob/trunk/src/main/java/org/apache/xmlbeans/impl/schema/SchemaTypeCodePrinter.java#L1240]
> When generating code, the unexistent java.util.Object class is referenced, 
> instead of the java.lang.Object.



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

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org