1 #
   2 # Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved.
   3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4 #
   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
   7 # published by the Free Software Foundation.  Oracle designates this
   8 # particular file as subject to the "Classpath" exception as provided
   9 # by Oracle in the LICENSE file that accompanied this code.
  10 #
  11 # This code is distributed in the hope that it will be useful, but WITHOUT
  12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14 # version 2 for more details (a copy is included in the LICENSE file that
  15 # accompanied this code).
  16 #
  17 # You should have received a copy of the GNU General Public License version
  18 # 2 along with this work; if not, write to the Free Software Foundation,
  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any
  23 # questions.
  24 #
  25 
  26 # EXCLUDE_PKGS is the list of packages to exclude from the
  27 # Java API Specification.  Do not add these to CORE_PKGS.
  28 # The concatenation of EXCLUDE_PKGS and CORE_PKGS
  29 # should make up the list of all packages under the
  30 # src/shared/classes directory of the JDK source tree.
  31 #
  32 EXCLUDE_PKGS =             \
  33   java.awt.peer            \
  34   java.awt.dnd.peer        \
  35   sun.*                    \
  36   com.sun.*                \
  37   org.apache.*             \
  38   org.jcp.*                \
  39   org.w3c.dom.css          \
  40   org.w3c.dom.html         \
  41   org.w3c.dom.stylesheets  \
  42   org.w3c.dom.traversal    \
  43   org.w3c.dom.ranges       \
  44   org.w3c.dom.views        \
  45   org.omg.stub.javax.management.remote.rmi
  46 
  47 #
  48 # ACTIVE_JSR_PKGS are packages that are part of an active JSR process--
  49 # one that is doing its own review. These packages are not included when
  50 # creating diff pages for the platform's JCP process.
  51 # 
  52 #       (see /java/pubs/apisrc/jdk/6.0/beta/make/docs/active_jsr_pkgs)
  53 # Note:
  54 # This is a list of regular expressions. So foo.* matches "foo" and "foo.bar".
  55 #
  56 ACTIVE_JSR_PKGS= \
  57   java.lang.invoke \
  58   java.sql  \
  59   javax.activation  \
  60   javax.annotation.*  \
  61   javax.jws.*  \
  62   javax.lang.*  \
  63   javax.management.*  \
  64   javax.script  \
  65   javax.sql.*  \
  66   javax.tools.*  \
  67   javax.xml.*  \
  68   org.w3c.*  \
  69   org.xml.sax
  70 
  71 #
  72 # CORE_PKGS is the list of packages that form the
  73 # Java API Specification.
  74 #
  75 ### ***IMPORTANT NOTE***
  76 ### There is also a "REGEXP" variable in the docs/makefile that
  77 ### determines which table the packages go in on the main page.
  78 ### Currently, there is only table ("Platform Packages") and
  79 ### everything goes in it, so REGEXP is "*". But if that policy
  80 ### changes, packages added will need to be reflected in  that
  81 ### list of wildcard expressions, as well.
  82 ###
  83 CORE_PKGS =                                      \
  84   java.applet                                    \
  85   java.awt                                       \
  86   java.awt.color                                 \
  87   java.awt.datatransfer                          \
  88   java.awt.dnd                                   \
  89   java.awt.event                                 \
  90   java.awt.font                                  \
  91   java.awt.geom                                  \
  92   java.awt.im                                    \
  93   java.awt.im.spi                                \
  94   java.awt.image                                 \
  95   java.awt.image.renderable                      \
  96   java.awt.print                                 \
  97   java.beans                                     \
  98   java.beans.beancontext                         \
  99   java.io                                        \
 100   java.lang                                      \
 101   java.lang.annotation                           \
 102   java.lang.instrument                           \
 103   java.lang.invoke                               \
 104   java.lang.management                           \
 105   java.lang.ref                                  \
 106   java.lang.reflect                              \
 107   java.math                                      \
 108   java.net                                       \
 109   java.nio                                       \
 110   java.nio.channels                              \
 111   java.nio.channels.spi                          \
 112   java.nio.charset                               \
 113   java.nio.charset.spi                           \
 114   java.nio.file                                  \
 115   java.nio.file.attribute                        \
 116   java.nio.file.spi                              \
 117   java.rmi                                       \
 118   java.rmi.activation                            \
 119   java.rmi.dgc                                   \
 120   java.rmi.registry                              \
 121   java.rmi.server                                \
 122   java.security                                  \
 123   java.security.acl                              \
 124   java.security.cert                             \
 125   java.security.interfaces                       \
 126   java.security.spec                             \
 127   java.sql                                       \
 128   java.text                                      \
 129   java.text.spi                                  \
 130   java.util                                      \
 131   java.util.concurrent                           \
 132   java.util.concurrent.atomic                    \
 133   java.util.concurrent.locks                     \
 134   java.util.function                             \
 135   java.util.jar                                  \
 136   java.util.logging                              \
 137   java.util.prefs                                \
 138   java.util.regex                                \
 139   java.util.spi                                  \
 140   java.util.zip                                  \
 141   javax.accessibility                            \
 142   javax.activation                               \
 143   javax.activity                                 \
 144   javax.annotation                               \
 145   javax.annotation.processing                    \
 146   javax.crypto                                   \
 147   javax.crypto.interfaces                        \
 148   javax.crypto.spec                              \
 149   javax.imageio                                  \
 150   javax.imageio.event                            \
 151   javax.imageio.metadata                         \
 152   javax.imageio.plugins.jpeg                     \
 153   javax.imageio.plugins.bmp                      \
 154   javax.imageio.spi                              \
 155   javax.imageio.stream                           \
 156   javax.jws                                      \
 157   javax.jws.soap                                 \
 158   javax.lang.model                               \
 159   javax.lang.model.element                       \
 160   javax.lang.model.type                          \
 161   javax.lang.model.util                          \
 162   javax.management                               \
 163   javax.management.loading                       \
 164   javax.management.monitor                       \
 165   javax.management.relation                      \
 166   javax.management.openmbean                     \
 167   javax.management.timer                         \
 168   javax.management.modelmbean                    \
 169   javax.management.remote                        \
 170   javax.management.remote.rmi                    \
 171   javax.naming                                   \
 172   javax.naming.directory                         \
 173   javax.naming.event                             \
 174   javax.naming.ldap                              \
 175   javax.naming.spi                               \
 176   javax.net                                      \
 177   javax.net.ssl                                  \
 178   javax.print                                    \
 179   javax.print.attribute                          \
 180   javax.print.attribute.standard                 \
 181   javax.print.event                              \
 182   javax.rmi                                      \
 183   javax.rmi.CORBA                                \
 184   javax.rmi.ssl                                  \
 185   javax.script                                   \
 186   javax.security.auth                            \
 187   javax.security.auth.callback                   \
 188   javax.security.auth.kerberos                   \
 189   javax.security.auth.login                      \
 190   javax.security.auth.spi                        \
 191   javax.security.auth.x500                       \
 192   javax.security.cert                            \
 193   javax.security.sasl                            \
 194   javax.sound.sampled                            \
 195   javax.sound.sampled.spi                        \
 196   javax.sound.midi                               \
 197   javax.sound.midi.spi                           \
 198   javax.sql                                      \
 199   javax.sql.rowset                               \
 200   javax.sql.rowset.serial                        \
 201   javax.sql.rowset.spi                           \
 202   javax.swing                                    \
 203   javax.swing.border                             \
 204   javax.swing.colorchooser                       \
 205   javax.swing.filechooser                        \
 206   javax.swing.event                              \
 207   javax.swing.table                              \
 208   javax.swing.text                               \
 209   javax.swing.text.html                          \
 210   javax.swing.text.html.parser                   \
 211   javax.swing.text.rtf                           \
 212   javax.swing.tree                               \
 213   javax.swing.undo                               \
 214   javax.swing.plaf                               \
 215   javax.swing.plaf.basic                         \
 216   javax.swing.plaf.metal                         \
 217   javax.swing.plaf.multi                         \
 218   javax.swing.plaf.nimbus                        \
 219   javax.swing.plaf.synth                         \
 220   javax.tools                                    \
 221   javax.tools.annotation                         \
 222   javax.transaction                              \
 223   javax.transaction.xa                           \
 224   javax.xml.parsers                              \
 225   javax.xml.bind                                 \
 226   javax.xml.bind.annotation                      \
 227   javax.xml.bind.annotation.adapters             \
 228   javax.xml.bind.attachment                      \
 229   javax.xml.bind.helpers                         \
 230   javax.xml.bind.util                            \
 231   javax.xml.soap                                 \
 232   javax.xml.ws                                   \
 233   javax.xml.ws.handler                           \
 234   javax.xml.ws.handler.soap                      \
 235   javax.xml.ws.http                              \
 236   javax.xml.ws.soap                              \
 237   javax.xml.ws.spi                               \
 238   javax.xml.ws.spi.http                          \
 239   javax.xml.ws.wsaddressing                      \
 240   javax.xml.transform                            \
 241   javax.xml.transform.sax                        \
 242   javax.xml.transform.dom                        \
 243   javax.xml.transform.stax                       \
 244   javax.xml.transform.stream                     \
 245   javax.xml                                      \
 246   javax.xml.crypto                               \
 247   javax.xml.crypto.dom                           \
 248   javax.xml.crypto.dsig                          \
 249   javax.xml.crypto.dsig.dom                      \
 250   javax.xml.crypto.dsig.keyinfo                  \
 251   javax.xml.crypto.dsig.spec                     \
 252   javax.xml.datatype                             \
 253   javax.xml.validation                           \
 254   javax.xml.namespace                            \
 255   javax.xml.xpath                                \
 256   javax.xml.stream                               \
 257   javax.xml.stream.events                        \
 258   javax.xml.stream.util                          \
 259   org.ietf.jgss                                  \
 260   org.omg.CORBA                                  \
 261   org.omg.CORBA.DynAnyPackage                    \
 262   org.omg.CORBA.ORBPackage                       \
 263   org.omg.CORBA.TypeCodePackage                  \
 264   org.omg.stub.java.rmi                          \
 265   org.omg.CORBA.portable                         \
 266   org.omg.CORBA_2_3                              \
 267   org.omg.CORBA_2_3.portable                     \
 268   org.omg.CosNaming                              \
 269   org.omg.CosNaming.NamingContextExtPackage      \
 270   org.omg.CosNaming.NamingContextPackage         \
 271   org.omg.SendingContext                         \
 272   org.omg.PortableServer                         \
 273   org.omg.PortableServer.CurrentPackage          \
 274   org.omg.PortableServer.POAPackage              \
 275   org.omg.PortableServer.POAManagerPackage       \
 276   org.omg.PortableServer.ServantLocatorPackage   \
 277   org.omg.PortableServer.portable                \
 278   org.omg.PortableInterceptor                    \
 279   org.omg.PortableInterceptor.ORBInitInfoPackage \
 280   org.omg.Messaging                              \
 281   org.omg.IOP                                    \
 282   org.omg.IOP.CodecFactoryPackage                \
 283   org.omg.IOP.CodecPackage                       \
 284   org.omg.Dynamic                                \
 285   org.omg.DynamicAny                             \
 286   org.omg.DynamicAny.DynAnyPackage               \
 287   org.omg.DynamicAny.DynAnyFactoryPackage        \
 288   org.w3c.dom                                    \
 289   org.w3c.dom.events                             \
 290   org.w3c.dom.bootstrap                          \
 291   org.w3c.dom.ls                                 \
 292   org.xml.sax                                    \
 293   org.xml.sax.ext                                \
 294   org.xml.sax.helpers