Skip to content

Commit

Permalink
Enable preview for test T8312229.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealMDoerr committed Jun 3, 2024
1 parent 0bb5eb8 commit 4146736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/langtools/tools/javac/patterns/T8312229.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* @test
* @bug 8312229
* @summary Ensure javac does not crash when a variable is used from an anonymous class
* @compile T8312229.java
* @compile --enable-preview -source ${jdk.version} T8312229.java
*/
public class T8312229 {
void test(Object o) {
Expand Down

0 comments on commit 4146736

Please sign in to comment.