makefiles/CompileJavaClasses.gmk

Print this page

        

@@ -65,10 +65,13 @@
                  com/sun/java/accessibility/util/java/awt/ChoiceTranslator.java
       # This seems to never be built
       EXCLUDES += com/sun/java/accessibility/extensions
    endif
 
+   ifeq ($(INCLUDE_JAVASCRIPT),no)
+      EXCLUDES += com/sun/script
+   endif
 endif
 
 ifneq ($(OPENJDK_TARGET_OS),solaris)
    # Exclude Solaris nio and two security related files in src/share/classes
    EXFILES += SolarisAclFileAttributeView.java \