--- a/hotspot/src/share/vm/classfile/classFileStream.hpp Wed Jul 05 23:44:18 2017 +0200
+++ b/hotspot/src/share/vm/classfile/classFileStream.hpp Thu Jun 22 00:51:07 2017 +0200
@@ -121,17 +121,6 @@
return res;
}
- // Get direct pointer into stream at current position.
- // Returns NULL if length elements are not remaining. The caller is
- // responsible for calling skip below if buffer contents is used.
- const u1* get_u1_buffer() const {
- return _current;
- }
-
- const u2* get_u2_buffer() const {
- return (const u2*) _current;
- }
-
// Skip length u1 or u2 elements from stream
void skip_u1(int length, TRAPS) const;
void skip_u1_fast(int length) const {