test/langtools/tools/javac/diags/examples/WhereCaptured.java
changeset 49518 d0ff431a596e
parent 47216 71c04702a3d5
equal deleted inserted replaced
49517:a387ee36e5e0 49518:d0ff431a596e
     1 /*
     1 /*
     2  * Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2010, 2018, 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.
    26 // key: compiler.misc.where.description.typevar
    26 // key: compiler.misc.where.description.typevar
    27 // key: compiler.misc.where.typevar
    27 // key: compiler.misc.where.typevar
    28 // key: compiler.err.cant.apply.symbol
    28 // key: compiler.err.cant.apply.symbol
    29 // key: compiler.misc.incompatible.eq.bounds
    29 // key: compiler.misc.incompatible.eq.bounds
    30 // key: compiler.misc.captured.type
    30 // key: compiler.misc.captured.type
    31 // options: --diags:formatterOptions=where,simpleNames
    31 // options: --diags=formatterOptions=where,simpleNames
    32 // run: simple
    32 // run: simple
    33 
    33 
    34 import java.util.*;
    34 import java.util.*;
    35 
    35 
    36 class WhereCaptured {
    36 class WhereCaptured {