-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
8
-
$ uname -a
SunOS nexus 5.10 Generic_144488-06 sun4u sparc SUNW,Sun-Fire-880
Please use attached sources to reproduce such behaviour.
$ /java/re/jdk/8/promoted/ea/b97/binaries/solaris-sparc/bin/java -jar \
/java/re/asmtools/5.0/promoted/ea/b02/binaries/asmtools-5.0/lib/asmtools.jar \
jasm resolveMethod00602m10n.jasm -d .
resolveMethod00602m10n.jasm:39: Warning: interface method must be abstract public only "private *****private *****".
private Method m:"()I"
^
1 warning
$ /java/re/jdk/8/promoted/ea/b97/binaries/solaris-sparc/bin/javac -g:none \
resolveMethod00602m1.java -d .
Note: resolveMethod00602m1.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
$ /java/re/jdk/8/promoted/ea/b97/binaries/solaris-sparc/bin/java -cp . javasoft.sqe.tests.vm.constantpool.resolveMethod.resolveMethod006.resolveMethod00602m1.resolveMethod00602m1
Failed to reject invalid class resolveMethod00602m10n
$ /java/re/jdk/8/promoted/ea/b97/binaries/solaris-sparc/bin/java -jar \
/java/re/asmtools/5.0/promoted/ea/b02/binaries/asmtools-5.0/lib/asmtools.jar \
jasm resolveMethod00602m10n.jasm -d .
resolveMethod00602m10n.jasm:39: Warning: interface method must be abstract public only "private *****private *****".
private Method m:"()I"
^
1 warning
$ /java/re/jdk/8/promoted/ea/b97/binaries/solaris-sparc/bin/javac -g:none \
resolveMethod00602m1.java -d .
Note: resolveMethod00602m1.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
$ /java/re/jdk/8/promoted/ea/b97/binaries/solaris-sparc/bin/java -cp . javasoft.sqe.tests.vm.constantpool.resolveMethod.resolveMethod006.resolveMethod00602m1.resolveMethod00602m1
Failed to reject invalid class resolveMethod00602m10n
- duplicates
-
JDK-8011311 Lambda: Support Private concrete methods in interfaces
- Closed
- relates to
-
JDK-8016764 JVM does not prohibit invokespecial in c.f.v 51.0 that invokes default interface method in c.f.v. 52.0
- Closed