diff --git a/jdk/make/modules/modules.config b/jdk/make/modules/modules.config index bcc0493a980..736363735f6 100644 --- a/jdk/make/modules/modules.config +++ b/jdk/make/modules/modules.config @@ -823,6 +823,10 @@ module jar-tool { include sun.tools.jar.**; } +module policytool { + include sun.security.tools.policytool.*; +} + module security-tools { include sun.security.tools.**; diff --git a/jdk/make/sun/security/tools/Makefile b/jdk/make/sun/security/tools/Makefile index 3380d20e6d8..2b43b98414f 100644 --- a/jdk/make/sun/security/tools/Makefile +++ b/jdk/make/sun/security/tools/Makefile @@ -1,5 +1,5 @@ # -# Copyright 1997-2005 Sun Microsystems, Inc. All Rights Reserved. +# Copyright 1997-2010 Sun Microsystems, Inc. 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 @@ -47,5 +47,5 @@ include $(BUILDDIR)/common/Classes.gmk build: $(call make-launcher, keytool, sun.security.tools.KeyTool, , ) - $(call make-launcher, policytool, sun.security.tools.PolicyTool, , ) + $(call make-launcher, policytool, sun.security.tools.policytool.PolicyTool, , ) diff --git a/jdk/src/share/classes/sun/security/tools/PolicyTool.java b/jdk/src/share/classes/sun/security/tools/policytool/PolicyTool.java similarity index 99% rename from jdk/src/share/classes/sun/security/tools/PolicyTool.java rename to jdk/src/share/classes/sun/security/tools/policytool/PolicyTool.java index ce54ba61ca9..bf9f485e331 100644 --- a/jdk/src/share/classes/sun/security/tools/PolicyTool.java +++ b/jdk/src/share/classes/sun/security/tools/policytool/PolicyTool.java @@ -1,5 +1,5 @@ /* - * Copyright 1997-2009 Sun Microsystems, Inc. All Rights Reserved. + * Copyright 1997-2010 Sun Microsystems, Inc. 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 @@ -23,7 +23,7 @@ * have any questions. */ -package sun.security.tools; +package sun.security.tools.policytool; import java.io.*; import java.util.LinkedList;