mirror of
https://github.com/github/codeql.git
synced 2026-06-13 08:51:20 +02:00
9 lines
204 B
Java
9 lines
204 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]); // $ Alert
|
|
}
|
|
}
|