You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "DanielThomas (via GitHub)" <gi...@apache.org> on 2023/08/31 01:20:06 UTC
[GitHub] [tomcat-jakartaee-migration] DanielThomas opened a new issue, #48: Workaround for JDK-8303866 makes migrated jar incompatible with latest JDK releases
DanielThomas opened a new issue, #48:
URL: https://github.com/apache/tomcat-jakartaee-migration/issues/48
The zip validation changes for [JDK-8302483](https://www.oracle.com/java/technologies/javase/17-0-8-relnotes.html#JDK-8302483) causes failures to load jars output by the migration tool:
```
lombok-1.18.28.jar; Invalid CEN header (invalid zip64 extra data field size)
```
The problem appears to be the workaround for JDK-8303866, the field removal appears to cause the problem:
https://github.com/apache/tomcat-jakartaee-migration/blob/4b767e426dfa1cf4b565eb328d51fe1ddb043825/src/main/java/org/apache/tomcat/jakartaee/Migration.java#L317C40-L320
We're currently using in-memory transforms as a workaround, but because we're using the tool in https://github.com/nebula-plugins/gradle-jakartaee-migration-plugin/ and they run in parallel, so that can lead to heap utilization issues in builds.
--
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: dev-unsubscribe@tomcat.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: [I] Workaround for JDK-8303866 makes migrated jar incompatible with latest JDK releases [tomcat-jakartaee-migration]
Posted by "markt-asf (via GitHub)" <gi...@apache.org>.
markt-asf commented on issue #48:
URL: https://github.com/apache/tomcat-jakartaee-migration/issues/48#issuecomment-1912052544
I can't repeat this. Please provide:
- the command used to convert lombok-1.18.28.jar using version 1.0.7 of the migration tool
- the simplest Java code that demonstrates the problem with the result of the migration
--
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: dev-unsubscribe@tomcat.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: [I] Workaround for JDK-8303866 makes migrated jar incompatible with latest JDK releases [tomcat-jakartaee-migration]
Posted by "DanielThomas (via GitHub)" <gi...@apache.org>.
DanielThomas closed issue #48: Workaround for JDK-8303866 makes migrated jar incompatible with latest JDK releases
URL: https://github.com/apache/tomcat-jakartaee-migration/issues/48
--
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: dev-unsubscribe@tomcat.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: [I] Workaround for JDK-8303866 makes migrated jar incompatible with latest JDK releases [tomcat-jakartaee-migration]
Posted by "DanielThomas (via GitHub)" <gi...@apache.org>.
DanielThomas commented on issue #48:
URL: https://github.com/apache/tomcat-jakartaee-migration/issues/48#issuecomment-1913758414
Some improvements got made to this mitigation in later JDK releases, due to false positives in the detection, so I think this has been addressed upstream.
--
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: dev-unsubscribe@tomcat.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org