jdk/test/tools/jlink/IntegrationTest.java
changeset 39129 4b2086305b68
parent 38320 e24c7029e8ba
child 39321 c60f34e8c057
equal deleted inserted replaced
39128:e991a1c8b41b 39129:4b2086305b68
    88         public String getName() {
    88         public String getName() {
    89             return NAME;
    89             return NAME;
    90         }
    90         }
    91 
    91 
    92         @Override
    92         @Override
    93         public Set<Category> getType() {
    93         public Category getType() {
    94             Set<Category> set = new HashSet<>();
    94             return Category.PROCESSOR;
    95             set.add(Category.PROCESSOR);
       
    96             return Collections.unmodifiableSet(set);
       
    97         }
    95         }
    98 
    96 
    99         @Override
    97         @Override
   100         public void configure(Map<String, String> config) {
    98         public void configure(Map<String, String> config) {
   101             throw new UnsupportedOperationException("Shouldn't be called");
    99             throw new UnsupportedOperationException("Shouldn't be called");
   134             System.err.println(NAME + index);
   132             System.err.println(NAME + index);
   135             ordered.add(index);
   133             ordered.add(index);
   136             in.transformAndCopy((file) -> {
   134             in.transformAndCopy((file) -> {
   137                 return file;
   135                 return file;
   138             }, out);
   136             }, out);
   139         }
       
   140 
       
   141         @Override
       
   142         public Set<Category> getType() {
       
   143             Set<Category> set = new HashSet<>();
       
   144             set.add(Category.TRANSFORMER);
       
   145             return Collections.unmodifiableSet(set);
       
   146         }
   137         }
   147 
   138 
   148         @Override
   139         @Override
   149         public String getDescription() {
   140         public String getDescription() {
   150             return null;
   141             return null;