Details
-
Bug
-
Resolution: Fixed
-
P3
-
8
-
b17
-
Not verified
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8048470 | 8u25 | Vicente Arturo Romero Zaldivar | P3 | Resolved | Fixed | b05 |
JDK-8042832 | 8u20 | Vicente Arturo Romero Zaldivar | P3 | Resolved | Fixed | b20 |
JDK-8052617 | emb-8u26 | Vicente Arturo Romero Zaldivar | P3 | Resolved | Fixed | b17 |
Description
Simple illustration:
public class Test {
public Object foo() { return null; }
}
public class TestSub extends Test {
public final String foo() { return null; }
}
Yields (javap output):
public class Test {
public Test();
public java.lang.Object foo();
}
public class TestSub extends Test {
public TestSub();
public final java.lang.String foo();
public java.lang.Object foo(); // <- not final?!
}
reported in compiler-dev: http://mail.openjdk.java.net/pipermail/compiler-dev/2014-April/008732.html
Attachments
Issue Links
- backported by
-
JDK-8042832 javac, bridge methods are not getting the flags from the original method
-
- Resolved
-
-
JDK-8048470 javac, bridge methods are not getting the flags from the original method
-
- Resolved
-
-
JDK-8052617 javac, bridge methods are not getting the flags from the original method
-
- Resolved
-
- relates to
-
JDK-8044487 Fix for 8042785 causes regression tests to fail with java.lang.VerifyError
-
- Closed
-
-
JDK-6695379 Copy method annotations and parameter annotations to synthetic bridge methods
-
- Closed
-
-
JDK-8044734 javac, bridge methods are not getting the flags from the original method, follow-up
-
- Open
-