Skip to content

Commit

Permalink
Add a public class without an explicit constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinrushforth committed Jun 25, 2024
1 parent 6774d9e commit 9288499
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions modules/javafx.base/src/main/java/javafx/beans/CoolBeans.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/**
* This is a test of a public class in an exported package without an
* explicit constructor. It should produce a compilation error.
*/

package javafx.beans;

public class CoolBeans {

/**
* This is a method
*/
public void foo() {}
}

0 comments on commit 9288499

Please sign in to comment.