-
Bug
-
Resolution: Won't Fix
-
P3
-
hs24, 7, 7u6, 7u40
During jdk7b63 pit we discovered the following:
Due to recent changes in javac (http://ccc.sfbay.sun.com/6827026)
-target and -source now default to 1.7 (in previous build -source defaulted to 1.5)
so the following tests which explicitly specify -target 1.5 now fail with
javac: target release 1.5 conflicts with default source release 1.7
XXX/com/sun/jdi/StepTest.java
(specified via annotation)
closed/runtime/4413696/tstc.java
(see closed/runtime/4413696/Test4413696.sh, full path: /net/sqenfs-1.sfbay/export1/comp/vm/testbase/jtreg/7/HS_REGRESSION/test/closed/runtime/4413696/Test4413696.sh
option is specified directly in the shell script.)
possible fixes may be
- omit the option at all
(since it defaults to 1.5/1.6 in jdk 6)
- change it to 1.7
- specify also -source 1.5 if 1.5 is required for this test.
To reproduce try
/net/sqenfs-1.sfbay/export1/comp/vm/jdk/hsx/16/pit/b05/jdk7b63/product/*/bin/javac -target 1.5
and
/net/sqenfs-1.sfbay/export1/comp/vm/jdk/hsx/16/pit/b04/jdk7b61/product/*/bin/javac -target 1.5
and -target 1.4
Update: prefixed StepTest.java test path with 'XXX/' since that
test is being handled by 6868533. That will keep this bug from
causing StepTest.java to appear on the fail_list.
Due to recent changes in javac (http://ccc.sfbay.sun.com/6827026)
-target and -source now default to 1.7 (in previous build -source defaulted to 1.5)
so the following tests which explicitly specify -target 1.5 now fail with
javac: target release 1.5 conflicts with default source release 1.7
XXX/com/sun/jdi/StepTest.java
(specified via annotation)
closed/runtime/4413696/tstc.java
(see closed/runtime/4413696/Test4413696.sh, full path: /net/sqenfs-1.sfbay/export1/comp/vm/testbase/jtreg/7/HS_REGRESSION/test/closed/runtime/4413696/Test4413696.sh
option is specified directly in the shell script.)
possible fixes may be
- omit the option at all
(since it defaults to 1.5/1.6 in jdk 6)
- change it to 1.7
- specify also -source 1.5 if 1.5 is required for this test.
To reproduce try
/net/sqenfs-1.sfbay/export1/comp/vm/jdk/hsx/16/pit/b05/jdk7b63/product/*/bin/javac -target 1.5
and
/net/sqenfs-1.sfbay/export1/comp/vm/jdk/hsx/16/pit/b04/jdk7b61/product/*/bin/javac -target 1.5
and -target 1.4
Update: prefixed StepTest.java test path with 'XXX/' since that
test is being handled by 6868533. That will keep this bug from
causing StepTest.java to appear on the fail_list.
- relates to
-
JDK-6868533 JDI: remove '-source 1.5' and '-target 1.5' options from com.sun.jdi tests
- Resolved