You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

forbidden-signatures-prod.txt 1.5KB

1234567891011121314151617181920212223242526272829303132
  1. # (C) Copyright Uwe Schindler (Generics Policeman) and others.
  2. # Parts of this work are licensed to the Apache Software Foundation (ASF)
  3. # under one or more contributor license agreements.
  4. #
  5. # Licensed under the Apache License, Version 2.0 (the "License");
  6. # you may not use this file except in compliance with the License.
  7. # You may obtain a copy of the License at
  8. #
  9. # http://www.apache.org/licenses/LICENSE-2.0
  10. #
  11. # Unless required by applicable law or agreed to in writing, software
  12. # distributed under the License is distributed on an "AS IS" BASIS,
  13. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. # See the License for the specific language governing permissions and
  15. # limitations under the License.
  16. #
  17. # This file contains API signatures which are specific to POI.
  18. # The goal is to minimize implicit defaults
  19. @defaultMessage POI forbidden APIs which are not tolerated in production code
  20. # We have applications which use this to return error codes on invalid commandline parameters...
  21. #@defaultMessage Please do not terminate the application
  22. #java.lang.System#exit(int)
  23. #java.lang.Runtime#exit(int)
  24. #java.lang.Runtime#halt(int)
  25. java.lang.System#gc() @ Please do not try to stop the world
  26. java.lang.Throwable#printStackTrace() @ Please use Log4J 2.x for exceptions
  27. java.lang.Throwable#printStackTrace(java.io.PrintStream) @ Please use Log4J 2.x for exceptions
  28. java.lang.Throwable#printStackTrace(java.io.PrintWriter) @ Please use Log4J 2.x for exceptions