Skip to content

Fail to compile when extending JPanel when -Yexplicit-nulls is enabled #8981

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

Closed
rcano opened this issue May 13, 2020 · 1 comment
Closed

Comments

@rcano
Copy link

rcano commented May 13, 2020

Minimized code

object Crash {
  class Foo extends javax.swing.JPanel
}

Output (click arrow to expand)

 Found:    Array[("DebugGraphics.NONE_OPTION" : String) | 
   ("DebugGraphics.LOG_OPTION" : String)
  ("DebugGraphics.FLASH_OPTION" : String) | 
   ("DebugGraphics.BUFFERED_OPTION" : String)
 ]
 Required: Array[String | UncheckedNull] | UncheckedNull

Expected

it should compile without errors.

@noti0na1
Copy link
Member

This has been fixed in #9884.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants