langtools/test/tools/javah/T5070898.java
changeset 30730 d3ce7619db2c
parent 27579 d1a63c99cdd5
equal deleted inserted replaced
30729:398f0f51917a 30730:d3ce7619db2c
     1 /*
     1 /*
     2  * Copyright (c) 2007, 2014, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2007, 2015, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    22  */
    22  */
    23 
    23 
    24 /* @test
    24 /* @test
    25  * @bug 5070898
    25  * @bug 5070898
    26  * @summary javah command doesn't throw correct exit code in case of error
    26  * @summary javah command doesn't throw correct exit code in case of error
       
    27  * @modules java.compiler
       
    28  *          jdk.compiler
    27  */
    29  */
    28 
    30 
    29 import java.io.*;
    31 import java.io.*;
    30 import java.util.*;
    32 import java.util.*;
    31 import javax.tools.*;
    33 import javax.tools.*;