|
Last change
on this file since 3103 was 1389, checked in by bird, 22 years ago |
|
Initial revision
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
|
File size:
245 bytes
|
| Line | |
|---|
| 1 | public class utf8concat
|
|---|
| 2 | {
|
|---|
| 3 | private static String s;
|
|---|
| 4 |
|
|---|
| 5 | public static void main (String[] args)
|
|---|
| 6 | {
|
|---|
| 7 | // This causes a crash at runtime because the compiler is
|
|---|
| 8 | // producing an invalid UTF-8 string literal.
|
|---|
| 9 | s = "abc" + (char)183;
|
|---|
| 10 | }
|
|---|
| 11 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.