< prev index next >
test/jdk/jdk/modules/etc/UpgradeableModules.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 41,65 ****
import java.util.Set;
import java.util.stream.Collectors;
public class UpgradeableModules {
private static final List<String> UPGRADEABLE_MODULES =
! List.of("java.activation",
! "java.compiler",
! "java.corba",
"java.jnlp",
- "java.transaction",
- "java.xml.bind",
- "java.xml.ws",
- "java.xml.ws.annotation",
"jdk.internal.vm.compiler",
"jdk.deploy",
"jdk.javaws",
"jdk.plugin",
! "jdk.plugin.dom",
! "jdk.xml.bind",
! "jdk.xml.ws");
public static void main(String... args) {
Set<String> hashedModules = hashedModules();
if (hashedModules.isEmpty())
return;
--- 41,58 ----
import java.util.Set;
import java.util.stream.Collectors;
public class UpgradeableModules {
private static final List<String> UPGRADEABLE_MODULES =
! List.of("java.compiler",
"java.jnlp",
"jdk.internal.vm.compiler",
"jdk.deploy",
"jdk.javaws",
"jdk.plugin",
! "jdk.plugin.dom"
! );
public static void main(String... args) {
Set<String> hashedModules = hashedModules();
if (hashedModules.isEmpty())
return;
< prev index next >