8007698: jtreg test T6306137.java won't compile with ASCII encoding

Wed, 06 Feb 2013 23:10:35 +0000

author
jjh
date
Wed, 06 Feb 2013 23:10:35 +0000
changeset 1553
b386b8c45387
parent 1552
153d20d0cac5
child 1554
5125b9854d07

8007698: jtreg test T6306137.java won't compile with ASCII encoding
Reviewed-by: ksrini

test/tools/javac/api/T6306137.java file | annotate | diff | comparison | revisions
     1.1 --- a/test/tools/javac/api/T6306137.java	Wed Feb 06 07:49:31 2013 -0800
     1.2 +++ b/test/tools/javac/api/T6306137.java	Wed Feb 06 23:10:35 2013 +0000
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -25,6 +25,8 @@
    1.11   * @test
    1.12   * @bug     6306137
    1.13   * @summary JSR 199: encoding option doesn't affect standard file manager
    1.14 + * @compile -encoding utf-8 T6306137.java
    1.15 + * @run main T6306137
    1.16   * @author  Peter von der Ahé
    1.17   */
    1.18  

mercurial