jep511: add the star-import clash demo, java.base export count and a java.time jshell check
TwoStarImports.java, the java.base export count in output/04, the extra LocalDate line in src/imports.jsh and regenerated transcripts. Additive commit. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TF9JWFvJSNm6HVzswzZU5a
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import java.util.*;
|
||||
import java.sql.*;
|
||||
|
||||
public class TwoStarImports {
|
||||
public static void main(String[] args) {
|
||||
Date d = new Date(0L); // the same clash, with the old on-demand imports
|
||||
System.out.println(d);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user