stevedlawrence commented on PR #986:
URL: https://github.com/apache/daffodil/pull/986#issuecomment-1464198258

   Yeah, this could be bad...
   
   Some more information, if I output `class1.getClassLoader` and 
`class2.getClassLoader` we get this for `AttributedString`
   ```scala
   JLineLoader(
     
file:<removed>/.sbt/boot/scala-2.12.17/org.scala-sbt/sbt/1.8.2/jna-5.12.0.jar,
     
file:<removed>/.sbt/boot/scala-2.12.17/org.scala-sbt/sbt/1.8.2/jline-2.14.7-sbt-a1b0ffbb8f64bb820f4f84a0c07a0c0964507493.jar,
     
file:<removed>/.sbt/boot/scala-2.12.17/org.scala-sbt/sbt/1.8.2/jline-terminal-jna-3.19.0.jar,
     
file:<removed>/.sbt/boot/scala-2.12.17/org.scala-sbt/sbt/1.8.2/jline-terminal-3.19.0.jar,
     
file:<removed>/.sbt/boot/scala-2.12.17/org.scala-sbt/sbt/1.8.2/jansi-2.1.0.jar,
     
file:<removed>/.sbt/boot/scala-2.12.17/org.scala-sbt/sbt/1.8.2/jna-platform-5.12.0.jar,
     
file:<removed>/.sbt/boot/scala-2.12.17/org.scala-sbt/sbt/1.8.2/jline-terminal-jansi-3.19.0.jar
   )
   
   ``` 
   And this for `LineReaderImpl`
   ```scala
   sbt.internal.LayeredClassLoader@6933e5a6
   ```
   JLineLoader is some sbt thing. Fortunately it doesn't have all those other 
jars you mentioned, so this is potentially only an issue with these specific 
jars (not confirmed though). Still not great, but maybe limited to just jline 
related things. Not sure if it's possible to disable the JLineLoader though.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to