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
Scala compiler crash when using scala.swing.ComboBox.peer.setModel() #8745
Comments
Imported From: https://issues.scala-lang.org/browse/SI-8745?orig=1 |
@gourlaysama said: |
@gourlaysama said: |
Emanuel Jöbstl (emiswelt) said: |
@gourlaysama said: |
Emanuel Jöbstl (emiswelt) said: Remove ComboBox from layout |
Compiling a small Swing application which uses scala.swing.ComboBox.peer.setModel() causes the compiler to crash with [error] (visualization/compile:compile) java.lang.IndexOutOfBoundsException: 0.
If the line containing peer.setModel() is removed, the code compiles fine.
Code snippet to reproduce:
Commands to reproduce in Scala shell:
Full stack trace:
The text was updated successfully, but these errors were encountered: