Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reproduce code for issue 479 #514

Merged
merged 2 commits into from
Nov 20, 2023
Merged

reproduce code for issue 479 #514

merged 2 commits into from
Nov 20, 2023

Conversation

xuwei-k
Copy link
Member

@xuwei-k xuwei-k commented Nov 19, 2023

No description provided.

@xuwei-k
Copy link
Member Author

xuwei-k commented Nov 19, 2023

https://github.com/sbt/sbt-assembly/actions/runs/6923405853/job/18831251143?pr=514#step:4:845

[info] [error] java.io.IOException: Unable to transform example/A.class
[info] [error] 	at com.eed3si9n.jarjar.util.JarTransformer.process(JarTransformer.java:43)
[info] [error] 	at com.eed3si9n.jarjar.util.JarProcessorChain.process(JarProcessorChain.java:38)
[info] [error] 	at com.eed3si9n.jarjar.JJProcessor.process(JJProcessor.scala:108)
[info] [error] 	at com.eed3si9n.jarjarabrams.Shader$.$anonfun$bytecodeShader$6(Shader.scala:120)
[info] [error] 	at sbtassembly.Assembly$.$anonfun$shader$2(Assembly.scala:498)
[info] [error] 	at sbtassembly.Assembly$.$anonfun$assemble$17(Assembly.scala:272)
[info] [error] 	at scala.collection.TraversableLike.$anonfun$flatMap$1(TraversableLike.scala:293)
[info] [error] 	at scala.collection.Iterator.foreach(Iterator.scala:943)
[info] [error] 	at scala.collection.Iterator.foreach$(Iterator.scala:943)
[info] [error] 	at scala.collection.AbstractIterator.foreach(Iterator.scala:1431)
[info] [error] 	at scala.collection.IterableLike.foreach(IterableLike.scala:74)
[info] [error] 	at scala.collection.IterableLike.foreach$(IterableLike.scala:73)
[info] [error] 	at scala.collection.AbstractIterable.foreach(Iterable.scala:56)
[info] [error] 	at scala.collection.TraversableLike.flatMap(TraversableLike.scala:293)
[info] [error] 	at scala.collection.TraversableLike.flatMap$(TraversableLike.scala:290)
[info] [error] 	at scala.collection.AbstractTraversable.flatMap(Traversable.scala:108)
[info] [error] 	at sbtassembly.Assembly$.$anonfun$assemble$16(Assembly.scala:270)
[info] [error] 	at sbtassembly.Assembly$.timed$1(Assembly.scala:228)
[info] [error] 	at sbtassembly.Assembly$.assemble(Assembly.scala:268)
[info] [error] 	at sbtassembly.Assembly$.$anonfun$assemblyTask$1(Assembly.scala:196)
[info] [error] 	at scala.Function1.$anonfun$compose$1(Function1.scala:49)
[info] [error] 	at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:63)
[info] [error] 	at sbt.std.Transform$$anon$4.work(Transform.scala:69)
[info] [error] 	at sbt.Execute.$anonfun$submit$2(Execute.scala:283)
[info] [error] 	at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
[info] [error] 	at sbt.Execute.work(Execute.scala:292)
[info] [error] 	at sbt.Execute.$anonfun$submit$1(Execute.scala:283)
[info] [error] 	at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
[info] [error] 	at sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
[info] [error] 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
[info] [error] 	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
[info] [error] 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
[info] [error] 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
[info] [error] 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
[info] [error] 	at java.base/java.lang.Thread.run(Thread.java:1583)
[info] [error] Caused by: java.lang.UnsupportedOperationException: PermittedSubclasses requires ASM9
[info] [error] 	at org.objectweb.asm.ClassVisitor.visitPermittedSubclass(ClassVisitor.java:281)
[info] [error] 	at org.objectweb.asm.ClassVisitor.visitPermittedSubclass(ClassVisitor.java:284)
[info] [error] 	at org.objectweb.asm.commons.ClassRemapper.visitPermittedSubclass(ClassRemapper.java:226)
[info] [error] 	at org.objectweb.asm.ClassReader.accept(ClassReader.java:707)
[info] [error] 	at org.objectweb.asm.ClassReader.accept(ClassReader.java:425)
[info] [error] 	at com.eed3si9n.jarjar.util.JarTransformer.process(JarTransformer.java:41)
[info] [error] 	at com.eed3si9n.jarjar.util.JarProcessorChain.process(JarProcessorChain.java:38)
[info] [error] 	at com.eed3si9n.jarjar.JJProcessor.process(JJProcessor.scala:108)
[info] [error] 	at com.eed3si9n.jarjarabrams.Shader$.$anonfun$bytecodeShader$6(Shader.scala:120)
[info] [error] 	at sbtassembly.Assembly$.$anonfun$shader$2(Assembly.scala:498)
[info] [error] 	at sbtassembly.Assembly$.$anonfun$assemble$17(Assembly.scala:272)
[info] [error] 	at scala.collection.TraversableLike.$anonfun$flatMap$1(TraversableLike.scala:293)
[info] [error] 	at scala.collection.Iterator.foreach(Iterator.scala:943)
[info] [error] 	at scala.collection.Iterator.foreach$(Iterator.scala:943)
[info] [error] 	at scala.collection.AbstractIterator.foreach(Iterator.scala:1431)
[info] [error] 	at scala.collection.IterableLike.foreach(IterableLike.scala:74)
[info] [error] 	at scala.collection.IterableLike.foreach$(IterableLike.scala:73)
[info] [error] 	at scala.collection.AbstractIterable.foreach(Iterable.scala:56)
[info] [error] 	at scala.collection.TraversableLike.flatMap(TraversableLike.scala:293)
[info] [error] 	at scala.collection.TraversableLike.flatMap$(TraversableLike.scala:290)
[info] [error] 	at scala.collection.AbstractTraversable.flatMap(Traversable.scala:108)
[info] [error] 	at sbtassembly.Assembly$.$anonfun$assemble$16(Assembly.scala:270)
[info] [error] 	at sbtassembly.Assembly$.timed$1(Assembly.scala:228)
[info] [error] 	at sbtassembly.Assembly$.assemble(Assembly.scala:268)
[info] [error] 	at sbtassembly.Assembly$.$anonfun$assemblyTask$1(Assembly.scala:196)
[info] [error] 	at scala.Function1.$anonfun$compose$1(Function1.scala:49)
[info] [error] 	at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:63)
[info] [error] 	at sbt.std.Transform$$anon$4.work(Transform.scala:69)
[info] [error] 	at sbt.Execute.$anonfun$submit$2(Execute.scala:283)
[info] [error] 	at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
[info] [error] 	at sbt.Execute.work(Execute.scala:292)
[info] [error] 	at sbt.Execute.$anonfun$submit$1(Execute.scala:283)
[info] [error] 	at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
[info] [error] 	at sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
[info] [error] 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
[info] [error] 	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
[info] [error] 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
[info] [error] 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
[info] [error] 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
[info] [error] 	at java.base/java.lang.Thread.run(Thread.java:1583)
[info] [error] (assembly) java.io.IOException: Unable to transform example/A.class
[info] [error] Total time: 1 s, completed Nov 19, 2023, 10:53:48 PM
Error:  x shading/jdk17 
Error:   Cause of test exception: {line 2}  Command failed: assembly failed

@xuwei-k xuwei-k marked this pull request as ready for review November 19, 2023 23:58
@eed3si9n eed3si9n merged commit 64dedc8 into sbt:develop Nov 20, 2023
4 checks passed
@xuwei-k xuwei-k deleted the issue-479-test branch November 20, 2023 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants