Skip to content

Commit

Permalink
8304053: Revert os specific stubs for SystemMetrics
Browse files Browse the repository at this point in the history
Reviewed-by: sgehwolf, andrew
  • Loading branch information
Adam Farley authored and jerboaa committed Mar 15, 2023
1 parent 389c83c commit f884e01
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 94 deletions.
4 changes: 4 additions & 0 deletions jdk/make/CompileJavaClasses.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,10 @@ endif
LINUX_SRC_DIRS :=
ifeq ($(OPENJDK_TARGET_OS),linux)
LINUX_SRC_DIRS += $(JDK_TOPDIR)/src/linux/classes

# Linux is the only OS with an actual implementation of SystemMetrics.
# Exclude the generic null-returning stub from solaris/classes for that reason.
EXFILES += $(JDK_TOPDIR)/src/solaris/classes/jdk/internal/platform/SystemMetrics.java
endif

# The exception handling of swing beaninfo
Expand Down
32 changes: 0 additions & 32 deletions jdk/src/aix/classes/jdk/internal/platform/SystemMetrics.java

This file was deleted.

31 changes: 0 additions & 31 deletions jdk/src/macosx/classes/jdk/internal/platform/SystemMetrics.java

This file was deleted.

31 changes: 0 additions & 31 deletions jdk/src/unix/classes/jdk/internal/platform/SystemMetrics.java

This file was deleted.

0 comments on commit f884e01

Please sign in to comment.