Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8323170

j2dbench is using outdated javac source/target to be able to build by itself

XMLWordPrintable

    • 2d
    • b11

        grep -ir 1.7
        grep: resources/images/photo.jpg: binary file matches
        Makefile: javac -g:none -source 1.7 -target 1.7 -d $(CLASSES) -sourcepath $(SOURCEPATH) $<
        build.xml: <javac debug="off" source="1.7" target="1.7" srcdir="${src}" destdir="${build}"/>
        README:source/target is set to 1.7 in the makefile and build.xml, because of
        README:use "-source 1.4 -target 1.4" options and jdk1.7.


        Those values have to be adjsuted to 9,otherwise build by freshly built jdk fails.

        This issue is applicable (will require backport) also to jdk17, only the value will become "8" instead of 9.

              jvanek Jiří Vaněk
              jvanek Jiří Vaněk
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: