Platform method missing warning when creating HTTP request in Google AppEngine JAVA SDK1.9.50

I am making a url using the following JAVA code

URL urlObj = new URL( urlStr ); HttpURLConnection httpConn = (HttpURLConnection)urlObj.openConnection(); httpConn.setDoOutput(true); httpConn.setRequestMethod("GET"); int statusCode = httpConn.getResponseCode(); if ( statusCode != HttpURLConnection.HTTP_OK ) { logger.severe( "Error in opening url:" + urlStr ); return; } bufferReader = new BufferedReader ( new InputStreamReader( httpConn.getInputStream(), "UTF-8" ) ); String line = null; while ((line = bufferReader.readLine()) != null) { logger.info( line ); } 

It runs on Google App Engine with no problems on appengine sdk 1.9.49. But when I upgrade to 1.9.50, it returns the following warning

 [INFO] 3月 11, 2017 12:04:51 δΈ‹εˆ com.google.appengine.repackaged.com.google.protobuf.UnsafeUtil supportsUnsafeByteBufferOperations [INFO] θ­¦ε‘Š: platform method missing - proto runtime falling back to safer methods: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessClassInPackage.sun.misc") [INFO] 3月 11, 2017 12:04:51 δΈ‹εˆ com.google.appengine.repackaged.com.google.protobuf.UnsafeUtil.supportsUnsafeArrayOperations [INFO] θ­¦ε‘Š: platform method missing - proto runtime falling back to safer methods: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessClassInPackage.sun.misc") [INFO] 3月 11, 2017 12:04:51 δΈ‹εˆ com.google.appengine.repackaged.com.google.protobuf.UnsafeUtil.supportsUnsafeCopyMemory [INFO] θ­¦ε‘Š: copyMemory is missing from platform - proto runtime falling back to safer methods. 

What actions should be taken or simply ignored? thanks

+5
source share
1 answer

The current version is 1.9.52 . You should check if the problem persists in 1.9.52, and if that happens, you must send a report to the Public Issue Tracker so that we take a look at. You notice what is called regression in software, a change in functionality between version versions when something that previously worked no longer works.

+1
source

Source: https://habr.com/ru/post/1265320/


All Articles