mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
8 lines
192 B
Java
8 lines
192 B
Java
class Test {
|
|
{
|
|
// OK: calls PrintStream.println(char[])
|
|
System.out.println(new char[] { 'H', 'i' });
|
|
// NOT OK: calls PrintStream.println(Object)
|
|
System.out.println(new byte[0]);
|
|
}
|
|
} |